89416 Commits

Author SHA1 Message Date
Victoria Lease
b711d57ca4 Multiuser love for LocationManager
LocationManagerService now keeps track of the current user ID and
denies location requests made by all but the foreground user.

Additionally, location settings are now user-specific, rather than
global to the device. Location provider services now run as specific
users, and when the device's foreground user changes, we rebind to
appropriately-owned providers.

Bug: 6926385
Bug: 7247203
Change-Id: I346074959e96e52bcc77eeb188dffe322b690879
2012-10-08 17:19:43 -07:00
Amith Yamasani
531c237b82 Add an upgrade step for settings moved to global.
For some reason, the original step didn't work for some testers. This re-applies the move, which
should be no-ops if the entries are already in the right table.

Bug: 7254629

Also moved a few more entries to the global initialization section. Otherwise they would write
into the wrong table.

Change-Id: Ic0f5c4e09680f5687d08dccf78063508b9c0584c
2012-10-08 17:04:17 -07:00
Jeff Brown
5532da8fc5 am 541d8d2c: am 2aac1a0f: Merge "Improve the power off fade animation." into jb-mr1-dev
* commit '541d8d2c2bacb81440fb5b5a8766c1e25f1270a9':
  Improve the power off fade animation.
2012-10-08 17:04:10 -07:00
Jeff Brown
541d8d2c2b am 2aac1a0f: Merge "Improve the power off fade animation." into jb-mr1-dev
* commit '2aac1a0fe8fe5dea1185374ed914f95101de16ed':
  Improve the power off fade animation.
2012-10-08 17:02:30 -07:00
Jeff Brown
2aac1a0fe8 Merge "Improve the power off fade animation." into jb-mr1-dev 2012-10-08 17:00:18 -07:00
Eric Laurent
dd45d01128 enforce camera sound according to country code
Use mcc config overlay mechanism to enforce camera shutter sounds
in countries where it is mandatory.
Property ro.camera.sound.forced is not needed anymore.
When camera sound is forced, STREAM_SYSTEM_ENFORCED is removed from
streams affected by ringer mode and its volume is
maxed out. AudioSystem.FORCE_SYSTEM_ENFORCED is sent to audio
policy manager to alter the routing policy for STREAM_SYSTEM_ENFORCED.

Also fix streams being unmuted when settings are reloaded
upon user switch while in silent mode.

Add ringer mode to audio service dump.

Bug 7032634.

Change-Id: Iceea5bba3b8d3aabf8e42b222deb33a893dc8f38
2012-10-08 17:00:02 -07:00
Robert Ly
1f415fa2ea docs: nfc ndef helper methods bug 5957772
Change-Id: I9c8356f44c1f9cc4a5187d40816cbfdd6212ab6e
2012-10-08 16:59:39 -07:00
Jim Miller
6c5bd361fe Fix "checking account" string
Fixes bug 7309934

Change-Id: Ia665142b8dcd8de424312bd7bf0800d7b871b03b
2012-10-08 16:38:50 -07:00
Jeff Brown
252c206984 Improve the power off fade animation.
Fixes an issue where the dim surface alpha was not actually being
animated like it was supposed to.

Bug: 7224614
Change-Id: Iffd54367ca97ae7fd4b9603807f4e036750442b2
2012-10-08 16:21:01 -07:00
Baligh Uddin
b9dc93d63b am 62766897: am e70bf654: Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
* commit '62766897cb9311c8e783c04ada4a8d01e516b148':
  Import translations. DO NOT MERGE
2012-10-08 15:58:39 -07:00
Baligh Uddin
62766897cb am e70bf654: Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
* commit 'e70bf65423056c2f336602aa9b3942ea446225e4':
  Import translations. DO NOT MERGE
2012-10-08 15:56:02 -07:00
Svetoslav Ganov
fada650707 am bfe01498: am 62f1722d: Merge "Accessibility enhancements within quick settings and notification shade." into jb-mr1-dev
* commit 'bfe01498a9fe8938e8b1fcf98829fe8d1386c8fd':
  Accessibility enhancements within quick settings and notification shade.
2012-10-08 15:54:58 -07:00
Baligh Uddin
e70bf65423 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-10-08 15:53:43 -07:00
Svetoslav Ganov
bfe01498a9 am 62f1722d: Merge "Accessibility enhancements within quick settings and notification shade." into jb-mr1-dev
* commit '62f1722d7c168048952f93045c5f1d06fdab0202':
  Accessibility enhancements within quick settings and notification shade.
2012-10-08 15:53:17 -07:00
Baligh Uddin
93d1fe82fd am 388f157b: Merge "Import translations. DO NOT MERGE" into jb-mr1-aah-dev
* commit '388f157be825e80a23398b3361705e9bd7894e52':
  Import translations. DO NOT MERGE
2012-10-08 15:53:14 -07:00
Svetoslav Ganov
62f1722d7c Merge "Accessibility enhancements within quick settings and notification shade." into jb-mr1-dev 2012-10-08 15:51:15 -07:00
Baligh Uddin
388f157be8 Merge "Import translations. DO NOT MERGE" into jb-mr1-aah-dev 2012-10-08 15:49:58 -07:00
Baligh Uddin
3c576d9b65 Import translations. DO NOT MERGE
Change-Id: Idd93f9399dcd2466e3d6d84bee4b536a8a41b476
Auto-generated-cl: translation import
2012-10-08 15:23:58 -07:00
Baligh Uddin
404615d266 Import translations. DO NOT MERGE
Change-Id: I9059498aed3bca6294e9f93d89709454c04e0997
Auto-generated-cl: translation import
2012-10-08 15:22:19 -07:00
Victoria Lease
c7fe33b1f3 am c1bb4bfb: am 0fb7e32a: Merge "Last position improvements for GeofenceManager" into jb-mr1-dev
* commit 'c1bb4bfb2832f0be3ea2982dd834af1449e03806':
  Last position improvements for GeofenceManager
2012-10-08 15:19:35 -07:00
Victoria Lease
c1bb4bfb28 am 0fb7e32a: Merge "Last position improvements for GeofenceManager" into jb-mr1-dev
* commit '0fb7e32a0129e9e62d58ea652cc00f8a908d65b5':
  Last position improvements for GeofenceManager
2012-10-08 15:17:37 -07:00
Svetoslav Ganov
51b60bf0e0 am b2e330c6: am 55c70293: Merge "Show the touch explore enable dialog for the current user." into jb-mr1-dev
* commit 'b2e330c6c41c21a5ab9c017257c5145d7f8b6ec7':
  Show the touch explore enable dialog for the current user.
2012-10-08 15:15:39 -07:00
Dianne Hackborn
a4c88ee991 am 1b94df8a: am 4efbab48: Merge "Framework side of issue #7302511: GCM client needs to use new framework API..." into jb-mr1-dev
* commit '1b94df8af9a6922bfba7e2ecca24bb0d7578a8e2':
  Framework side of issue #7302511: GCM client needs to use new framework API...
2012-10-08 15:15:36 -07:00
Baligh Uddin
3db70075f1 am ed02652e: am bd03f5ab: Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
* commit 'ed02652e834285577a509a2b575a9e0d9ebcba8a':
  Import translations. DO NOT MERGE
2012-10-08 15:15:28 -07:00
Baligh Uddin
3dde113f63 am a52132ab: (-s ours) Merge "Import translations. DO NOT MERGE" into jb-mr1-aah-dev
* commit 'a52132ab4718164c45e48785db8b9f8a3590fd37':
  Import translations. DO NOT MERGE
2012-10-08 15:15:28 -07:00
Victoria Lease
0fb7e32a01 Merge "Last position improvements for GeofenceManager" into jb-mr1-dev 2012-10-08 15:14:49 -07:00
Svetoslav Ganov
b2e330c6c4 am 55c70293: Merge "Show the touch explore enable dialog for the current user." into jb-mr1-dev
* commit '55c7029312f67a80c658fa84bd404ef7569d02d8':
  Show the touch explore enable dialog for the current user.
2012-10-08 15:05:08 -07:00
Dianne Hackborn
1b94df8af9 am 4efbab48: Merge "Framework side of issue #7302511: GCM client needs to use new framework API..." into jb-mr1-dev
* commit '4efbab480d7e1b770c5515a76b897359730c1a4d':
  Framework side of issue #7302511: GCM client needs to use new framework API...
2012-10-08 15:05:04 -07:00
Svetoslav Ganov
55c7029312 Merge "Show the touch explore enable dialog for the current user." into jb-mr1-dev 2012-10-08 15:02:56 -07:00
Dianne Hackborn
4efbab480d Merge "Framework side of issue #7302511: GCM client needs to use new framework API..." into jb-mr1-dev 2012-10-08 15:02:56 -07:00
Baligh Uddin
ed02652e83 am bd03f5ab: Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
* commit 'bd03f5abb7bbd5552d49dfec4e78f3d9454238af':
  Import translations. DO NOT MERGE
2012-10-08 15:01:53 -07:00
Baligh Uddin
bd03f5abb7 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-10-08 14:59:37 -07:00
Baligh Uddin
a52132ab47 Merge "Import translations. DO NOT MERGE" into jb-mr1-aah-dev 2012-10-08 14:57:37 -07:00
Baligh Uddin
46c2699824 Import translations. DO NOT MERGE
Change-Id: I8dd8dacad06a9f7be27ac666f7fc4a51308347aa
Auto-generated-cl: translation import
2012-10-08 14:47:48 -07:00
Baligh Uddin
c87254db6b Import translations. DO NOT MERGE
Change-Id: Ifb43315957971f47b28da90481c5e123aa441fc8
Auto-generated-cl: translation import
2012-10-08 14:45:19 -07:00
Selim Gurun
8d197601e7 DO NOT MERGE remove defunct javascript interface
Bug: 7073422

The feature that is using search box implementation was removed from
browser after Honeycomb. This is to remove the js interface that
is added for this feature.

Clean cherry pick of d773ca8ff2a7a5be94d7f2aaa8ff5ef5dac501a8

Change-Id: I033d29718d08803f375759faf83e2058df6d4906
2012-10-08 14:35:19 -07:00
Dianne Hackborn
36d337adff Framework side of issue #7302511: GCM client needs to use new framework API...
...to fix background->shutdown delivery race

Add ACTION_STOPPING and ACTION_STARTING to allow such apps to keep track of
which users are started/stopped, and be involved in the process of stopping
a user.

Also get rid of the scale part of the wallpaper transitions, since it seems
like I have still failed at getting the user switch to wait until the new
wallpaper is displayed.

Change-Id: If7e8fdae3544a9d7987a1b9274dc8b49022f6f62
2012-10-08 14:33:47 -07:00
Jim Miller
c88d46e912 am 6b9cd4d2: am 8215ddb4: Merge "Properly handle cancel event in GlowPadView" into jb-mr1-dev
* commit '6b9cd4d2563b824208050cdc28c5de2447e5c4e4':
  Properly handle cancel event in GlowPadView
2012-10-08 13:43:53 -07:00
Jim Miller
6b9cd4d256 am 8215ddb4: Merge "Properly handle cancel event in GlowPadView" into jb-mr1-dev
* commit '8215ddb4f5fd6d7b6444baa2416190799e3aa09e':
  Properly handle cancel event in GlowPadView
2012-10-08 13:42:02 -07:00
Jim Miller
8215ddb4f5 Merge "Properly handle cancel event in GlowPadView" into jb-mr1-dev 2012-10-08 13:40:15 -07:00
Svetoslav Ganov
318b00bfee Show the touch explore enable dialog for the current user.
1. We are showing a warning dialog if the user enables an accessibility
   service that requests explore by touch. This dialog was shown only
   for the owner but should be shown for the current user.

bug:7304437

Change-Id: I692b5112df16405e6d2e4890aafbfde79981f973
2012-10-08 13:18:12 -07:00
Justin Mattson
25e9ace121 am a009ee22: Merge "Reverse movement direction of DPAD events" into jb-mr1-aah-dev
* commit 'a009ee2261ee68d0d8c0efb6d1670ecb29252ba5':
  Reverse movement direction of DPAD events
2012-10-08 12:55:15 -07:00
Justin Mattson
a009ee2261 Merge "Reverse movement direction of DPAD events" into jb-mr1-aah-dev 2012-10-08 12:52:36 -07:00
Raph Levien
e9d419f524 am 6594eca0: am 9704b563: Merge "Fix for 7301594 Html.toHtml creating potentially invalid html" into jb-mr1-dev
* commit '6594eca0a9d9e9e0b429f950a673fa1820d43813':
  Fix for 7301594 Html.toHtml creating potentially invalid html
2012-10-08 12:46:03 -07:00
Raph Levien
6594eca0a9 am 9704b563: Merge "Fix for 7301594 Html.toHtml creating potentially invalid html" into jb-mr1-dev
* commit '9704b563d63d8b5fe8e568dfb7190f8440b56698':
  Fix for 7301594 Html.toHtml creating potentially invalid html
2012-10-08 12:43:12 -07:00
Casey Burkhardt
bac221ff0b Accessibility enhancements within quick settings and notification shade.
Change-Id: I377c389abe3ce2285a620e60f4c8de4727f4f5c9
Bug: 7229886
2012-10-08 12:41:32 -07:00
Raph Levien
9704b563d6 Merge "Fix for 7301594 Html.toHtml creating potentially invalid html" into jb-mr1-dev 2012-10-08 12:40:17 -07:00
Craig Mautner
86f0e71592 am 9641fc30: am 847b1229: Merge "Fix problems with IME layers." into jb-mr1-dev
* commit '9641fc3091c59f224a1a64ca7fd1a952271a08e2':
  Fix problems with IME layers.
2012-10-08 12:33:16 -07:00
Craig Mautner
9641fc3091 am 847b1229: Merge "Fix problems with IME layers." into jb-mr1-dev
* commit '847b12295e0a5c9e04f344f04c3540751ef6b9d1':
  Fix problems with IME layers.
2012-10-08 12:30:54 -07:00
Craig Mautner
847b12295e Merge "Fix problems with IME layers." into jb-mr1-dev 2012-10-08 12:28:23 -07:00