Amith Yamasani
a784e3fbe9
am b0363bec: am 2c1dfa29: Merge "Fix deadlock in removing a user" into jb-mr1-dev
...
* commit 'b0363bec92313bb82645a5bdaeb624aa666902cb':
Fix deadlock in removing a user
2012-08-22 18:25:11 -07:00
Jeff Sharkey
d0f673d020
am af29c279: am 3451dc90: Merge "Iteration on multi-user external storage." into jb-mr1-dev
...
* commit 'af29c2797634675280c3e695d8b68674c8490507':
Iteration on multi-user external storage.
2012-08-22 18:23:02 -07:00
Amith Yamasani
2c1dfa29b4
Merge "Fix deadlock in removing a user" into jb-mr1-dev
2012-08-22 18:19:20 -07:00
Jeff Sharkey
3451dc9064
Merge "Iteration on multi-user external storage." into jb-mr1-dev
2012-08-22 18:17:30 -07:00
Amith Yamasani
0cd867c83e
Fix deadlock in removing a user
...
Cleanup PackageManager settings after the package directories are removed.
Change-Id: I264bc95ea21da653a234d7c81df5b25d4de7aa9e
2012-08-22 16:45:47 -07:00
Ying Wang
1fd6e22b6a
am 510aa89c: am 9f814ac5: Merge "Remove obsolete variables." into jb-mr1-dev
...
* commit '510aa89ca32d120f60fd8186b9575dc74b57aada':
Remove obsolete variables.
2012-08-22 15:27:43 -07:00
Ying Wang
9f814ac5fc
Merge "Remove obsolete variables." into jb-mr1-dev
2012-08-22 15:19:44 -07:00
Craig Mautner
823fe040bc
am c91e00c8: am b9b56954: Merge "Eliminate special battery calls by WindowManager" into jb-mr1-dev
...
* commit 'c91e00c8b4a223a022289b675cee4b3316122786':
Eliminate special battery calls by WindowManager
2012-08-22 14:19:55 -07:00
Craig Mautner
b9b56954ec
Merge "Eliminate special battery calls by WindowManager" into jb-mr1-dev
2012-08-22 14:14:54 -07:00
Jeff Sharkey
2bca868361
Iteration on multi-user external storage.
...
Remove single-user bind mounts, since they need to remain as raw
mounts to correctly propagate when remounted. This means we're back
to using sdcard_r GID to enforce READ_EXTERNAL_STORAGE.
Bug: 6925012
Change-Id: I41b5d7ddc985a5df2e288632a0a80d4724089e00
2012-08-22 13:59:58 -07:00
Jeff Brown
4e41592545
am de053978: am 6cf3b925: Merge "Fix auto-brightness adjustment sentinel value." into jb-mr1-dev
...
* commit 'de0539781533c46c10b00d2f068766fcdd284394':
Fix auto-brightness adjustment sentinel value.
2012-08-22 13:35:10 -07:00
Jeff Brown
6cf3b925ca
Merge "Fix auto-brightness adjustment sentinel value." into jb-mr1-dev
2012-08-22 13:31:08 -07:00
Jeff Brown
5d03a53681
Fix auto-brightness adjustment sentinel value.
...
Change-Id: I1b0da4566eb350333d3c3b09a96266627260baa3
2012-08-22 13:22:02 -07:00
Jeff Brown
ed14002482
am 408471a2: am 6da92032: Merge "Fix NPE." into jb-mr1-dev
...
* commit '408471a28b7adce10d8235cb38ed861cbfe51fb7':
Fix NPE.
2012-08-22 13:21:13 -07:00
Jeff Brown
6da92032da
Merge "Fix NPE." into jb-mr1-dev
2012-08-22 13:17:22 -07:00
Jeff Brown
b5b710a485
Fix NPE.
...
Bug: 7034583
Change-Id: Ie6b436492d12b0dd6bbe1c25d9b7ac35b74095d3
2012-08-22 13:16:01 -07:00
Craig Mautner
259328c04c
Eliminate special battery calls by WindowManager
...
Previous to this change the WindowManager was notifying the
BatteryDtatsService about windows that keep the screen on. WM used a
custom WakeLock tag to indicate to PowerManagerService that it had
already notified the BatteryStatsService.
This change eliminates WindowManager notifying the BatteryStatsService
and lets PowerManagerService do the job.
Fixes bug 7030326.
Change-Id: I666dc6ef8f094b8d3d109fea6876be058e057b4f
2012-08-22 11:01:35 -07:00
Amith Yamasani
19256a7bb6
am 5ee6095e: am 98dddda7: Merge "Remove permission requirement for some UserManager calls" into jb-mr1-dev
...
* commit '5ee6095e25e314317196fd72ca405847e849f6b3':
Remove permission requirement for some UserManager calls
2012-08-22 10:35:15 -07:00
Amith Yamasani
98dddda791
Merge "Remove permission requirement for some UserManager calls" into jb-mr1-dev
2012-08-22 10:31:30 -07:00
Amith Yamasani
1952637425
Remove permission requirement for some UserManager calls
...
Update javadocs to be explicit about permissions.
Minor fixes in UserManagerService
Change-Id: I0d355e0a60e5dbdb49ed06091111d480ff249f3d
2012-08-22 10:28:56 -07:00
Jean-Baptiste Queru
03a55e9508
am 50c323ba: am 2bd65b61: am 29c6f24b: am 6ffe2594: Merge "restorecon /data/anr directory."
...
* commit '50c323bad2bb238f2d437efd8f5aa70515be8e2e':
restorecon /data/anr directory.
2012-08-22 07:52:19 -07:00
Jean-Baptiste Queru
2bd65b61ba
am 29c6f24b: am 6ffe2594: Merge "restorecon /data/anr directory."
...
* commit '29c6f24b254b4ea1a7d8448980e736355e4badf6':
restorecon /data/anr directory.
2012-08-22 07:49:03 -07:00
Jean-Baptiste Queru
29c6f24b25
am 6ffe2594: Merge "restorecon /data/anr directory."
...
* commit '6ffe2594674f250c16c5e3055aa69680efaa6f69':
restorecon /data/anr directory.
2012-08-22 07:46:41 -07:00
Jean-Baptiste Queru
6ffe259467
Merge "restorecon /data/anr directory."
2012-08-22 07:18:39 -07:00
Jeff Brown
39aff480ee
am b8ce29e4: am 00a8f4ff: Make the electron beam animation shorter.
...
* commit 'b8ce29e4b353bd5c83cf7b45dc5d9d577e4c4169':
Make the electron beam animation shorter.
2012-08-22 00:16:45 -07:00
Jeff Brown
6ff726da8f
am 7453b1d0: am aa202a6d: Add a mechanism to adjust auto-brightness at night.
...
* commit '7453b1d0a02524e3ef38db8cdb4c4da084b139b4':
Add a mechanism to adjust auto-brightness at night.
2012-08-22 00:12:56 -07:00
Jeff Brown
3d326f551c
am 8f1584af: am 2416e096: Extract the twilight detection into its own service.
...
* commit '8f1584aff3b442263008f5b972721214691c64f1':
Extract the twilight detection into its own service.
2012-08-22 00:11:15 -07:00
Jeff Brown
00a8f4ff62
Make the electron beam animation shorter.
...
Now using about the same duration as it used to have when
it was implemented in Surface Flinger.
Change-Id: I09b28222379f4b6583f1f7b34188cc36c50509e9
2012-08-22 00:06:09 -07:00
Jeff Brown
aa202a6dc3
Add a mechanism to adjust auto-brightness at night.
...
Uses the twilight service to determine the hours of
sunrise and sunset. Shortly after sunset or before sunrise
gradually start to apply a gamma correction factor to the
auto-brightness calculations to make the screen a little
dimmer at night.
The effect is relatively small and is mostly noticeable
in dark rooms. This is just a first pass at the algorithm,
we can tweak the adjustment later to ensure that it has even less
impact in moderate or bright environments.
Change-Id: Idf89022a5d0bb52975e04779352d53fa63371178
2012-08-22 00:02:41 -07:00
Jeff Brown
2416e09649
Extract the twilight detection into its own service.
...
Moving the detection out of UiModeManagerService will
make it easy for other services to register for the
information.
Fixed a bugs related to updating twilight state
when the time is updated.
We're using the same algorithm as before for passively
tracking the location. Ideally we should update it
to use the new location manager features for low-power
location requests.
Change-Id: I520c53b9946ab6f8d994587d357fd6542c300c07
2012-08-22 00:02:41 -07:00
Jeff Brown
d4d7f55663
am fbb0ac66: am ae25108a: Merge "Add support for auto-brightness adjust, but leave it disabled." into jb-mr1-dev
...
* commit 'fbb0ac66b6f1948b11b74033e1c783ecc78f7d56':
Add support for auto-brightness adjust, but leave it disabled.
2012-08-21 23:45:09 -07:00
Jeff Brown
ae25108a7b
Merge "Add support for auto-brightness adjust, but leave it disabled." into jb-mr1-dev
2012-08-21 23:40:19 -07:00
Jeff Brown
330560f53b
Add support for auto-brightness adjust, but leave it disabled.
...
Auto-brightness adjustment applies a gamma correction factor
between 1/3 and 3 depending on the setting. This feature
is disabled for now.
Change-Id: I2b300b5c455da545bea56b2bae5bc7903e30f30e
2012-08-21 22:27:42 -07:00
Ying Wang
ddcca31997
Remove obsolete variables.
...
Bug: 6987838
Now emma is only enabled for apks.
Change-Id: Id8d198467076a8dff705195a8e051f3fb00d5660
2012-08-21 17:24:03 -07:00
Brian Muramatsu
327ec0a3fe
am 07d9f60b: am 43c7aae4: Merge "Listen for CONNECTIVITY_ACTION in GPS Provider" into jb-mr1-dev
...
* commit '07d9f60b15e0d7e3678ed0a6429394b975eec2dc':
Listen for CONNECTIVITY_ACTION in GPS Provider
2012-08-21 17:14:45 -07:00
Brian Muramatsu
43c7aae4d0
Merge "Listen for CONNECTIVITY_ACTION in GPS Provider" into jb-mr1-dev
2012-08-21 17:08:17 -07:00
Nick Pelly
d0bf4c6f28
am 8c37dc72: am 4a81ef8f: Merge "Fix some location issues exposed by CTS." into jb-mr1-dev
...
* commit '8c37dc72c41c6ed54c1e6aa56a7adca9cce3568d':
Fix some location issues exposed by CTS.
2012-08-21 16:34:21 -07:00
Brian Muramatsu
b94b41f516
Listen for CONNECTIVITY_ACTION in GPS Provider
...
Bug: 7020678
The broadcast receiver in GpsLocationProvider now listens for
CONNECTIVITY_ACTION changes. Set the intent filter so that
it catches those actions and updates the network state.
Change-Id: I7efd393dfe2aa8b172dd6701d42ff9ed687648a2
2012-08-21 16:30:57 -07:00
Nick Pelly
4a81ef8fd3
Merge "Fix some location issues exposed by CTS." into jb-mr1-dev
2012-08-21 16:29:54 -07:00
Nick Pelly
1332b53522
Fix some location issues exposed by CTS.
...
Change-Id: I5859ee2c9db5745b0a3bc8abfa8f08728fb25059
2012-08-21 16:26:26 -07:00
Craig Mautner
eb6844c860
am 66c61175: am 7e877fa0: Merge "Fix to allow SYSTEM_UID to display windows." into jb-mr1-dev
...
* commit '66c6117538e11ca5a91fc26a17b353348c6f6ddf':
Fix to allow SYSTEM_UID to display windows.
2012-08-21 15:36:09 -07:00
Craig Mautner
7e877fa00c
Merge "Fix to allow SYSTEM_UID to display windows." into jb-mr1-dev
2012-08-21 15:30:42 -07:00
Craig Mautner
a2d7b1117a
Fix to allow SYSTEM_UID to display windows.
...
Was not previously checking to make sure that the appId was not
SYSTEM_UID (1000). This caused certain system windows to fail to
appear.
Change-Id: I939dc2f8a256acb84b7c413c7e00003a89aff6d4
2012-08-21 15:24:54 -07:00
Craig Mautner
ade7755fa0
am b9bccdbb: am de1d96c7: Merge "Hide non user app windows from other users." into jb-mr1-dev
...
* commit 'b9bccdbbbc6bb189cc7f17c7b9118b1d81dfc63d':
Hide non user app windows from other users.
2012-08-21 14:31:03 -07:00
Craig Mautner
de1d96c736
Merge "Hide non user app windows from other users." into jb-mr1-dev
2012-08-21 14:26:28 -07:00
Amith Yamasani
5f18cbe21d
am d20c1016: am 23e28255: Merge "Multiprocess activity should be allowed to run on current user" into jb-mr1-dev
...
* commit 'd20c1016109bb045ad5b38879c762a14a2502f81':
Multiprocess activity should be allowed to run on current user
2012-08-21 14:24:12 -07:00
Amith Yamasani
23e282554e
Merge "Multiprocess activity should be allowed to run on current user" into jb-mr1-dev
2012-08-21 14:19:51 -07:00
Dianne Hackborn
3c4a774a57
am b73b0a2c: am d4ec5ae5: Merge "Improve multi-user app management." into jb-mr1-dev
...
* commit 'b73b0a2c7f188073ca021a74907a0f02e10092aa':
Improve multi-user app management.
2012-08-21 11:21:24 -07:00
Dianne Hackborn
d4ec5ae504
Merge "Improve multi-user app management." into jb-mr1-dev
2012-08-21 11:17:12 -07:00
Dianne Hackborn
0c38049502
Improve multi-user app management.
...
Introduce API to get per-user storage information, keep track
of services associated with users, and various small cleanup.
Change-Id: I5d4e784e7ff3cccfed627d66a090d2f464202634
2012-08-21 10:34:20 -07:00