Svetoslav Ganov
d7169b5936
am 80ce3d87: Merge "Magnifier not respecting RTL/LTR direction and keyguard dialogs not properly centered." into jb-mr1-dev
...
* commit '80ce3d8746e9bb727ebf37a8963b96be84d82413':
Magnifier not respecting RTL/LTR direction and keyguard dialogs not properly centered.
2012-10-18 15:02:25 -07:00
Svetoslav Ganov
80ce3d8746
Merge "Magnifier not respecting RTL/LTR direction and keyguard dialogs not properly centered." into jb-mr1-dev
2012-10-18 15:00:18 -07:00
Craig Mautner
29b5069291
am 9b56af30: am 84288ac1: am be2a4a5e: Merge "When removing windows remove from resize list." into jb-mr1-dev
...
* commit '9b56af302ebfd8b25ed5896770d781c3b9b72070':
When removing windows remove from resize list.
2012-10-18 14:54:49 -07:00
Craig Mautner
9b56af302e
am 84288ac1: am be2a4a5e: Merge "When removing windows remove from resize list." into jb-mr1-dev
...
* commit '84288ac10c96e674be6f0d662862d7c8dbd30de4':
When removing windows remove from resize list.
2012-10-18 14:52:16 -07:00
Craig Mautner
84288ac10c
am be2a4a5e: Merge "When removing windows remove from resize list." into jb-mr1-dev
...
* commit 'be2a4a5e629b31071a160d57188219d6a76011fa':
When removing windows remove from resize list.
2012-10-18 14:49:31 -07:00
Craig Mautner
be2a4a5e62
Merge "When removing windows remove from resize list." into jb-mr1-dev
2012-10-18 14:46:13 -07:00
Craig Mautner
2d5618c221
Allow getDisplayContentLocked to return null...
...
... and check for null returns. This prevents DisplayContent objects
from containing null Display references.
Bug: 7368565 fixed.
Change-Id: I830fb4c1349204c366193657a95a92c48ccee66c
2012-10-18 14:16:43 -07:00
Jeff Hamilton
6a410fece4
am 520afbd2: am ba2c79a5: am e09aed49: Merge "Changes to support updating location providers." into jb-mr1-dev
...
* commit '520afbd2dcd57c8d9d101cfea045db91d3110aea':
Changes to support updating location providers.
2012-10-18 12:53:55 -07:00
Jeff Hamilton
520afbd2dc
am ba2c79a5: am e09aed49: Merge "Changes to support updating location providers." into jb-mr1-dev
...
* commit 'ba2c79a59fa9640d3f54c81f05f664a47337a05c':
Changes to support updating location providers.
2012-10-18 12:50:34 -07:00
Jeff Hamilton
ba2c79a59f
am e09aed49: Merge "Changes to support updating location providers." into jb-mr1-dev
...
* commit 'e09aed49e3498c9e0f3545ab97f816233d5eac66':
Changes to support updating location providers.
2012-10-18 12:47:31 -07:00
Jeff Hamilton
e09aed49e3
Merge "Changes to support updating location providers." into jb-mr1-dev
2012-10-18 12:45:02 -07:00
Christopher Tate
597ea5b3cd
am d9466f94: am 2f296598: am 1ea75b88: Merge "Sanity-check erroneous backup agent instantiations" into jb-mr1-dev
...
* commit 'd9466f940ae3f04f8efede13b876d5968ff0e820':
Sanity-check erroneous backup agent instantiations
2012-10-18 12:25:19 -07:00
Christopher Tate
d9466f940a
am 2f296598: am 1ea75b88: Merge "Sanity-check erroneous backup agent instantiations" into jb-mr1-dev
...
* commit '2f2965985236d5cdc9cf2125055971da8e070e6f':
Sanity-check erroneous backup agent instantiations
2012-10-18 12:21:28 -07:00
Christopher Tate
2f29659852
am 1ea75b88: Merge "Sanity-check erroneous backup agent instantiations" into jb-mr1-dev
...
* commit '1ea75b88b7ac4273b7a5395c5c57c6453d6cd3d1':
Sanity-check erroneous backup agent instantiations
2012-10-18 12:18:42 -07:00
Svetoslav Ganov
444e8aabc1
Magnifier not respecting RTL/LTR direction and keyguard dialogs not properly centered.
...
1. When magnifier, if a dialog that popped up is wider than the scree we pan to its upper
left corner. We now show the upper right corner if the locale direction is RTL.
2. Keyguard dialogs are not centered since they are used as a sign to recompute the
magnified area but an unnecessary else statement prevents such dialogs from being
properly show via a pan.
bug:7374331
Change-Id: I285e46b822a29f0082c502cb642f9da32dabfe6a
2012-10-18 12:15:02 -07:00
Christopher Tate
1ea75b88b7
Merge "Sanity-check erroneous backup agent instantiations" into jb-mr1-dev
2012-10-18 12:07:03 -07:00
Victoria Lease
5e6568fb93
am fff8c1d8: am 733ad7a2: am 588fb15d: Merge "LocationManager permissions cleanup" into jb-mr1-dev
...
* commit 'fff8c1d8d81604fbb53b6a761b42a3178179700d':
LocationManager permissions cleanup
2012-10-18 11:10:12 -07:00
Victoria Lease
fff8c1d8d8
am 733ad7a2: am 588fb15d: Merge "LocationManager permissions cleanup" into jb-mr1-dev
...
* commit '733ad7a2e162cbf13efedeed1e2697d74a6e4a4b':
LocationManager permissions cleanup
2012-10-18 11:08:09 -07:00
Victoria Lease
733ad7a2e1
am 588fb15d: Merge "LocationManager permissions cleanup" into jb-mr1-dev
...
* commit '588fb15d16118b848c2d76497861b0e86846486b':
LocationManager permissions cleanup
2012-10-18 11:05:54 -07:00
Victoria Lease
588fb15d16
Merge "LocationManager permissions cleanup" into jb-mr1-dev
2012-10-18 11:02:52 -07:00
Amith Yamasani
ca35abe179
am 84156ea8: am 37d64712: am 0141faec: Merge "Allow services to query the info for a dying user." into jb-mr1-dev
...
* commit '84156ea848ae9e4b4d4ef99fb2d208aea99365a4':
Allow services to query the info for a dying user.
2012-10-18 10:55:54 -07:00
Amith Yamasani
84156ea848
am 37d64712: am 0141faec: Merge "Allow services to query the info for a dying user." into jb-mr1-dev
...
* commit '37d6471207192d3904616b6b08b970574aa73235':
Allow services to query the info for a dying user.
2012-10-18 10:53:51 -07:00
Amith Yamasani
37d6471207
am 0141faec: Merge "Allow services to query the info for a dying user." into jb-mr1-dev
...
* commit '0141faecc3b4a1cb771f38495d42c56eb6852fa8':
Allow services to query the info for a dying user.
2012-10-18 10:51:36 -07:00
Amith Yamasani
0141faecc3
Merge "Allow services to query the info for a dying user." into jb-mr1-dev
2012-10-18 10:48:21 -07:00
Craig Mautner
860f660a0f
When removing windows remove from resize list.
...
Windows remained in the resized list if they were removed during
rotations.
Bug: 7372289 fixed.
Change-Id: I41f949b7836b08b33d4d178e9aa016548328749a
2012-10-18 09:38:10 -07:00
Victoria Lease
37425c3475
LocationManager permissions cleanup
...
This commit is the result of a comprehensive permissions review for
MR1 release. It addresses a number of deviations from spec and from
MR0's behavior, bringing MR1 into sync with both.
It also cleans up the concept of "location resolution permission",
representing it internally as an enumerated access level to reduce
reliance on cumbersome string manipulation. There's a function to
convert the enum int into a permission string where needed, too.
Additionally, this confines caller-identity-sensitive calls to the
hopefully-obviously-named "getCallerAllowedResolutionLevel()". This
should make it much easier to prove correctness with respect to
accidentally calling functions that depend upon the caller's identity
after identity has already been shed by Binder.clearCallingIdentity().
Change-Id: I446169aee8fb2fde26ac6d04b479b40253782acb
2012-10-18 09:13:39 -07:00
Jeff Brown
bf9e9b8a6e
am f3c68252: am 1d9cebee: am 88c66cbb: Merge "Dream when user activity times out while docked if appropriate." into jb-mr1-dev
...
* commit 'f3c6825207d668c8a0c50faa18f08ae87ae722bd':
Dream when user activity times out while docked if appropriate.
2012-10-18 00:16:46 -07:00
Jeff Brown
a490b64beb
am 05d7709e: am 5561baef: am 586503d5: Merge "Add special mirroring modes for demonstration purposes." into jb-mr1-dev
...
* commit '05d7709e77f27638f96afbceedcb07ee3ef19a0e':
Add special mirroring modes for demonstration purposes.
2012-10-18 00:16:42 -07:00
Jeff Brown
f3c6825207
am 1d9cebee: am 88c66cbb: Merge "Dream when user activity times out while docked if appropriate." into jb-mr1-dev
...
* commit '1d9cebee1451ad5845ea7f4e0f7ab7ff8bb48185':
Dream when user activity times out while docked if appropriate.
2012-10-18 00:14:56 -07:00
Jeff Brown
05d7709e77
am 5561baef: am 586503d5: Merge "Add special mirroring modes for demonstration purposes." into jb-mr1-dev
...
* commit '5561baef8b111d0eeaf9c47e98f3a160d4cb8559':
Add special mirroring modes for demonstration purposes.
2012-10-18 00:14:52 -07:00
Jeff Brown
1d9cebee14
am 88c66cbb: Merge "Dream when user activity times out while docked if appropriate." into jb-mr1-dev
...
* commit '88c66cbb00a572ac8280f0e0ea38079d48ec59f3':
Dream when user activity times out while docked if appropriate.
2012-10-18 00:11:27 -07:00
Jeff Brown
5561baef8b
am 586503d5: Merge "Add special mirroring modes for demonstration purposes." into jb-mr1-dev
...
* commit '586503d51fbcc622af62b43b25579ce2f299d68b':
Add special mirroring modes for demonstration purposes.
2012-10-18 00:09:49 -07:00
Jeff Brown
88c66cbb00
Merge "Dream when user activity times out while docked if appropriate." into jb-mr1-dev
2012-10-18 00:08:18 -07:00
Jeff Brown
586503d51f
Merge "Add special mirroring modes for demonstration purposes." into jb-mr1-dev
2012-10-18 00:06:48 -07:00
Jeff Hamilton
fbadb69978
Changes to support updating location providers.
...
This reverts commit 20de160ca3 .
Bug: 7242814
Change-Id: I9ec49a14feb835b6683186fc6da4a74ae19fbae2
2012-10-18 01:28:10 -05:00
Amith Yamasani
1638931166
Allow services to query the info for a dying user.
...
This allows services watching for USER_REMOVED to fetch the serialNumber of a dying user.
Also fix an AIOOBE when building the userId array, typically on cleanup.
Bug: 7368826
Change-Id: I24e52278af8353b5744372127da4bf4fafc89baa
2012-10-17 21:20:14 -07:00
Jeff Brown
ec6aa59454
Dream when user activity times out while docked if appropriate.
...
If the user has requested that dreams start when docked and a user
activity timeout occurs, then start dreaming assuming all of the
other usual conditions are appropriate for dreaming (the device is
powered, etc.).
Previously dreams only started when the device was initial docked
but not if the device fell asleep while remaining docked.
Bug: 7281240
Change-Id: I72c3f854fd1ae8e6615f4fa6e4c4ecd8de37c84b
2012-10-17 20:30:25 -07:00
Jeff Brown
88b1b565ba
am 6296d230: am 56fa32bc: am 23fa0320: Merge "Add a notification icon when connected to wireless display." into jb-mr1-dev
...
* commit '6296d230034999d4d0d5b84fa70c2a120bdea484':
Add a notification icon when connected to wireless display.
2012-10-17 18:50:54 -07:00
Jeff Brown
6296d23003
am 56fa32bc: am 23fa0320: Merge "Add a notification icon when connected to wireless display." into jb-mr1-dev
...
* commit '56fa32bcdfeb3e2d0096065347150fdbb7d86b22':
Add a notification icon when connected to wireless display.
2012-10-17 18:47:45 -07:00
Jeff Brown
56fa32bcdf
am 23fa0320: Merge "Add a notification icon when connected to wireless display." into jb-mr1-dev
...
* commit '23fa0320b88bd2141742d47eaf2626369cb03b22':
Add a notification icon when connected to wireless display.
2012-10-17 18:44:43 -07:00
Jeff Brown
23fa0320b8
Merge "Add a notification icon when connected to wireless display." into jb-mr1-dev
2012-10-17 18:42:25 -07:00
Jeff Brown
27f1d674bf
Add special mirroring modes for demonstration purposes.
...
Assume rotation of HDMI display is portait.
$ adb shell setprop persist.demo.hdmirotation portrait
Don't lock rotation while HDMI is plugged in.
$ adb shell setprop persist.demo.hdmirotationlock false
Hide secondary displays from apps but continue mirroring to them.
$ adb shell setprop persist.demo.singledisplay true
Bug: 7326281
Change-Id: I8f9a3b0bc19821a3a01043b0f516806dac82ce53
2012-10-17 18:41:31 -07:00
Jeff Brown
a7f9c966bc
Add a notification icon when connected to wireless display.
...
Bug: 7350174
Change-Id: I18481e2a1445b0aa3340e5d9b02511394521e50e
2012-10-17 15:50:06 -07:00
Christopher Tate
346acb123d
Sanity-check erroneous backup agent instantiations
...
Two distinct changes:
Fix a bug seen in the wild where a newly-launched application will be
spuriously asked to instantiate a backup agent. What was happening
there is that some Activity Manager state was being left stale in certain
circumstances, and then in combination with app uninstall / install, there
could be a case where uid reuse wound up looking like an app identity
match.
We now positively verify before instantiating the agent that the intended
backup target package is uid-compatible with the app process that the
instantiation was requested of. The incomplete bookkeeping in the
Activity Manager has also been tightened up, and the Backup Manager is
more aggressive about cleaning up pending operations pertaining to
apps being uninstalled.
Bug 5874010
Change-Id: Ic389f4a96c9dcd0ba6b3962b579084033d8ae9f8
2012-10-17 13:36:15 -07:00
Amith Yamasani
10b0dad0d8
am fbb417f8: am 6facef70: am b6c171b1: Merge "Do cleanup when Stopping users" into jb-mr1-dev
...
* commit 'fbb417f8744714792ff5cb242d78dcf88d47a28c':
Do cleanup when Stopping users
2012-10-16 21:48:54 -07:00
Amith Yamasani
fbb417f874
am 6facef70: am b6c171b1: Merge "Do cleanup when Stopping users" into jb-mr1-dev
...
* commit '6facef70b5d6588450c6ee59a676a0cf3bfc745e':
Do cleanup when Stopping users
2012-10-16 21:45:59 -07:00
Amith Yamasani
6facef70b5
am b6c171b1: Merge "Do cleanup when Stopping users" into jb-mr1-dev
...
* commit 'b6c171b1afa871aa092dd2ec2ed25f48275ef194':
Do cleanup when Stopping users
2012-10-16 21:43:20 -07:00
Amith Yamasani
b6c171b1af
Merge "Do cleanup when Stopping users" into jb-mr1-dev
2012-10-16 21:41:28 -07:00
Svetoslav Ganov
5ada6dbbb1
am 40577560: am 61fa73c5: am 05ad745f: Merge "Long press not working if explore by touch and magnification are on." into jb-mr1-dev
...
* commit '40577560c941dc53d19b4373aa8a1f5a908e7471':
Long press not working if explore by touch and magnification are on.
2012-10-16 19:59:26 -07:00
Svetoslav Ganov
40577560c9
am 61fa73c5: am 05ad745f: Merge "Long press not working if explore by touch and magnification are on." into jb-mr1-dev
...
* commit '61fa73c51e811f5d1cc3ad1d3645863d13befdc0':
Long press not working if explore by touch and magnification are on.
2012-10-16 19:55:58 -07:00