OSDN Git Service

android-x86/frameworks-base.git
11 years agoMerge "Make it clear that non-optional MediaFormat keys are required" into jb-mr1...
Andreas Huber [Thu, 6 Dec 2012 16:04:25 +0000 (08:04 -0800)]
Merge "Make it clear that non-optional MediaFormat keys are required" into jb-mr1.1-dev

11 years agoMerge "Fix bug #7649607 Hebrew text is cut off in Settings" into jb-mr1.1-dev
Fabrice Di Meglio [Thu, 6 Dec 2012 01:17:14 +0000 (17:17 -0800)]
Merge "Fix bug #7649607 Hebrew text is cut off in Settings" into jb-mr1.1-dev

11 years agoMerge "Fix password field focus in keyguard" into jb-mr1.1-dev
Jim Miller [Thu, 6 Dec 2012 00:37:51 +0000 (16:37 -0800)]
Merge "Fix password field focus in keyguard" into jb-mr1.1-dev

11 years agoRevert "Saving and restoring current page when rotating in lockscreen. (Bug 7568412)"
Winson Chung [Wed, 5 Dec 2012 23:58:43 +0000 (15:58 -0800)]
Revert "Saving and restoring current page when rotating in lockscreen. (Bug 7568412)"

This reverts commit 6cbc2e81742039969e081a9eed02060fb8789e25.

11 years agoMerge "Fix bug #7663550 ActionBar menu items should probably use android:textAlignmen...
Fabrice Di Meglio [Wed, 5 Dec 2012 23:17:23 +0000 (15:17 -0800)]
Merge "Fix bug #7663550 ActionBar menu items should probably use android:textAlignment="viewStart"" into jb-mr1.1-dev

11 years agoFix password field focus in keyguard
Jim Miller [Wed, 5 Dec 2012 23:15:00 +0000 (15:15 -0800)]
Fix password field focus in keyguard

This fixes a bug introduced in Change-Id: I34b7db402401a824f463d35d7546c05dc2979243 where
the top-most view was allowed to capture focus in order to ensure the device handled volume
key events.

This resolves the issue by restoring previous behavior and ensures we still handle media keys,
regardless of focus.

Fixes bug 7676996

Change-Id: Id2d1200be81640e4b4b7b5e3a0af099d6fc2d259

11 years agoMerge "Fix baseline alignment of notification times." into jb-mr1.1-dev
Jeff Sharkey [Wed, 5 Dec 2012 22:53:59 +0000 (14:53 -0800)]
Merge "Fix baseline alignment of notification times." into jb-mr1.1-dev

11 years agoMake it clear that non-optional MediaFormat keys are required
Andreas Huber [Wed, 5 Dec 2012 19:12:26 +0000 (11:12 -0800)]
Make it clear that non-optional MediaFormat keys are required

Also mark KEY_CHANNEL_MASK optional.

Change-Id: I569087f564dc60a89b15a3440a9b1c538927f610
related-to-bug: 7623602

11 years agoMerge "DO NOT MERGE Adjust update interval when expiring location requests." into...
Victoria Lease [Wed, 5 Dec 2012 22:03:27 +0000 (14:03 -0800)]
Merge "DO NOT MERGE Adjust update interval when expiring location requests." into jb-mr1.1-dev

11 years agoam 40f7a513: docs: remove minsdkversion for clarity
Scott Main [Wed, 5 Dec 2012 20:28:48 +0000 (12:28 -0800)]
am 40f7a513: docs: remove minsdkversion for clarity

* commit '40f7a513bd12dd334e75f6aa7e2b59acdb29ba0f':
  docs: remove minsdkversion for clarity

11 years agodocs: remove minsdkversion for clarity
Scott Main [Wed, 5 Dec 2012 20:25:42 +0000 (12:25 -0800)]
docs: remove minsdkversion for clarity

Change-Id: I4ae06f447436ef8170a66a075cc08f1667387133

11 years agoMerge "Fix NPE when showing Toast from system process." into jb-mr1.1-dev
Craig Mautner [Wed, 5 Dec 2012 20:24:03 +0000 (12:24 -0800)]
Merge "Fix NPE when showing Toast from system process." into jb-mr1.1-dev

11 years agoMerge "Defer process mode upon draw" into jb-mr1.1-dev
Chris Craik [Wed, 5 Dec 2012 20:22:22 +0000 (12:22 -0800)]
Merge "Defer process mode upon draw" into jb-mr1.1-dev

11 years agoDO NOT MERGE Adjust update interval when expiring location requests.
Victoria Lease [Wed, 5 Dec 2012 17:57:40 +0000 (09:57 -0800)]
DO NOT MERGE Adjust update interval when expiring location requests.

Cherry-pick I88b419c92940b7e536d48b26e5fc0f72f3c9e73d

This is a more complete solution for this issue that disables
location providers when expiring their last request *and* adjusts
update intervals when expiring any request. This should help
further limit battery drain when a high-frequency-update app
exits, as it allows the system to throttle the update interval
back down to something appropriate for the remaining listeners.

Bug: 7611837
Change-Id: I7629a90f4c693be4bf96d662bd3a8b06dae0b089

11 years agoFix NPE when showing Toast from system process.
Craig Mautner [Wed, 5 Dec 2012 17:49:57 +0000 (09:49 -0800)]
Fix NPE when showing Toast from system process.

The system process has no ApplicationContext and consequently was
returning null. Use the base Context in these cases.

Bug 7673699 fixed.

Change-Id: Ie2ab856bb0baefff44775a12bef7802320f72656

11 years agoMerge "Make 3rd party lockscreen widgets work on secondary users" into jb-mr1.1-dev
Amith Yamasani [Wed, 5 Dec 2012 13:44:55 +0000 (05:44 -0800)]
Merge "Make 3rd party lockscreen widgets work on secondary users" into jb-mr1.1-dev

11 years agoFix bug #7663550 ActionBar menu items should probably use android:textAlignment=...
Fabrice Di Meglio [Wed, 5 Dec 2012 02:52:20 +0000 (18:52 -0800)]
Fix bug #7663550 ActionBar menu items should probably use android:textAlignment="viewStart"

- add "viewStart" for popup and list menu items

Change-Id: I3adf1a17080056e6d0e5fc8b9c9c95dcaafa90f6

11 years agoam 147b01bc: Merge "Doc change: In-app Billing -- add notes about orderId change...
Dirk Dougherty [Wed, 5 Dec 2012 02:43:25 +0000 (18:43 -0800)]
am 147b01bc: Merge "Doc change: In-app Billing -- add notes about orderId change and subscription orderIds." into jb-mr1-dev

* commit '147b01bc637ad8d184bd0aa2d6bf902e69c92107':
  Doc change: In-app Billing -- add notes about orderId change and subscription orderIds.

11 years agoMerge "Doc change: In-app Billing -- add notes about orderId change and subscription...
Dirk Dougherty [Wed, 5 Dec 2012 02:40:21 +0000 (18:40 -0800)]
Merge "Doc change: In-app Billing -- add notes about orderId change and subscription orderIds." into jb-mr1-dev

11 years agoDoc change: In-app Billing -- add notes about orderId change and subscription orderIds.
Dirk Dougherty [Wed, 5 Dec 2012 01:55:18 +0000 (17:55 -0800)]
Doc change: In-app Billing -- add notes about orderId change and subscription orderIds.

Change-Id: Iccd08387a6d28ac04c303f9da10d1d98dbf8f8b1

11 years agoam 3bb56f02: docs: add link to developer survey on main landing pages
Scott Main [Wed, 5 Dec 2012 02:31:34 +0000 (18:31 -0800)]
am 3bb56f02: docs: add link to developer survey on main landing pages

* commit '3bb56f02f89d626757b01015be6861f4c6389154':
  docs: add link to developer survey on main landing pages

11 years agodocs: add link to developer survey on main landing pages
Scott Main [Wed, 5 Dec 2012 02:23:09 +0000 (18:23 -0800)]
docs: add link to developer survey on main landing pages

Change-Id: Icf635993a6b3ff20d6e226b1e13358fd0ffcd398

11 years agoFix bug #7649607 Hebrew text is cut off in Settings
Fabrice Di Meglio [Wed, 5 Dec 2012 02:04:53 +0000 (18:04 -0800)]
Fix bug #7649607 Hebrew text is cut off in Settings

- in RTL mode and wrap content, make RelativeLayout respect the width that can be  passed to him

Change-Id: I6029135dede1ee80e41ae1bc2a337bf52cf24445

11 years agoMerge "DO NOT MERGE Protect against NPE in FusionEngine.java." into jb-mr1.1-dev
Laurent Tu [Wed, 5 Dec 2012 01:45:20 +0000 (17:45 -0800)]
Merge "DO NOT MERGE Protect against NPE in FusionEngine.java." into jb-mr1.1-dev

11 years agoam 78d17441: docs: fix broken link on maps page
Scott Main [Wed, 5 Dec 2012 01:36:00 +0000 (17:36 -0800)]
am 78d17441: docs: fix broken link on maps page

* commit '78d17441fadc38dc452871da722b1b2900de7a67':
  docs: fix broken link on maps page

11 years agodocs: fix broken link on maps page
Scott Main [Wed, 5 Dec 2012 01:32:30 +0000 (17:32 -0800)]
docs: fix broken link on maps page

Change-Id: I07e8129df1dcc61b0c2f7b81065092b06e31b8e8

11 years agoam fc677afe: Merge "docs: update webview guide with javascript interface info" into...
Scott Main [Wed, 5 Dec 2012 01:29:18 +0000 (17:29 -0800)]
am fc677afe: Merge "docs: update webview guide with javascript interface info" into jb-mr1-dev

* commit 'fc677afec5ecae1844c0f46e381b9b7967d820b4':
  docs: update webview guide with javascript interface info

11 years agoMerge "docs: update webview guide with javascript interface info" into jb-mr1-dev
Scott Main [Wed, 5 Dec 2012 01:25:49 +0000 (17:25 -0800)]
Merge "docs: update webview guide with javascript interface info" into jb-mr1-dev

11 years agoam 7550a393: docs: fix AI download links
Scott Main [Wed, 5 Dec 2012 01:23:39 +0000 (17:23 -0800)]
am 7550a393: docs: fix AI download links

* commit '7550a393e0bb7b5f75fd558c828653097723d201':
  docs: fix AI download links

11 years agoMerge "Pin electron beam surface to natural orientation." into jb-mr1.1-dev
Jeff Brown [Wed, 5 Dec 2012 01:14:59 +0000 (17:14 -0800)]
Merge "Pin electron beam surface to natural orientation." into jb-mr1.1-dev

11 years agoMerge "Fix an issue on installing 3rd-party IME by a non-primary user" into jb-mr1...
satok [Wed, 5 Dec 2012 01:09:29 +0000 (17:09 -0800)]
Merge "Fix an issue on installing 3rd-party IME by a non-primary user" into jb-mr1.1-dev

11 years agodocs: fix AI download links
Scott Main [Wed, 5 Dec 2012 00:44:27 +0000 (16:44 -0800)]
docs: fix AI download links

Change-Id: I2773f0edf1dc73bee9b8ea1ca0e09a9fd85086ef

11 years agoam 82e1d979: update building first app class with some changes to eclipse workflow...
Scott Main [Wed, 5 Dec 2012 00:42:23 +0000 (16:42 -0800)]
am 82e1d979: update building first app class with some changes to eclipse workflow and account for small differences when using an IDE other than eclipse

* commit '82e1d979ff7d6571f124b00d4354d40aa8757664':
  update building first app class with some changes to eclipse workflow and account for small differences when using an IDE other than eclipse

11 years agoFix baseline alignment of notification times.
Jeff Sharkey [Wed, 5 Dec 2012 00:40:16 +0000 (16:40 -0800)]
Fix baseline alignment of notification times.

Bug: 7668052
Change-Id: Ifc868ac5988e00c3d63aa1e1e91544d433c858a5

11 years agoupdate building first app class with some changes to eclipse workflow
Scott Main [Wed, 21 Nov 2012 22:21:12 +0000 (14:21 -0800)]
update building first app class with some changes to eclipse workflow
and account for small differences when using an IDE other than eclipse

Change-Id: I1ea8a00cd3d03623a43d6b5f75234095130c0aa3

11 years agoMake 3rd party lockscreen widgets work on secondary users
Amith Yamasani [Tue, 4 Dec 2012 19:05:39 +0000 (11:05 -0800)]
Make 3rd party lockscreen widgets work on secondary users

If you install a lockscreen widget app on a secondary user, lockscreen fails to find it.
There were several places where the correct context and userId were required under the
covers - AppWidgetHost, AppWidgetHostView and RemoteViewsAdapter.

Set the user id in the required places and use it to query the package information.

Bug: 7662835
Change-Id: Ife482c8ab2a2e601650b7cfe2660e88d3b8f2050

11 years agodocs: update webview guide with javascript interface info
Scott Main [Mon, 5 Nov 2012 19:21:38 +0000 (11:21 -0800)]
docs: update webview guide with javascript interface info

Change-Id: I328d36bf54261ac7d10121424102308159d79f6f

11 years agoDO NOT MERGE Protect against NPE in FusionEngine.java.
Laurent Tu [Tue, 4 Dec 2012 18:58:43 +0000 (10:58 -0800)]
DO NOT MERGE Protect against NPE in FusionEngine.java.

Cherry-pick of Ic49a069eef47a62fb1e0c6f284a705a62c6ae232

Bug: 7629406
Change-Id: Ia04dba9496b02755678b43e12834e992f63ee45b

11 years agoMerge "DO NOT MERGE Notify provider when disposing last UpdateRecord" into jb-mr1...
Victoria Lease [Tue, 4 Dec 2012 23:59:56 +0000 (15:59 -0800)]
Merge "DO NOT MERGE Notify provider when disposing last UpdateRecord" into jb-mr1.1-dev

11 years agoam f9861221: docs: delete gps overview page
Scott Main [Tue, 4 Dec 2012 23:46:03 +0000 (15:46 -0800)]
am f9861221: docs: delete gps overview page

* commit 'f98612213ce70fbb34062db2b5d27d9622d9d3f3':
  docs: delete gps overview page

11 years agoDefer process mode upon draw
Chris Craik [Tue, 4 Dec 2012 23:15:31 +0000 (15:15 -0800)]
Defer process mode upon draw

Process mode functor execution can be expensive, and cause dropped frames if it
runs between two expensive frames (when there isn't cpu time to spare). Avoid
this by delaying the process mode by an additional 4 ms every time we hit a draw

bug:7670326
Change-Id: I27f42458d4a815183a4b24c7748e05bc361fb943

11 years agodocs: delete gps overview page
Scott Main [Tue, 4 Dec 2012 23:43:16 +0000 (15:43 -0800)]
docs: delete gps overview page

Change-Id: Ie2dbc4755ba0b16c730ee86646babcdc8edd3dc2

11 years agoDO NOT MERGE Notify provider when disposing last UpdateRecord
Victoria Lease [Tue, 4 Dec 2012 23:04:43 +0000 (15:04 -0800)]
DO NOT MERGE Notify provider when disposing last UpdateRecord

Cherry-pick of Id48151eb7de40164258cde7da220a4d6bb34b89a

Location providers were not being notified of the change in status
when the last UpdateRecord was removed due to numUpdates exhaustion
or request expiry. Oops! Enjoy some free battery life!

Bug: 7611837
Change-Id: I66303b355be4e4a56a81efb5406c9353b2588595

11 years agoMerge "Fix for bug 7467609 Bad rendering of Telugu text" into jb-mr1.1-dev
Raph Levien [Tue, 4 Dec 2012 23:20:52 +0000 (15:20 -0800)]
Merge "Fix for bug 7467609 Bad rendering of Telugu text" into jb-mr1.1-dev

11 years agoMerge "PRIORITY_MIN notifications should be truly ambient." into jb-mr1.1-dev
Sascha Prueter [Tue, 4 Dec 2012 23:12:43 +0000 (15:12 -0800)]
Merge "PRIORITY_MIN notifications should be truly ambient." into jb-mr1.1-dev

11 years agoMerge "more app launch test tweaks" into jb-mr1.1-dev
Guang Zhu [Tue, 4 Dec 2012 22:55:35 +0000 (14:55 -0800)]
Merge "more app launch test tweaks" into jb-mr1.1-dev

11 years agoam beb08896: docs: add backup service to gp docs
Scott Main [Tue, 4 Dec 2012 22:45:25 +0000 (14:45 -0800)]
am beb08896: docs: add backup service to gp docs

* commit 'beb0889671697d5b5e5c57629bbdd7829883960a':
  docs: add backup service to gp docs

11 years agomore app launch test tweaks
Guang Zhu [Tue, 4 Dec 2012 22:40:30 +0000 (14:40 -0800)]
more app launch test tweaks

to get closer to the previous harness:
* sleep 750ms after launch then press HOME
* force close app after launch
* sleep 2s then move to next app

Change-Id: I70fefa7f3e87c637ed8b4cb2981c26d665c94319

11 years agoPin electron beam surface to natural orientation.
Jeff Brown [Tue, 4 Dec 2012 22:04:28 +0000 (14:04 -0800)]
Pin electron beam surface to natural orientation.

If a rotation occurred while the electron beam surface was showing,
the surface may have appeared in the wrong orientation.  We fix this
problem by adjusting the transformation matrix of the electron beam
surface according to the display orientation whenever a display
transaction occurs.

The rotation itself is allowed to proceed but it is not visible
to the user.  We must let this happen so that the lock screen
is correctly oriented when the screen is turned back on.

Note that the electron beam surface serves two purposes.

First, it is used to play the screen off animation.
When the animation is finished, the surface remains visible but is
solid black.  Then we turn the screen off.

Second, when we turn the screen back on we leave the electron beam
surface showing until the window manager is ready to show the
new content.  This prevents the user from seeing a flash of the
old content while the screen is being turned on.  When everything is
ready, we dismiss the electron beam.

It's important for the electron beam to remain visible for
the entire duration from just before the screen is turned off until
after the screen is turned on and is ready to be seen.  This is
why we cannot fix the bug by deferring rotation or otherwise
getting in the way of the window manager doing what it needs
to do to get the screen ready when the screen is turned on again.

Bug: 7479740
Change-Id: I2fcf35114ad9b2e00fdfc67793be6df62c8dc4c3

11 years agoMerge "Saving and restoring current page when rotating in lockscreen. (Bug 7568412...
Winson Chung [Tue, 4 Dec 2012 22:38:54 +0000 (14:38 -0800)]
Merge "Saving and restoring current page when rotating in lockscreen. (Bug 7568412)" into jb-mr1.1-dev

11 years agoFix for bug 7467609 Bad rendering of Telugu text
Raph Levien [Tue, 4 Dec 2012 22:02:43 +0000 (14:02 -0800)]
Fix for bug 7467609 Bad rendering of Telugu text

This change moves Telugu back before the fallback font. Previously it
had been moved to after it because it contained incorrect mappings of a
number of characters, including U+2212 and U+FFFD. These fonts have now
been fixed. When placed after the Droid Sans Fallback font, the glyph
count for complex script shaping exceeded the 2^16 limit, causing
incorrect rendering.

This patch depends on the fix for the Lohit-Telugu font.

Change-Id: Ib1bc665a246c4ad65a0dea1c261df5696b440344

11 years agodocs: add backup service to gp docs
Scott Main [Tue, 4 Dec 2012 04:31:35 +0000 (20:31 -0800)]
docs: add backup service to gp docs

Change-Id: Ic87f18f791b98fc3438bc79e6ae95de86f1cc8fc

11 years agoMerge "Reorder tone mark and nikhahit in DroidSansThai.ttf" into jb-mr1.1-dev
Raph Levien [Tue, 4 Dec 2012 22:11:49 +0000 (14:11 -0800)]
Merge "Reorder tone mark and nikhahit in DroidSansThai.ttf" into jb-mr1.1-dev

11 years agoPRIORITY_MIN notifications should be truly ambient.
Daniel Sandler [Tue, 4 Dec 2012 19:51:50 +0000 (14:51 -0500)]
PRIORITY_MIN notifications should be truly ambient.

If your notification is set to MIN priority, it will never
attempt to interrupt the user, either by an icon (already
implemented), or (new in this patch) by LED, vibration, or
sound.

Bug: 7648785
Change-Id: Ia0f8e010e62029d8d8ef1955dd20b7c79fb68398

11 years agoMerge "Kill dreams that do not create a timely service connection." into jb-mr1.1-dev
John Spurlock [Tue, 4 Dec 2012 21:45:10 +0000 (13:45 -0800)]
Merge "Kill dreams that do not create a timely service connection." into jb-mr1.1-dev

11 years agoMerge "Fix ring volume issue by addressing focus regression in keyguard." into jb...
Jim Miller [Tue, 4 Dec 2012 20:29:15 +0000 (12:29 -0800)]
Merge "Fix ring volume issue by addressing focus regression in keyguard." into jb-mr1.1-dev

11 years agoKill dreams that do not create a timely service connection.
John Spurlock [Mon, 3 Dec 2012 13:42:25 +0000 (08:42 -0500)]
Kill dreams that do not create a timely service connection.

Implement a timeout between when the dream binds and
when the dream creates the service connection.  If
the connection is not created within a certain amount of
time, stop the dream.

This fixes the current bug where a dream that crashes in
onCreate (or the ctor) can put the dream controller in a
bad state until the screen is turned off.

The timeout is equal to the service restart delay in
activity manager (ActiveServices) to avoid restarting
(and recrashing).

Bug:7596707
Change-Id: I3e11efc6af0b79ec4cb0fbc94e4e109c7602ddac

11 years agoMerge "Change getName and getAddress permission to BLUETOOTH" into jb-mr1.1-dev
Matthew Xie [Tue, 4 Dec 2012 19:21:28 +0000 (11:21 -0800)]
Merge "Change getName and getAddress permission to BLUETOOTH" into jb-mr1.1-dev

11 years agoMerge "Revised language for notification ringtone picker." into jb-mr1.1-dev
Daniel Sandler [Tue, 4 Dec 2012 19:00:58 +0000 (11:00 -0800)]
Merge "Revised language for notification ringtone picker." into jb-mr1.1-dev

11 years agoChange getName and getAddress permission to BLUETOOTH
Matthew Xie [Tue, 4 Dec 2012 18:47:43 +0000 (10:47 -0800)]
Change getName and getAddress permission to BLUETOOTH

The permissions were set as BLUETOOTH_ADMIN by mistake. Correct them
bug 7665249

Change-Id: Ic1bdbeb25e8f55d886f9a8d38920cbb769dd38ca

11 years agoRevised language for notification ringtone picker.
Daniel Sandler [Tue, 4 Dec 2012 14:06:21 +0000 (09:06 -0500)]
Revised language for notification ringtone picker.

Bug: 7659273
Change-Id: I5cb94a24b8ebff96ab5b567efc39a780300ee7ee

11 years agoMerge "Reduce false swipe-closed gestures in status bar panels." into jb-mr1.1-dev
Daniel Sandler [Tue, 4 Dec 2012 13:32:42 +0000 (05:32 -0800)]
Merge "Reduce false swipe-closed gestures in status bar panels." into jb-mr1.1-dev

11 years agoFix an issue on installing 3rd-party IME by a non-primary user
satok [Tue, 4 Dec 2012 11:42:56 +0000 (20:42 +0900)]
Fix an issue on installing 3rd-party IME by a non-primary user

Bug: 7573552

Currently IMMS doesn't receive install/uninstall messages. Accordingly enabled IMEs' list is not refreshed properly.

Change-Id: I25e9798a65f528dd270cd6bb1f14b1d887194787

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr1.1-dev
Baligh Uddin [Tue, 4 Dec 2012 05:09:22 +0000 (21:09 -0800)]
Merge "Import translations. DO NOT MERGE" into jb-mr1.1-dev

11 years agoam 47ae0b93: Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
Baligh Uddin [Tue, 4 Dec 2012 05:09:55 +0000 (21:09 -0800)]
am 47ae0b93: Merge "Import translations. DO NOT MERGE" into jb-mr1-dev

* commit '47ae0b93c3a3b4fcb32cd46ad3b8313959344912':
  Import translations. DO NOT MERGE

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr1-dev
Baligh Uddin [Tue, 4 Dec 2012 05:04:42 +0000 (21:04 -0800)]
Merge "Import translations. DO NOT MERGE" into jb-mr1-dev

11 years agoFix ring volume issue by addressing focus regression in keyguard.
Jim Miller [Tue, 4 Dec 2012 01:55:16 +0000 (17:55 -0800)]
Fix ring volume issue by addressing focus regression in keyguard.

This fixes a regression where ring volume can be changed in keyguard.
Because KeyguardHostView is now being re-created in onScreenTurnedOff(),
it loses focus and the volume keys get handled by the fallback handler.

The fix is to ensure at least one child under KeyguardHostView has focus
whenever we re-create it.

Fixes bug 7546960

Change-Id: I34b7db402401a824f463d35d7546c05dc2979243

11 years agoMerge "Fix issue #7649590: Background windows sometimes not being hidden for secondar...
Dianne Hackborn [Mon, 3 Dec 2012 23:51:27 +0000 (15:51 -0800)]
Merge "Fix issue #7649590: Background windows sometimes not being hidden for secondary users" into jb-mr1.1-dev

11 years agoam a06c2941: docs: revisions to GPS Setup page w/ note about emulator
Scott Main [Mon, 3 Dec 2012 23:46:26 +0000 (15:46 -0800)]
am a06c2941: docs: revisions to GPS Setup page w/ note about emulator

* commit 'a06c294152bbf2a82161ad778b991d4ffa9ac2a4':
  docs: revisions to GPS Setup page w/ note about emulator

11 years agodocs: revisions to GPS Setup page w/ note about emulator
Scott Main [Mon, 3 Dec 2012 23:09:16 +0000 (15:09 -0800)]
docs: revisions to GPS Setup page w/ note about emulator

Change-Id: I19400813a0220892654e38fa5142d9f8526a639c

11 years agoMerge "Fix remote views cache to avoid lockscreen widget crosstalk" into jb-mr1.1-dev
Amith Yamasani [Mon, 3 Dec 2012 23:09:03 +0000 (15:09 -0800)]
Merge "Fix remote views cache to avoid lockscreen widget crosstalk" into jb-mr1.1-dev

11 years agoFix issue #7649590: Background windows sometimes not being hidden for secondary users
Dianne Hackborn [Mon, 3 Dec 2012 22:09:06 +0000 (14:09 -0800)]
Fix issue #7649590: Background windows sometimes not being hidden for secondary users

There are two things going on here:

(1) In secondary users, some times theme information such as whether
the window is full screen opaque was not being retrieved, so the window
manager didn't know that it could hide the windows behind the app.
This would just be a performance problem, except that:

(2) There appear to be a number of applications that declare that they
are full screen opaque, when in fact they are not.  Instead they are
using window surfaces with an alpha channel, and setting some pixels
in their window to a non-opaque alpha level.  This will allow you to
see whatever is behind the app.  If the system happens to completely
remove the windows behind the app, and somebody is filling the frame
buffer with black, then you will see what the app intends -- those
parts of its UI blended with black.  If one of those cases doesn't
hold (and though we have never guaranteed they would, in practice this
is generally what happens), then you will see something else.

At any rate, if nothing else than for performance reasons, we need to
fix issue #1.

It turns out what is happening here is that the AttributeCache used
by the activity manager and window manager to retreive theme and other
information about applications has not yet been updated for multi-user.

One of the things we retrieve from this is the theme information telling
the window manager whether an application's window should be treated
as full screen opaque, allowing it to hide any windows behind it.  In
the current implementation, the AttributeCache always retrieves this
information about the application as the primary user (user 0).

So, if you have an application that is installed on a secondary user but
not installed on the primary user, when the AttributeCache tries to retrieve
the requested information for it, then from the perspective of the primary user
it considers the application not installed, and is not able to retrieve that
info.

The change here makes AttributeCache multi-user aware, keeping all of its
data separately per-user, and requiring that callers now provide the user
they want to retrieve information for.  Activity manager and window manager
are updated to be able to pass in the user when needed.  This required some
fiddling of the window manager to have that information available -- in
particular it needs to be associated with the AppWindowToken.

Change-Id: I4b50b4b3a41bab9d4689e61f3584778e451343c8

11 years agoFix remote views cache to avoid lockscreen widget crosstalk
Amith Yamasani [Mon, 3 Dec 2012 21:33:10 +0000 (13:33 -0800)]
Fix remote views cache to avoid lockscreen widget crosstalk

Bug: 7660973

RemoteViewsAdapter will now store the userId as part of the cache key
when caching remote views to optimize for orientation changes.

Change-Id: I7c4e52b3995d4f56ebfa35aa9516327e182ad892

11 years agoam 2db56dda: Merge "docs: udpate for google service landing page and capitalize GPS...
Scott Main [Mon, 3 Dec 2012 21:04:53 +0000 (13:04 -0800)]
am 2db56dda: Merge "docs: udpate for google service landing page and capitalize GPS in titles" into jb-mr1-dev

* commit '2db56ddaee71f33f65fe246309531a66bf1d4374':
  docs: udpate for google service landing page and capitalize GPS in titles

11 years agoam e38980a7: Merge "docs: update dashboard for 12/1, plus misc fixes" into jb-mr1-dev
Scott Main [Mon, 3 Dec 2012 21:02:07 +0000 (13:02 -0800)]
am e38980a7: Merge "docs: update dashboard for 12/1, plus misc fixes" into jb-mr1-dev

* commit 'e38980a767ae8e13214f8ed00629ebb454157d46':
  docs: update dashboard for 12/1, plus misc fixes

11 years agoMerge "docs: udpate for google service landing page and capitalize GPS in titles...
Scott Main [Mon, 3 Dec 2012 21:01:19 +0000 (13:01 -0800)]
Merge "docs: udpate for google service landing page and capitalize GPS in titles" into jb-mr1-dev

11 years agodocs: udpate for google service landing page and capitalize GPS in titles
Scott Main [Mon, 3 Dec 2012 21:00:09 +0000 (13:00 -0800)]
docs: udpate for google service landing page and capitalize GPS in titles

Change-Id: I8cff9c5bc6eee7a60bc5db88763ad57eb63c7e7d

11 years agoam 555c93b2: docs: refresh gms and gcm javadocs
Robert Ly [Mon, 3 Dec 2012 20:59:27 +0000 (12:59 -0800)]
am 555c93b2: docs: refresh gms and gcm javadocs

* commit '555c93b2a726d53c70e99835d74d9246dff2206d':
  docs: refresh gms and gcm javadocs

11 years agoMerge "docs: update dashboard for 12/1, plus misc fixes" into jb-mr1-dev
Scott Main [Mon, 3 Dec 2012 20:58:48 +0000 (12:58 -0800)]
Merge "docs: update dashboard for 12/1, plus misc fixes" into jb-mr1-dev

11 years agodocs: refresh gms and gcm javadocs
Robert Ly [Mon, 3 Dec 2012 20:24:07 +0000 (12:24 -0800)]
docs: refresh gms and gcm javadocs

Change-Id: I5532eb9f87e2ab87488884e70102e8b4cbadf255

11 years agoMerge "BT is still on after enable flight mode, and reboot the DUT" into jb-mr1.1-dev
Zhihai Xu [Mon, 3 Dec 2012 19:47:33 +0000 (11:47 -0800)]
Merge "BT is still on after enable flight mode, and reboot the DUT" into jb-mr1.1-dev

11 years agoBT is still on after enable flight mode, and reboot the DUT
Zhihai Xu [Mon, 3 Dec 2012 19:36:21 +0000 (11:36 -0800)]
BT is still on after enable flight mode, and reboot the DUT

bug 7275625
Change-Id: I4f8952a06152eb5f5775c1f616f6383e4f20e352

11 years agoMerge "Avoid null mobile interfaces." into jb-mr1.1-dev
Jeff Sharkey [Mon, 3 Dec 2012 19:32:51 +0000 (11:32 -0800)]
Merge "Avoid null mobile interfaces." into jb-mr1.1-dev

11 years agodocs: update dashboard for 12/1, plus misc fixes
Scott Main [Mon, 3 Dec 2012 17:19:10 +0000 (09:19 -0800)]
docs: update dashboard for 12/1, plus misc fixes

Change-Id: I7f06b6c66476aee2bd69b8017b5707c483b252b7

11 years agoMerge "Clean up debug messages" into jb-mr1.1-dev
Matthew Xie [Mon, 3 Dec 2012 19:23:49 +0000 (11:23 -0800)]
Merge "Clean up debug messages" into jb-mr1.1-dev

11 years agoMerge "app launch test fixes and improvements" into jb-mr1.1-dev
Guang Zhu [Mon, 3 Dec 2012 19:17:25 +0000 (11:17 -0800)]
Merge "app launch test fixes and improvements" into jb-mr1.1-dev

11 years agoMerge "Show alarm tile for the current user." into jb-mr1.1-dev
Daniel Sandler [Mon, 3 Dec 2012 18:21:15 +0000 (10:21 -0800)]
Merge "Show alarm tile for the current user." into jb-mr1.1-dev

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 3 Dec 2012 18:17:30 +0000 (10:17 -0800)]
Import translations. DO NOT MERGE

Change-Id: I24d5d4cd1f633d3a1a981991f28c83e1bf44d5e7
Auto-generated-cl: translation import

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 3 Dec 2012 18:15:19 +0000 (10:15 -0800)]
Import translations. DO NOT MERGE

Change-Id: I3ebc7310e109d45facea00213daacf9d10e22285
Auto-generated-cl: translation import

11 years agoShow alarm tile for the current user.
Daniel Sandler [Mon, 3 Dec 2012 17:33:41 +0000 (12:33 -0500)]
Show alarm tile for the current user.

We were already refreshing the tile on user switch, but we
were only pulling the information (and observing changes)
for the owner.

Bug: 7596329
Change-Id: I33959af405bc79037b5b1321631d993bea65772f

11 years agoMerge "Change the text color of timer in MediaController" into jb-mr1.1-dev
Marco Nelissen [Mon, 3 Dec 2012 16:19:50 +0000 (08:19 -0800)]
Merge "Change the text color of timer in MediaController" into jb-mr1.1-dev

11 years agoMerge "Fix rounding error when drawing panel handles." into jb-mr1.1-dev
Daniel Sandler [Mon, 3 Dec 2012 15:00:58 +0000 (07:00 -0800)]
Merge "Fix rounding error when drawing panel handles." into jb-mr1.1-dev

11 years agoam fbcb624b: Merge "docs: update reference links and misc revisions" into jb-mr1-dev
Scott Main [Mon, 3 Dec 2012 08:25:11 +0000 (00:25 -0800)]
am fbcb624b: Merge "docs: update reference links and misc revisions" into jb-mr1-dev

* commit 'fbcb624be82e184482b547b09765a03db2305039':
  docs: update reference links and misc revisions

11 years agoMerge "docs: update reference links and misc revisions" into jb-mr1-dev
Scott Main [Mon, 3 Dec 2012 08:22:23 +0000 (00:22 -0800)]
Merge "docs: update reference links and misc revisions" into jb-mr1-dev

11 years agoam b00e37de: docs: update location/maps doc with info for maps api
Scott Main [Mon, 3 Dec 2012 08:14:11 +0000 (00:14 -0800)]
am b00e37de: docs: update location/maps doc with info for maps api

* commit 'b00e37de181dc2f816962bc9301f64dd2a773c2a':
  docs: update location/maps doc with info for maps api

11 years agodocs: update location/maps doc with info for maps api
Scott Main [Mon, 3 Dec 2012 03:00:48 +0000 (19:00 -0800)]
docs: update location/maps doc with info for maps api

Change-Id: I793f47791883efe88ff0d6c8effe0787d9654a88

11 years agoam d81751fa: Merge "docs: add javadocs for gcm" into jb-mr1-dev
Robert Ly [Mon, 3 Dec 2012 02:22:24 +0000 (18:22 -0800)]
am d81751fa: Merge "docs: add javadocs for gcm" into jb-mr1-dev

* commit 'd81751facb585e678ae0a85fc8a0d144d615e7e6':
  docs: add javadocs for gcm

11 years agoMerge "docs: add javadocs for gcm" into jb-mr1-dev
Robert Ly [Mon, 3 Dec 2012 02:20:15 +0000 (18:20 -0800)]
Merge "docs: add javadocs for gcm" into jb-mr1-dev

11 years agoam 1a9e7a61: docs: add sdk manager launch info for eclipse
Scott Main [Mon, 3 Dec 2012 02:06:24 +0000 (18:06 -0800)]
am 1a9e7a61: docs: add sdk manager launch info for eclipse

* commit '1a9e7a61e4cab8a857e1184c6205c8866ccab367':
  docs: add sdk manager launch info for eclipse

11 years agodocs: add sdk manager launch info for eclipse
Scott Main [Mon, 3 Dec 2012 02:01:07 +0000 (18:01 -0800)]
docs: add sdk manager launch info for eclipse

Change-Id: I91f23456fd57afa3cf55cba6ed63d746fb94f2fd