Craig Mautner
76ea224678
Limit screenshots to specified activity and stack.
...
The screenshots were capturing the entire screen. Now they are limited
to the stack containing the activity.
Add debug for stack states.
Change-Id: I6d47cd37091bfdfd94e7abe89826b7ba8cb69b51
2013-05-15 12:40:10 -07:00
Craig Mautner
121e521fa1
Merge "Move Recents into home stack."
2013-05-14 17:38:15 +00:00
Craig Mautner
86d67a4faa
Move Recents into home stack.
...
Allows Recents activity to occupy a special place in the window/stack
hierarchy.
Change-Id: Ic11c94a075f70c7ba68bd554cd3e5fc6b7c407e7
2013-05-14 10:34:38 -07:00
Craig Mautner
4058828d81
Merge "Fix rotation animations not working."
2013-05-13 22:58:09 +00:00
Craig Mautner
11462cc0b0
Fix rotation animations not working.
...
Restore over aggressive deletions from ag/305620.
Also remove over specification of debug member variables.
Change-Id: Id637d0dbece169d27271aabd714d34d449bfb050
2013-05-13 15:56:18 -07:00
John Spurlock
ed7f3cb7fa
Merge "Window manager cleanup."
2013-05-13 22:54:52 +00:00
Craig Mautner
1602ec2188
Log stack issues and start resize effort.
...
- Modify Am.java to accept 'stack resize' command.
- Add logging for assigning home stack to non-home task to track down
bug. And maybe fix bug.
- Add template parameter to ArrayList.
Change-Id: Ia73182afc20e9e4430ddadebae034cecb3798eec
2013-05-13 14:39:39 -07:00
John Spurlock
04db1762fb
Window manager cleanup.
...
Specifically:
- Fix policy vs wm lock management issues.
- Share runnable to avoid allocation.
- Remove unused noop runnable.
- Make sure to handle status bar = null case.
- Fix javadoc typo.
Bug: 8890313
Change-Id: I242eaef8e946025f6885d6dba3225722fb0ca7ce
2013-05-13 17:24:24 -04:00
Guang Zhu
befa8b5553
Revert "Log stack issues and start resize effort."
...
Bug: 8935057
This reverts commit b0245edae86b5811ea743c0f4cea095488304b1a.
2013-05-12 23:10:39 -07:00
Chris Wren
c5356f6dec
am e39e313a: am c7588aa3: Merge "restart notification listener on package add" into jb-mr2-dev
...
* commit 'e39e313a356c43df104fc32a8efcb8fc92a72d80':
restart notification listener on package add
2013-05-12 15:09:04 -07:00
Chris Wren
e39e313a35
am c7588aa3: Merge "restart notification listener on package add" into jb-mr2-dev
...
* commit 'c7588aa3913f0eb797457f97ff6381c1ee65c232':
restart notification listener on package add
2013-05-12 15:06:55 -07:00
Chris Wren
c7588aa391
Merge "restart notification listener on package add" into jb-mr2-dev
2013-05-12 22:04:05 +00:00
Craig Mautner
b0245edae8
Log stack issues and start resize effort.
...
- Modify Am.java to accept 'stack resize' command.
- Add logging for assigning home stack to non-home task to track down
bug. And maybe fix bug.
- Add template parameter to ArrayList.
Change-Id: If904c3ead623464ff5863b7241c68c1b7573bcf4
2013-05-12 10:27:38 -07:00
Craig Mautner
5457e61f64
Fix window and wallpaper position problems
...
- Put wallpaper behind all other windows.
- When moving a task to the top or bottom of a stack, move all of the
other tasks' windows on the stack to the top or bottom with the task.
Change-Id: I0821341dfd602c9240c685e954dac42678132d4a
2013-05-12 10:27:37 -07:00
Craig Mautner
6f52f90307
Merge "Fix issue #8868003 : Recents thumbnails scale..."
2013-05-10 23:32:02 +00:00
Christopher Tate
ecb4dbf6fc
am 1965b447: Revert "The default home intent needs CATEGORY_DEFAULT"
...
* commit '1965b4479d07750756ccf845134df6ddd5ce4103':
Revert "The default home intent needs CATEGORY_DEFAULT"
2013-05-10 15:08:27 -07:00
Christopher Tate
1965b4479d
Revert "The default home intent needs CATEGORY_DEFAULT"
...
This reverts commit 1fea6b374f612ca8cedc17de873526f0f7c42a4e.
Bug 8895796
Change-Id: I80ecf1b718829c25e2a7adae956ebe9493cb3f33
2013-05-10 15:01:02 -07:00
Craig Mautner
c36c8e6f1f
Fix issue #8868003 : Recents thumbnails scale...
...
...+ zoom to wrong place
We need to make sure the overscan insets are never negative.
master version of ag/307569.
Change-Id: I4beed63a9541e228087b588e32996669755fcc51
2013-05-10 13:33:31 -07:00
Chris Wren
3da7302dd2
restart notification listener on package add
...
Bug: 8813471
Change-Id: Icf6c69811392c4567a5c842740e463fb957e7563
2013-05-10 14:49:53 -04:00
Dianne Hackborn
0bab11cfff
Merge "Eradicate basically all of the system reboot stuff in the watchdog."
2013-05-10 17:49:00 +00:00
Dianne Hackborn
f6438b16ba
Eradicate basically all of the system reboot stuff in the watchdog.
...
This was implemented for 1.0 out of paranoia about the possibility
of needing to schedule reboots of the system after it went out in
the field, which I am happy to say was never ever used.
Let's get rid of it.
A small stub is left, to still service the API that allows people
to send a reboot broadcast to have the system immediately reboot.
Change-Id: I6731b24a28340e50c8015f8cb28e48f74f69f9b7
2013-05-09 18:53:48 -07:00
Amith Yamasani
ecd5afe1ef
resolved conflicts for merge of 069d7e9b to master
...
Change-Id: Ia8fd5de3d4cc275fd358132bcb2c198d1e7b6877
2013-05-09 17:07:08 -07:00
Matthew Xie
b50619cc14
am c0c7cebe: am b566c466: Merge "Donot bind to GATT service when BLE is not supported" into jb-mr2-dev
...
* commit 'c0c7cebe3f5da99aeb48eb62bffbaf3183814194':
Donot bind to GATT service when BLE is not supported
2013-05-09 16:28:30 -07:00
Amith Yamasani
069d7e9b81
am 153919ed: Merge "Cache the scaled avatar drawables in the keyguard user switcher" into jb-mr2-dev
...
* commit '153919ed2f128fb5d1b55782ea89fadcc20fc841':
Cache the scaled avatar drawables in the keyguard user switcher
2013-05-09 16:23:31 -07:00
Matthew Xie
c0c7cebe3f
am b566c466: Merge "Donot bind to GATT service when BLE is not supported" into jb-mr2-dev
...
* commit 'b566c466c73d351d01e64d1c9ba609133efc4ffd':
Donot bind to GATT service when BLE is not supported
2013-05-09 16:23:26 -07:00
Dianne Hackborn
b14e42f121
Merge "Cleanup some of the thread merging."
2013-05-09 22:30:30 +00:00
Amith Yamasani
153919ed2f
Merge "Cache the scaled avatar drawables in the keyguard user switcher" into jb-mr2-dev
2013-05-09 22:17:51 +00:00
Amith Yamasani
6fc1d4e8e6
Cache the scaled avatar drawables in the keyguard user switcher
...
Loading the avatar icons and drawing them into the sized bitmap
turns out to be quite expensive and the cost increases with number
of users. Caching them shaves off several hundred milliseconds from
Keyguard inflation time during user switching on the lockscreen.
For instance, 15ms vs. 750ms with 3 avatars on a certain 7" tablet.
Bug: 7986933
Change-Id: I3e2065bfa25aa263133ba204ca364c3b04d7c0ff
2013-05-09 14:44:38 -07:00
Matthew Xie
b566c466c7
Merge "Donot bind to GATT service when BLE is not supported" into jb-mr2-dev
2013-05-09 21:14:47 +00:00
Amith Yamasani
7e028153da
am fb37bb67: am 73094fbc: Merge "Don\'t allow non-authorized apps to access auth tokens" into jb-mr2-dev
...
* commit 'fb37bb67ec8ec2180e7afb51e748a7f56cabae23':
Don't allow non-authorized apps to access auth tokens
2013-05-09 12:39:18 -07:00
Daniel Sandler
b68de582fc
am 06c31ff4: am 60ac308e: Merge "Defend against a system server crash." into jb-mr2-dev
...
* commit '06c31ff4cd949dc5444569257123a05642475d34':
Defend against a system server crash.
2013-05-09 12:39:12 -07:00
Amith Yamasani
fb37bb67ec
am 73094fbc: Merge "Don\'t allow non-authorized apps to access auth tokens" into jb-mr2-dev
...
* commit '73094fbc23a4f6142f790f63b66ae5b553fb6e55':
Don't allow non-authorized apps to access auth tokens
2013-05-09 10:47:08 -07:00
Amith Yamasani
73094fbc23
Merge "Don't allow non-authorized apps to access auth tokens" into jb-mr2-dev
2013-05-09 17:43:16 +00:00
Daniel Sandler
06c31ff4cd
am 60ac308e: Merge "Defend against a system server crash." into jb-mr2-dev
...
* commit '60ac308e1da302716fd6c5d805c513221039bac2':
Defend against a system server crash.
2013-05-09 10:31:51 -07:00
Daniel Sandler
60ac308e1d
Merge "Defend against a system server crash." into jb-mr2-dev
2013-05-09 17:29:05 +00:00
Dianne Hackborn
4d2ee536ae
am cb359697: Merge "DO NOT MERGE. Fix issue #8868003 : Recents thumbnails scale..." into jb-mr2-dev
...
* commit 'cb35969708e88057bda7c54c7b3ac1d606ad95c5':
DO NOT MERGE. Fix issue #8868003 : Recents thumbnails scale...
2013-05-09 10:23:08 -07:00
Dianne Hackborn
cb35969708
Merge "DO NOT MERGE. Fix issue #8868003 : Recents thumbnails scale..." into jb-mr2-dev
2013-05-09 17:19:57 +00:00
Guang Zhu
6eee6ebc68
Revert "The default home intent needs CATEGORY_DEFAULT"
...
This reverts commit 1fea6b374f612ca8cedc17de873526f0f7c42a4e.
Bug: 8878319
2013-05-08 22:19:52 -07:00
Matthew Xie
32ab77b4c5
Donot bind to GATT service when BLE is not supported
...
bug 8664724
Change-Id: I9b9222cd5877babcded73798a5d1ff13fd10e791
2013-05-08 19:26:57 -07:00
Dianne Hackborn
bee1fb9363
DO NOT MERGE. Fix issue #8868003 : Recents thumbnails scale...
...
...+ zoom to wrong place
We need to make sure the overscan insets are never negative.
Change-Id: I6ca82acc2a6c887085a5d14d03a55ea78451e4b6
2013-05-08 18:05:58 -07:00
Christopher Tate
9809e0d2d7
am 6312a196: am cfb09fac: Merge "The default home intent needs CATEGORY_DEFAULT" into jb-mr2-dev
...
* commit '6312a1968c5e16e193b5b6d3c2f4b92b2de9311d':
The default home intent needs CATEGORY_DEFAULT
2013-05-08 16:15:30 -07:00
Christopher Tate
6312a1968c
am cfb09fac: Merge "The default home intent needs CATEGORY_DEFAULT" into jb-mr2-dev
...
* commit 'cfb09fac73716291468b61f20ee1b7818d1dcfd1':
The default home intent needs CATEGORY_DEFAULT
2013-05-08 16:13:20 -07:00
Christopher Tate
cfb09fac73
Merge "The default home intent needs CATEGORY_DEFAULT" into jb-mr2-dev
2013-05-08 23:09:49 +00:00
Svetoslav
4190a634f0
am 5055e35d: am 0dd85e4e: Merge "Dynamically togglable accessibility features improperly handled." into jb-mr2-dev
...
* commit '5055e35dfed39a87999664a7662ddcaaadcfa342':
Dynamically togglable accessibility features improperly handled.
2013-05-08 15:05:31 -07:00
Craig Mautner
cef2d56fc9
Merge "resolved conflicts for merge of a14a14ab to master"
2013-05-08 22:01:33 +00:00
Craig Mautner
79a64b621e
resolved conflicts for merge of a14a14ab to master
...
Change-Id: I80259a2887f36fc3af409322dea36aa90a2ee847
2013-05-08 15:00:09 -07:00
Svetoslav
5055e35dfe
am 0dd85e4e: Merge "Dynamically togglable accessibility features improperly handled." into jb-mr2-dev
...
* commit '0dd85e4e99466709049ba913241612b6678732ca':
Dynamically togglable accessibility features improperly handled.
2013-05-08 14:37:03 -07:00
Svetoslav
0dd85e4e99
Merge "Dynamically togglable accessibility features improperly handled." into jb-mr2-dev
2013-05-08 21:33:43 +00:00
Nick Kralevich
dbcf2d7482
PowerManagerService: Don't reboot directly.
...
Instead of calling the reboot system call ourselves, send
a message to init asking it to reboot the system. Init is in
a better position to make sure the system is cleanly shutdown.
Get rid of CAP_SYS_BOOT from system_server.
Bug: 8646621
Change-Id: I200722412844ad8d99e35a442021c6263c3ebc05
2013-05-08 13:42:10 -07:00
Amith Yamasani
d20ea2f158
Don't allow non-authorized apps to access auth tokens
...
For restricted profiles, if an app tries to guess an account name and
requests an auth token, even though the framework is going to prompt
for permission, it could be authorized by someone who can't read.
If the app is not opting in to see accounts, don't let it get auth tokens
by verifying first that it's in the list of known accounts.
Bug: 8736380
Change-Id: I6caf88cfe14aa1023d55bcb28ad80ccd89eeb79b
2013-05-08 12:57:01 -07:00