OSDN Git Service

android-x86/frameworks-base.git
11 years agoOO NOT MERGE allow connected location providers location access
Victoria Lease [Tue, 7 May 2013 21:22:02 +0000 (14:22 -0700)]
OO NOT MERGE allow connected location providers location access

Cherry-pick of I0c383eb82ed041e57a7d32321df2d67b462d4e21 from master

Oops, it seems the fused location provider was being denied access
to locations when any user other than the primary device owner is
logged in. This was breaking the fused location provider entirely
for all secondary users of a given device.

Bug: 8766225
Change-Id: Ic0db5f2094828c897a405abb0dca6ac39a2ca526

11 years agoMerge "Don't back up the scan-always setting." into jb-mr2-dev
Robert Greenwalt [Tue, 7 May 2013 20:45:03 +0000 (20:45 +0000)]
Merge "Don't back up the scan-always setting." into jb-mr2-dev

11 years agoDon't back up the scan-always setting.
Robert Greenwalt [Tue, 7 May 2013 19:33:15 +0000 (12:33 -0700)]
Don't back up the scan-always setting.

We ask the user during device setup to configure this setting -
if we then restore from backup we clobber what they just selected.

Instead, just let them chose during setup and don't back it up.

bug:8825150
Change-Id: I3f2b2291c86a4008bb8ea2468164d9c6c673cbb0

11 years agoMerge "Don't limit the overscan frame to the window frame." into jb-mr2-dev
Craig Mautner [Tue, 7 May 2013 19:24:56 +0000 (19:24 +0000)]
Merge "Don't limit the overscan frame to the window frame." into jb-mr2-dev

11 years agoMerge "Fixed unreleased wake lock isues and NPE." into jb-mr2-dev
Zhentao Sun [Tue, 7 May 2013 18:43:24 +0000 (18:43 +0000)]
Merge "Fixed unreleased wake lock isues and NPE." into jb-mr2-dev

11 years agoDon't limit the overscan frame to the window frame.
Craig Mautner [Tue, 7 May 2013 18:41:27 +0000 (11:41 -0700)]
Don't limit the overscan frame to the window frame.

Fixes bug 8829372.

Change-Id: I803ae60fcc38649c0a7a9cb39429333755e47e2b

11 years agoam 9207be90: am b80b4bfd: am 3c8ecd30: am b2606b3f: am c98612a9: some more search...
Scott Main [Tue, 7 May 2013 17:23:17 +0000 (10:23 -0700)]
am 9207be90: am b80b4bfd: am 3c8ecd30: am b2606b3f: am c98612a9: some more search tags

* commit '9207be9078a59ecd93073e6892c5c75b47b342d6':
  some more search tags

11 years agoam b80b4bfd: am 3c8ecd30: am b2606b3f: am c98612a9: some more search tags
Scott Main [Tue, 7 May 2013 17:20:58 +0000 (10:20 -0700)]
am b80b4bfd: am 3c8ecd30: am b2606b3f: am c98612a9: some more search tags

* commit 'b80b4bfdae8d9eb7e8ad6c7a44f92d9fd2b9e6d9':
  some more search tags

11 years agoam 3c8ecd30: am b2606b3f: am c98612a9: some more search tags
Scott Main [Tue, 7 May 2013 17:19:04 +0000 (10:19 -0700)]
am 3c8ecd30: am b2606b3f: am c98612a9: some more search tags

* commit '3c8ecd30b41511b84c13c341e2b471a81e19e875':
  some more search tags

11 years agoam b2606b3f: am c98612a9: some more search tags
Scott Main [Tue, 7 May 2013 17:16:40 +0000 (10:16 -0700)]
am b2606b3f: am c98612a9: some more search tags

* commit 'b2606b3fe8906fb14db07b5dc099ff0b52db4c29':
  some more search tags

11 years agoam c98612a9: some more search tags
Scott Main [Tue, 7 May 2013 17:15:11 +0000 (10:15 -0700)]
am c98612a9: some more search tags

* commit 'c98612a9b2293f8ae29389dd484d7b384c7d37ad':
  some more search tags

11 years agosome more search tags
Scott Main [Wed, 24 Apr 2013 18:43:41 +0000 (11:43 -0700)]
some more search tags

Change-Id: Id48d3214619e5d860e39e8f1d9d814e17956feb1

11 years agoMerge "Optimize list view scrolls Bug #8108706" into jb-mr2-dev
Romain Guy [Tue, 7 May 2013 02:05:37 +0000 (02:05 +0000)]
Merge "Optimize list view scrolls Bug #8108706" into jb-mr2-dev

11 years agoam 67430e8e: am 2e52e815: am 6b6fd9d1: am 36aa2759: am b582c678: Doc change: delete...
Dirk Dougherty [Tue, 7 May 2013 01:49:14 +0000 (18:49 -0700)]
am 67430e8e: am 2e52e815: am 6b6fd9d1: am 36aa2759: am b582c678: Doc change: delete legacy intl dir and update toc\'s for devsite-compatible lang strings.

* commit '67430e8ec735c83f1f3304da7037e518aef6128a':
  Doc change: delete legacy intl dir and update toc's for devsite-compatible lang strings.

11 years agoam 2e52e815: am 6b6fd9d1: am 36aa2759: am b582c678: Doc change: delete legacy intl...
Dirk Dougherty [Tue, 7 May 2013 01:47:29 +0000 (18:47 -0700)]
am 2e52e815: am 6b6fd9d1: am 36aa2759: am b582c678: Doc change: delete legacy intl dir and update toc\'s for devsite-compatible lang strings.

* commit '2e52e815b009fcabb407b9bd0363e0eced6c0229':
  Doc change: delete legacy intl dir and update toc's for devsite-compatible lang strings.

11 years agoam 6b6fd9d1: am 36aa2759: am b582c678: Doc change: delete legacy intl dir and update...
Dirk Dougherty [Tue, 7 May 2013 01:44:53 +0000 (18:44 -0700)]
am 6b6fd9d1: am 36aa2759: am b582c678: Doc change: delete legacy intl dir and update toc\'s for devsite-compatible lang strings.

* commit '6b6fd9d1f0c829b1bd23c776b98f564848731ea2':
  Doc change: delete legacy intl dir and update toc's for devsite-compatible lang strings.

11 years agoam 36aa2759: am b582c678: Doc change: delete legacy intl dir and update toc\'s for...
Dirk Dougherty [Tue, 7 May 2013 01:43:20 +0000 (18:43 -0700)]
am 36aa2759: am b582c678: Doc change: delete legacy intl dir and update toc\'s for devsite-compatible lang strings.

* commit '36aa2759998cbfff7e5baff8b422cbeebd95d5db':
  Doc change: delete legacy intl dir and update toc's for devsite-compatible lang strings.

11 years agoOptimize list view scrolls
Romain Guy [Tue, 7 May 2013 01:42:08 +0000 (18:42 -0700)]
Optimize list view scrolls
Bug #8108706

Change-Id: I8679b584132e82b7bb3301a38800de4ddfc57be6

11 years agoam b582c678: Doc change: delete legacy intl dir and update toc\'s for devsite-compati...
Dirk Dougherty [Tue, 7 May 2013 01:41:31 +0000 (18:41 -0700)]
am b582c678: Doc change: delete legacy intl dir and update toc\'s for devsite-compatible lang strings.

* commit 'b582c678c88df2848023b7f27f4bc0ab2249e1e1':
  Doc change: delete legacy intl dir and update toc's for devsite-compatible lang strings.

11 years agoDoc change: delete legacy intl dir and update toc's for devsite-compatible lang strings.
Dirk Dougherty [Sat, 4 May 2013 17:54:52 +0000 (10:54 -0700)]
Doc change: delete legacy intl dir and update toc's for devsite-compatible lang strings.

Change-Id: Ie390d2bbd8abc0d063c1f313797e8c3d21d27490

11 years agoam 12829256: am 13ae720b: am e7ae74f1: am 5bde4bc5: am 1cd65b30: delete a few unused...
Scott Main [Tue, 7 May 2013 00:33:52 +0000 (17:33 -0700)]
am 12829256: am 13ae720b: am e7ae74f1: am 5bde4bc5: am 1cd65b30: delete a few unused/obsolete files and add redirects

* commit '1282925654f82e6df7a1fb0503de36ee951c126d':
  delete a few unused/obsolete files and add redirects

11 years agoam 13ae720b: am e7ae74f1: am 5bde4bc5: am 1cd65b30: delete a few unused/obsolete...
Scott Main [Tue, 7 May 2013 00:27:26 +0000 (17:27 -0700)]
am 13ae720b: am e7ae74f1: am 5bde4bc5: am 1cd65b30: delete a few unused/obsolete files and add redirects

* commit '13ae720b46ef657ec866fd4e82c5550a02427ee3':
  delete a few unused/obsolete files and add redirects

11 years agoam e7ae74f1: am 5bde4bc5: am 1cd65b30: delete a few unused/obsolete files and add...
Scott Main [Tue, 7 May 2013 00:20:59 +0000 (17:20 -0700)]
am e7ae74f1: am 5bde4bc5: am 1cd65b30: delete a few unused/obsolete files and add redirects

* commit 'e7ae74f1b890035ad1a8efdb9292f1dcd83aa3e2':
  delete a few unused/obsolete files and add redirects

11 years agoam 5bde4bc5: am 1cd65b30: delete a few unused/obsolete files and add redirects
Scott Main [Tue, 7 May 2013 00:18:57 +0000 (17:18 -0700)]
am 5bde4bc5: am 1cd65b30: delete a few unused/obsolete files and add redirects

* commit '5bde4bc5c7ea442a5940658d17a03f1a5010450c':
  delete a few unused/obsolete files and add redirects

11 years agoam 1cd65b30: delete a few unused/obsolete files and add redirects
Scott Main [Tue, 7 May 2013 00:16:26 +0000 (17:16 -0700)]
am 1cd65b30: delete a few unused/obsolete files and add redirects

* commit '1cd65b30904b07ae4226a6e438647ee3b63d7950':
  delete a few unused/obsolete files and add redirects

11 years agoMerge "add notice to not use 0 in startForeground(). also delete some obsolete back...
Scott Main [Mon, 6 May 2013 23:56:40 +0000 (23:56 +0000)]
Merge "add notice to not use 0 in startForeground(). also delete some obsolete back-compat tips for <=donut bug: 8746126" into jb-mr2-dev

11 years agodelete a few unused/obsolete files and add redirects
Scott Main [Mon, 6 May 2013 23:51:39 +0000 (16:51 -0700)]
delete a few unused/obsolete files and add redirects

Change-Id: Icbcb0f042ac5f05d17d42be4c5c122316e93b866

11 years agoMerge "Register EGLExt JNI methods" into jb-mr2-dev
Jesse Hall [Mon, 6 May 2013 23:46:59 +0000 (23:46 +0000)]
Merge "Register EGLExt JNI methods" into jb-mr2-dev

11 years agoMerge "Help for the debugging help for issue #8734824." into jb-mr2-dev
Dianne Hackborn [Mon, 6 May 2013 23:46:57 +0000 (23:46 +0000)]
Merge "Help for the debugging help for issue #8734824." into jb-mr2-dev

11 years agoHelp for the debugging help for issue #8734824.
Dianne Hackborn [Mon, 6 May 2013 23:07:26 +0000 (16:07 -0700)]
Help for the debugging help for issue #8734824.

Add a new "hang" am command that lets you hang the system
process.  Useful for testing.

Change-Id: Ice0fc52b49d80e5189f016108b03f9fd549b58a7

11 years agoam 2ad68f7d: am 04d61410: am dfb33b86: am fcfc99c0: am f7918b4a: am d3a57029: am...
Christopher Tate [Mon, 6 May 2013 22:19:41 +0000 (15:19 -0700)]
am 2ad68f7d: am 04d61410: am dfb33b86: am fcfc99c0: am f7918b4a: am d3a57029: am 1b0c9c95: am 81c1d8d3: Ensure install-during-restore is like install-then-restore

* commit '2ad68f7d261a1dbc749f6e322b1e84a1288087bd':
  Ensure install-during-restore is like install-then-restore

11 years agoam 04d61410: am dfb33b86: am fcfc99c0: am f7918b4a: am d3a57029: am 1b0c9c95: am...
Christopher Tate [Mon, 6 May 2013 22:17:36 +0000 (15:17 -0700)]
am 04d61410: am dfb33b86: am fcfc99c0: am f7918b4a: am d3a57029: am 1b0c9c95: am 81c1d8d3: Ensure install-during-restore is like install-then-restore

* commit '04d6141033c66a1777ba0c66d67a7540e4c3e89c':
  Ensure install-during-restore is like install-then-restore

11 years agoam dfb33b86: am fcfc99c0: am f7918b4a: am d3a57029: am 1b0c9c95: am 81c1d8d3: Ensure...
Christopher Tate [Mon, 6 May 2013 22:16:03 +0000 (15:16 -0700)]
am dfb33b86: am fcfc99c0: am f7918b4a: am d3a57029: am 1b0c9c95: am 81c1d8d3: Ensure install-during-restore is like install-then-restore

* commit 'dfb33b860f0c936d8af6555835da0ef1aea6c870':
  Ensure install-during-restore is like install-then-restore

11 years agoam fcfc99c0: am f7918b4a: am d3a57029: am 1b0c9c95: am 81c1d8d3: Ensure install-durin...
Christopher Tate [Mon, 6 May 2013 22:14:27 +0000 (15:14 -0700)]
am fcfc99c0: am f7918b4a: am d3a57029: am 1b0c9c95: am 81c1d8d3: Ensure install-during-restore is like install-then-restore

* commit 'fcfc99c064f0b91fa419784bd90bb9944b9ab9f4':
  Ensure install-during-restore is like install-then-restore

11 years agoam f7918b4a: am d3a57029: am 1b0c9c95: am 81c1d8d3: Ensure install-during-restore...
Christopher Tate [Mon, 6 May 2013 22:12:07 +0000 (15:12 -0700)]
am f7918b4a: am d3a57029: am 1b0c9c95: am 81c1d8d3: Ensure install-during-restore is like install-then-restore

* commit 'f7918b4a1e06350ba4d69fe47327db830cd4e8ba':
  Ensure install-during-restore is like install-then-restore

11 years agoam d3a57029: am 1b0c9c95: am 81c1d8d3: Ensure install-during-restore is like install...
Christopher Tate [Mon, 6 May 2013 22:00:53 +0000 (15:00 -0700)]
am d3a57029: am 1b0c9c95: am 81c1d8d3: Ensure install-during-restore is like install-then-restore

* commit 'd3a57029e80073aa3c7dfe1dbc8945d32968f6ae':
  Ensure install-during-restore is like install-then-restore

11 years agoam 1b0c9c95: am 81c1d8d3: Ensure install-during-restore is like install-then-restore
Christopher Tate [Mon, 6 May 2013 21:59:40 +0000 (14:59 -0700)]
am 1b0c9c95: am 81c1d8d3: Ensure install-during-restore is like install-then-restore

* commit '1b0c9c95dc72ebeb8af73bc3ff44c313ebd788f4':
  Ensure install-during-restore is like install-then-restore

11 years agoam 81c1d8d3: Ensure install-during-restore is like install-then-restore
Christopher Tate [Mon, 6 May 2013 21:53:10 +0000 (14:53 -0700)]
am 81c1d8d3: Ensure install-during-restore is like install-then-restore

* commit '81c1d8d3a5aef6a423f0bb02de1b362b2f2d12df':
  Ensure install-during-restore is like install-then-restore

11 years agoEnsure install-during-restore is like install-then-restore
Christopher Tate [Mon, 6 May 2013 20:07:05 +0000 (13:07 -0700)]
Ensure install-during-restore is like install-then-restore

When we've installed an apk from the archive, recheck whether
to apply the system-uid policy restrictions around file system
restores.

Bug 8833099

(cherry picked from commit 2baf6dcfcf7fc1705db25e64dc0cb11fa3509d39)

Change-Id: I972fe1543f2234aa76baf562d6f806175ac0248e

11 years agoMerge "Ensure install-during-restore is like install-then-restore" into jb-mr2-dev
Christopher Tate [Mon, 6 May 2013 21:12:40 +0000 (21:12 +0000)]
Merge "Ensure install-during-restore is like install-then-restore" into jb-mr2-dev

11 years agoEnsure install-during-restore is like install-then-restore
Christopher Tate [Mon, 6 May 2013 20:07:05 +0000 (13:07 -0700)]
Ensure install-during-restore is like install-then-restore

When we've installed an apk from the archive, recheck whether
to apply the system-uid policy restrictions around file system
restores.

Bug 8833099

Change-Id: Ifa1b5877673a0d6ca6acf94e60f314fd0dda008c

11 years agoRegister EGLExt JNI methods
Jesse Hall [Mon, 6 May 2013 18:36:57 +0000 (11:36 -0700)]
Register EGLExt JNI methods

Bug: 8678160
Change-Id: I8ecd2e6da2aee250b3433be18fff6af927b02994

11 years agoFixed unreleased wake lock isues and NPE.
Zhentao Sun [Mon, 6 May 2013 18:22:44 +0000 (11:22 -0700)]
Fixed unreleased wake lock isues and NPE.

Fixed b/8834502. Wake lock might not be released when the callback is null.
NPE is thrown when the callback is null in some cases too.

Change-Id: I27d3af810669e446cfb57aba8715c80cba3e15e7

11 years agoDebugging help for issue #8734824: WATCHDOG KILLING SYSTEM PROCESS
Dianne Hackborn [Fri, 3 May 2013 23:25:11 +0000 (16:25 -0700)]
Debugging help for issue #8734824: WATCHDOG KILLING SYSTEM PROCESS

IActivityController has a new callback which the Watchdog calls
when it detects that the system process is hung.  This may be
use full monkey.  All hail the monkey!

Also add a new private feature to Binder to be able to turn off
all incoming dump() calls to a process.  The watchdog uses this
when it reports it is hung, so that if someone, say, wants to
collect a bug report at this point they won't get stuck waiting
for things that are all busted.

Change-Id: Ib514d97451cf3b93f29e194c1954e29f948c13b1

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr2-dev
Baligh Uddin [Mon, 6 May 2013 18:07:30 +0000 (18:07 +0000)]
Merge "Import translations. DO NOT MERGE" into jb-mr2-dev

11 years agoMerge "Fix sync problem in NsdManager" into jb-mr2-dev
Robert Greenwalt [Mon, 6 May 2013 16:37:44 +0000 (16:37 +0000)]
Merge "Fix sync problem in NsdManager" into jb-mr2-dev

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 6 May 2013 16:35:57 +0000 (09:35 -0700)]
Import translations. DO NOT MERGE

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

11 years agoMerge "Fix bug where thumbnails in Recents disappear" into jb-mr2-dev
Michael Jurka [Mon, 6 May 2013 11:42:22 +0000 (11:42 +0000)]
Merge "Fix bug where thumbnails in Recents disappear" into jb-mr2-dev

11 years agoTemporarily revert field name change (DO NOT MERGE)
Dave Burke [Mon, 6 May 2013 02:46:33 +0000 (19:46 -0700)]
Temporarily revert field name change (DO NOT MERGE)

VisualOn is using hidden fields, causing HBO and Xfinity to crash.
Bug: 8549617
Bug: 8331866

Change-Id: I35a9fe66dea8d56f4fcff9b492679226a17f4acc

11 years agoam 20860a3f: am 79ebe80a: am e34ecc9a: am 3dbb173e: am c3a7ea42: Doc change: Update...
Dirk Dougherty [Sat, 4 May 2013 19:01:07 +0000 (12:01 -0700)]
am 20860a3f: am 79ebe80a: am e34ecc9a: am 3dbb173e: am c3a7ea42: Doc change: Update landing pages for Google Play Services.

* commit '20860a3f8b6a37719fc59fce1b1267b92efef5a3':
  Doc change: Update landing pages for Google Play Services.

11 years agoam 79ebe80a: am e34ecc9a: am 3dbb173e: am c3a7ea42: Doc change: Update landing pages...
Dirk Dougherty [Sat, 4 May 2013 18:58:43 +0000 (11:58 -0700)]
am 79ebe80a: am e34ecc9a: am 3dbb173e: am c3a7ea42: Doc change: Update landing pages for Google Play Services.

* commit '79ebe80a85ce97e3278f51e11086a2b89e09f86d':
  Doc change: Update landing pages for Google Play Services.

11 years agoMerge "Add android.opengl.EGLExt class for EGL extensions" into jb-mr2-dev
Jesse Hall [Sat, 4 May 2013 17:50:48 +0000 (17:50 +0000)]
Merge "Add android.opengl.EGLExt class for EGL extensions" into jb-mr2-dev

11 years agoam e34ecc9a: am 3dbb173e: am c3a7ea42: Doc change: Update landing pages for Google...
Dirk Dougherty [Sat, 4 May 2013 17:32:46 +0000 (10:32 -0700)]
am e34ecc9a: am 3dbb173e: am c3a7ea42: Doc change: Update landing pages for Google Play Services.

* commit 'e34ecc9a06f4a626cc78c648e621c4b7bb4a1242':
  Doc change: Update landing pages for Google Play Services.

11 years agoam 3dbb173e: am c3a7ea42: Doc change: Update landing pages for Google Play Services.
Dirk Dougherty [Sat, 4 May 2013 17:30:55 +0000 (10:30 -0700)]
am 3dbb173e: am c3a7ea42: Doc change: Update landing pages for Google Play Services.

* commit '3dbb173e8d9ae7893a10a76b1b7fed66f1adb25b':
  Doc change: Update landing pages for Google Play Services.

11 years agoam c3a7ea42: Doc change: Update landing pages for Google Play Services.
Dirk Dougherty [Sat, 4 May 2013 17:29:01 +0000 (10:29 -0700)]
am c3a7ea42: Doc change: Update landing pages for Google Play Services.

* commit 'c3a7ea424d96aac02762ab6819429e3fa52d9a25':
  Doc change: Update landing pages for Google Play Services.

11 years agoDoc change: Update landing pages for Google Play Services.
Dirk Dougherty [Fri, 3 May 2013 20:11:51 +0000 (13:11 -0700)]
Doc change: Update landing pages for Google Play Services.

Change-Id: I7cfc64928e7a2b195ed52febc6f7b652d85e9c56

11 years agoMerge "Convert alpha from [0..1] to [0.255] range Bug #8808886" into jb-mr2-dev
Romain Guy [Sat, 4 May 2013 01:42:46 +0000 (01:42 +0000)]
Merge "Convert alpha from [0..1] to [0.255] range Bug #8808886" into jb-mr2-dev

11 years agoMerge "Fix scaled-view droppings artifact" into jb-mr2-dev
Chet Haase [Sat, 4 May 2013 01:35:23 +0000 (01:35 +0000)]
Merge "Fix scaled-view droppings artifact" into jb-mr2-dev

11 years agoMerge "Optimize RTL properties resolution" into jb-mr2-dev
Fabrice Di Meglio [Sat, 4 May 2013 00:48:12 +0000 (00:48 +0000)]
Merge "Optimize RTL properties resolution" into jb-mr2-dev

11 years agoConvert alpha from [0..1] to [0.255] range
Romain Guy [Sat, 4 May 2013 00:42:27 +0000 (17:42 -0700)]
Convert alpha from [0..1] to [0.255] range
Bug #8808886

Without this conversion, alpha was always set to 0 or 1 which causes
things to disappear mysteriously. Mysteries are meant to be solved
and I solved them all in 6 characters.

Change-Id: I2078420fbe968c046e999b0eabb24403e71108fd

11 years agoOptimize RTL properties resolution
Fabrice Di Meglio [Fri, 3 May 2013 23:51:55 +0000 (16:51 -0700)]
Optimize RTL properties resolution

- dont bother children about resolving RTL properties if the ViewGroup parent
has not done anything

Change-Id: Iedf8a337097e04e1ab0054d59fc347e06b347ea7

11 years agoMerge "Idle maintenance scheduling broken." into jb-mr2-dev
Svetoslav [Fri, 3 May 2013 23:33:09 +0000 (23:33 +0000)]
Merge "Idle maintenance scheduling broken." into jb-mr2-dev

11 years agoFix scaled-view droppings artifact
Chet Haase [Fri, 3 May 2013 22:25:33 +0000 (15:25 -0700)]
Fix scaled-view droppings artifact

Sometimes views that are scaled leave behind rows/columns on the
screen as they move/scale around.

The problem was that the pivot point around which the scale takes place
(in the default case of scaling around the center of the view)
was getting truncated to integer coordinates in the display list.
Meanwhile, the pivot point at the Java level was using the true float
values, resulting in a mis-match between the invalidation rectangle
(computed at the Java level) and the drawing-operation rectangle (computed
at the native level).

This only occurred when views had odd bounds (thus the integer representation
of the center differed from the float representation of the center), and only
when some other drawing operation would expand the clip rect to allow the
incorrect drawing operation (using the wrong pivot point) to draw outside of
its clip boundaries.

Issue #8617023 7x7 screen not updated correctly

Change-Id: If88889b9450d34535df732b78077a29b1f24802d

11 years agoMerge "Multiple bindings to the same accessiblity serice if it dies." into jb-mr2-dev
Svetoslav Ganov [Fri, 3 May 2013 21:04:04 +0000 (21:04 +0000)]
Merge "Multiple bindings to the same accessiblity serice if it dies." into jb-mr2-dev

11 years agoIdle maintenance scheduling broken.
Svetoslav [Fri, 3 May 2013 18:24:26 +0000 (11:24 -0700)]
Idle maintenance scheduling broken.

1. The scheduling was relying on receiving battery level broadcasts
   which however are not sent if the device is asleep. The maintenance
   window was not bound and we could miss a frame if the user did
   not interact the device longer than the min time between two
   maintenance windows.

2. Hide the idle maintenance intents since this will be rewritten
   to user services.

bug:8688454

Change-Id: I17b421b09823cb46ec218cabda19e02432d94f8c

11 years agoMerge "Fix issue #8798662: NPE in..." into jb-mr2-dev
Dianne Hackborn [Fri, 3 May 2013 20:47:38 +0000 (20:47 +0000)]
Merge "Fix issue #8798662: NPE in..." into jb-mr2-dev

11 years agoFix issue #8798662: NPE in...
Dianne Hackborn [Fri, 3 May 2013 19:07:51 +0000 (12:07 -0700)]
Fix issue #8798662: NPE in...

...com.android.server.am.ServiceRecord.postNotification()

Change-Id: I3403bc50eb95d410183fc60ef252775a688b6290

11 years agoMerge "Fix a NPE in MenuItemImpl when setting null ActionProvider" into jb-mr2-dev
Adam Powell [Fri, 3 May 2013 18:58:35 +0000 (18:58 +0000)]
Merge "Fix a NPE in MenuItemImpl when setting null ActionProvider" into jb-mr2-dev

11 years agoam d6aa68b6: am 564a533e: am 66442b56: am 775deb88: am 9af97443: Merge "docs: Added...
quddusc [Fri, 3 May 2013 18:54:47 +0000 (11:54 -0700)]
am d6aa68b6: am 564a533e: am 66442b56: am 775deb88: am 9af97443: Merge "docs: Added landing page for Google Play Games Platform Services. cherrypick from jb-mr1-dev docs:  Play Games changes Change-Id: I5117db8511907e05ddc84005bf6903251de46f71" into jb-mr1.1-docs

* commit 'd6aa68b6d66b01921855070ceb06e805077123ab':
  docs: Added landing page for Google Play Games Platform Services. cherrypick from jb-mr1-dev docs:  Play Games changes Change-Id: I5117db8511907e05ddc84005bf6903251de46f71

11 years agoam 564a533e: am 66442b56: am 775deb88: am 9af97443: Merge "docs: Added landing page...
quddusc [Fri, 3 May 2013 18:52:35 +0000 (11:52 -0700)]
am 564a533e: am 66442b56: am 775deb88: am 9af97443: Merge "docs: Added landing page for Google Play Games Platform Services. cherrypick from jb-mr1-dev docs:  Play Games changes Change-Id: I5117db8511907e05ddc84005bf6903251de46f71" into jb-mr1.1-docs

* commit '564a533e8a176541947a52261ac6e8ba3b2b5b21':
  docs: Added landing page for Google Play Games Platform Services. cherrypick from jb-mr1-dev docs:  Play Games changes Change-Id: I5117db8511907e05ddc84005bf6903251de46f71

11 years agoam 66442b56: am 775deb88: am 9af97443: Merge "docs: Added landing page for Google...
quddusc [Fri, 3 May 2013 18:50:04 +0000 (11:50 -0700)]
am 66442b56: am 775deb88: am 9af97443: Merge "docs: Added landing page for Google Play Games Platform Services. cherrypick from jb-mr1-dev docs:  Play Games changes Change-Id: I5117db8511907e05ddc84005bf6903251de46f71" into jb-mr1.1-docs

* commit '66442b566f51edb41f8d18f702c219c4a4c8c3df':
  docs: Added landing page for Google Play Games Platform Services. cherrypick from jb-mr1-dev docs:  Play Games changes Change-Id: I5117db8511907e05ddc84005bf6903251de46f71

11 years agoam 775deb88: am 9af97443: Merge "docs: Added landing page for Google Play Games Platf...
quddusc [Fri, 3 May 2013 18:47:19 +0000 (11:47 -0700)]
am 775deb88: am 9af97443: Merge "docs: Added landing page for Google Play Games Platform Services. cherrypick from jb-mr1-dev docs:  Play Games changes Change-Id: I5117db8511907e05ddc84005bf6903251de46f71" into jb-mr1.1-docs

* commit '775deb88945e4acffba2d91a89931a426d9ca4bf':
  docs: Added landing page for Google Play Games Platform Services. cherrypick from jb-mr1-dev docs:  Play Games changes Change-Id: I5117db8511907e05ddc84005bf6903251de46f71

11 years agoam 9af97443: Merge "docs: Added landing page for Google Play Games Platform Services...
quddusc [Fri, 3 May 2013 18:45:08 +0000 (11:45 -0700)]
am 9af97443: Merge "docs: Added landing page for Google Play Games Platform Services. cherrypick from jb-mr1-dev docs:  Play Games changes Change-Id: I5117db8511907e05ddc84005bf6903251de46f71" into jb-mr1.1-docs

* commit '9af9744319f389b6583b8c39ea65bf90afc10fe5':
  docs: Added landing page for Google Play Games Platform Services. cherrypick from jb-mr1-dev docs:  Play Games changes Change-Id: I5117db8511907e05ddc84005bf6903251de46f71

11 years agoMerge "docs: Added landing page for Google Play Games Platform Services. cherrypick...
quddusc [Fri, 3 May 2013 18:42:44 +0000 (18:42 +0000)]
Merge "docs: Added landing page for Google Play Games Platform Services. cherrypick from jb-mr1-dev docs:  Play Games changes Change-Id: I5117db8511907e05ddc84005bf6903251de46f71" into jb-mr1.1-docs

11 years agoFix a NPE in MenuItemImpl when setting null ActionProvider
Adam Powell [Fri, 3 May 2013 18:03:10 +0000 (11:03 -0700)]
Fix a NPE in MenuItemImpl when setting null ActionProvider

Change-Id: I00be010b2197d0f41d0e45b3814474d3ad0c3295

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 3 May 2013 17:59:40 +0000 (10:59 -0700)]
Import translations. DO NOT MERGE

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

11 years agoMultiple bindings to the same accessiblity serice if it dies.
Svetoslav Ganov [Fri, 3 May 2013 08:13:05 +0000 (01:13 -0700)]
Multiple bindings to the same accessiblity serice if it dies.

1. When a service dies we clear its state and remove it from the bound services waiting
   for new onServiceConnected call in which to initialize and add the service. The
   problem is that after clearing and removing a dead service there is a call to
   onUserStateChangedLocked with will end up rebinding to the service, so we get
   multiple onServiceConnected calls as a result of which we add the service twice and
   it becomes a mess. Note that every time the service dies we end up being bound to
   it twice as many times - royal mess! onUserStateChangedLocked is not even needed
   since we cleare and remove the serivce and this method will be called when
   the service is recreated.

2. When a service dies and is recreated by the system we were not adding it properly
   since we regarded only services that we bond to and wait for the connecton. Now
   we are also regarding service which died and are recreated.

bug:8796109

Change-Id: I5ec60c67bd3b057446bb8d90b48511c35d45289d

11 years agoMerge "Change the initial disabled state of disabled IMEs" into jb-mr2-dev
Satoshi Kataoka [Fri, 3 May 2013 02:34:39 +0000 (02:34 +0000)]
Merge "Change the initial disabled state of disabled IMEs" into jb-mr2-dev

11 years agoMerge "Really make Surface thread-safe." into jb-mr2-dev
Jeff Brown [Fri, 3 May 2013 02:11:02 +0000 (02:11 +0000)]
Merge "Really make Surface thread-safe." into jb-mr2-dev

11 years agoFix sync problem in NsdManager
Robert Greenwalt [Thu, 2 May 2013 22:45:32 +0000 (15:45 -0700)]
Fix sync problem in NsdManager

The NsdManager init was thinking it was done before the AsyncChannel
was fully setup and if the setup were slow and the app fast, the app
could make calls to the NsdManager that it wasn't ready for.

bug:8545006
Change-Id: I2cb2a7c0a1c7f3d2b81ac0f66d37346e6d2d720d

11 years agoMerge "Fix issue #8768456: Settings > App Info under reports..." into jb-mr2-dev
Dianne Hackborn [Thu, 2 May 2013 22:11:35 +0000 (22:11 +0000)]
Merge "Fix issue #8768456: Settings > App Info under reports..." into jb-mr2-dev

11 years agoMerge "Send package-changed broadcasts to the correct users" into jb-mr2-dev
Christopher Tate [Thu, 2 May 2013 22:08:18 +0000 (22:08 +0000)]
Merge "Send package-changed broadcasts to the correct users" into jb-mr2-dev

11 years agoSend package-changed broadcasts to the correct users
Christopher Tate [Thu, 2 May 2013 20:27:27 +0000 (13:27 -0700)]
Send package-changed broadcasts to the correct users

Also be sure to drop any pending package-changed broadcasts
that are targeted to a now-removed user.

Bug 8594153

Change-Id: Ib14874b4a67b968bbf6ca12ee095c85383aff324

11 years agoFix issue #8768456: Settings > App Info under reports...
Dianne Hackborn [Thu, 2 May 2013 01:54:11 +0000 (18:54 -0700)]
Fix issue #8768456: Settings > App Info under reports...

...app storage size for apps w/ .so files

The lib directories are tagged with the apk install number,
so must be explicitly passed down to installd.

Change-Id: Ic37b03726f9a7405eb05956703f8198223b22595

11 years agoFix bug where thumbnails in Recents disappear
Michael Jurka [Thu, 2 May 2013 12:49:45 +0000 (14:49 +0200)]
Fix bug where thumbnails in Recents disappear

Bug: 7900353
Bug: 8752242
Bug: 7382208

11 years agoChange the initial disabled state of disabled IMEs
Satoshi Kataoka [Wed, 17 Apr 2013 07:41:58 +0000 (16:41 +0900)]
Change the initial disabled state of disabled IMEs

Bug: 8365223

This change is a supplement for I77f01c70610d82ce9070d4a
The disabled state of disabled pre-installed imes should be changed
to ENABLED_STATE_DISABLED_UNTIL_USED on boot or user switch.

Change-Id: If8ff1b2b95c36d33148def2ab87bd006aa520cc0

11 years agoMerge "Allow requiredForAllUsers to work on updates to system apps" into jb-mr2-dev
Amith Yamasani [Thu, 2 May 2013 04:26:01 +0000 (04:26 +0000)]
Merge "Allow requiredForAllUsers to work on updates to system apps" into jb-mr2-dev

11 years agodocs: Added landing page for Google Play Games Platform Services.
quddusc [Mon, 4 Feb 2013 23:05:23 +0000 (15:05 -0800)]
docs: Added landing page for Google Play Games Platform Services.
cherrypick from jb-mr1-dev docs:  Play Games changes Change-Id: I5117db8511907e05ddc84005bf6903251de46f71

Change-Id: I0e5e2c69fc0d13b0637504e5fd3e76c1a91a0109

11 years agoMerge "Don't dump sql bindargs unless verbose mode is requested." into jb-mr2-dev
Jeff Brown [Thu, 2 May 2013 00:52:25 +0000 (00:52 +0000)]
Merge "Don't dump sql bindargs unless verbose mode is requested." into jb-mr2-dev

11 years agoMerge "Bootstrap installed system apps only when the target user is running" into...
Christopher Tate [Wed, 1 May 2013 22:47:16 +0000 (22:47 +0000)]
Merge "Bootstrap installed system apps only when the target user is running" into jb-mr2-dev

11 years agoAllow requiredForAllUsers to work on updates to system apps
Amith Yamasani [Wed, 1 May 2013 22:25:28 +0000 (15:25 -0700)]
Allow requiredForAllUsers to work on updates to system apps

Bug: 8736380

Also set the default type as the constructor docs imply in RestrictionEntry.

Change-Id: I446504fad8822804d68f09b45ef62f6d79c4b8df

11 years agoDon't dump sql bindargs unless verbose mode is requested.
Jeff Brown [Wed, 1 May 2013 22:28:37 +0000 (15:28 -0700)]
Don't dump sql bindargs unless verbose mode is requested.

Bug: 8780126
Change-Id: I88e238f9d684cc76731207e75370cbb2e0e476c5

11 years agoReally make Surface thread-safe.
Jeff Brown [Tue, 30 Apr 2013 23:33:00 +0000 (16:33 -0700)]
Really make Surface thread-safe.

There were many places where the native object was being
accessed improperly.  Also some places where CloseGuard might
not be acquired or released correctly or where the generation
count might not be updated.

Fixed them all.

That said, Surface isn't intended to be used concurrently
so please don't do it.  This is only intended to make
hard to find crashes less likely.

Bug: 8328715
Change-Id: I981ef33425823e0fd7ad6b64443f2ec9b0c8335e

11 years agoMerge "MediaDrm API: Add two exceptions to handle error path scenarios" into jb-mr2-dev
Jeff Tinker [Wed, 1 May 2013 22:01:16 +0000 (22:01 +0000)]
Merge "MediaDrm API: Add two exceptions to handle error path scenarios" into jb-mr2-dev

11 years agoam 66623196: am 95fa4428: am 1fbbf8ca: am 4bc82dea: am 47dcb666: dashboard update...
Scott Main [Wed, 1 May 2013 21:31:44 +0000 (14:31 -0700)]
am 66623196: am 95fa4428: am 1fbbf8ca: am 4bc82dea: am 47dcb666: dashboard update for 5/1

* commit '66623196159ec4509e617cd440199499b483367a':
  dashboard update for 5/1

11 years agoam 95fa4428: am 1fbbf8ca: am 4bc82dea: am 47dcb666: dashboard update for 5/1
Scott Main [Wed, 1 May 2013 21:30:33 +0000 (14:30 -0700)]
am 95fa4428: am 1fbbf8ca: am 4bc82dea: am 47dcb666: dashboard update for 5/1

* commit '95fa4428172ae6c0435c20bf8ab49734e95c9eb8':
  dashboard update for 5/1

11 years agoam 1fbbf8ca: am 4bc82dea: am 47dcb666: dashboard update for 5/1
Scott Main [Wed, 1 May 2013 21:28:40 +0000 (14:28 -0700)]
am 1fbbf8ca: am 4bc82dea: am 47dcb666: dashboard update for 5/1

* commit '1fbbf8caaf5bb3c796fa2acacedfb7a3be4d0c73':
  dashboard update for 5/1

11 years agoam 4bc82dea: am 47dcb666: dashboard update for 5/1
Scott Main [Wed, 1 May 2013 21:27:12 +0000 (14:27 -0700)]
am 4bc82dea: am 47dcb666: dashboard update for 5/1

* commit '4bc82dea43c3e60ce6ad244fdd6b8e61396b1118':
  dashboard update for 5/1

11 years agoam 47dcb666: dashboard update for 5/1
Scott Main [Wed, 1 May 2013 21:26:05 +0000 (14:26 -0700)]
am 47dcb666: dashboard update for 5/1

* commit '47dcb66610fbe9284f83f73a06a5c23515e17fbd':
  dashboard update for 5/1

11 years agoBootstrap installed system apps only when the target user is running
Christopher Tate [Wed, 1 May 2013 21:17:53 +0000 (14:17 -0700)]
Bootstrap installed system apps only when the target user is running

I.e. don't bother trying to send a BOOT_COMPLETED broadcast to the
newly-installed/enabled system app when its host user isn't live.

Also use the static isSystemApp()-type helpers instead of duplicating
those tests locally.

Bug 8594153

Change-Id: I4bd0b86351d67f72c44eae8d1afce6a98f034d31