Jeff Brown
62831a7bd0
Merge "Eliminate potential reentrance from unregisterInputChannel." into jb-mr1-dev
2012-11-01 15:42:33 -07:00
Dianne Hackborn
203a59866a
am 8b91e6ba: am f1db87cb: am b9372de0: Merge "More debugging for issue #7343200 Fails to show wallpaper in the..." into jb-mr1-dev
...
* commit '8b91e6bab8ac21bba17efd0cad3a512790132846':
More debugging for issue #7343200 Fails to show wallpaper in the...
2012-11-01 15:21:10 -07:00
Dianne Hackborn
8b91e6bab8
am f1db87cb: am b9372de0: Merge "More debugging for issue #7343200 Fails to show wallpaper in the..." into jb-mr1-dev
...
* commit 'f1db87cb163049698e6f336fbf1447714c966443':
More debugging for issue #7343200 Fails to show wallpaper in the...
2012-11-01 15:17:49 -07:00
Dianne Hackborn
872e3d36ee
am b9372de0: Merge "More debugging for issue #7343200 Fails to show wallpaper in the..." into jb-mr1-dev
...
* commit 'b9372de07d3329928f28104bb997aab57237504c':
More debugging for issue #7343200 Fails to show wallpaper in the...
2012-11-01 15:16:27 -07:00
Dianne Hackborn
f1db87cb16
am b9372de0: Merge "More debugging for issue #7343200 Fails to show wallpaper in the..." into jb-mr1-dev
...
* commit 'b9372de07d3329928f28104bb997aab57237504c':
More debugging for issue #7343200 Fails to show wallpaper in the...
2012-11-01 15:15:56 -07:00
Adam Cohen
f19cce180f
Merge "Revert "Pushing state persistence to a background thread"" into jb-mr1-lockscreen-dev
2012-11-01 15:12:54 -07:00
Dianne Hackborn
b9372de07d
Merge "More debugging for issue #7343200 Fails to show wallpaper in the..." into jb-mr1-dev
2012-11-01 15:12:23 -07:00
Adam Cohen
b6f83374cc
Revert "Pushing state persistence to a background thread"
...
This reverts commit 039206a9b40d2188eb735f56ee51f131555c9dd3
Change-Id: I30fa07bf55a489562831b6334768b28bed638ef8
2012-11-01 15:12:07 -07:00
Dianne Hackborn
529e744d31
More debugging for issue #7343200 Fails to show wallpaper in the...
...
...background for lockscreen sometimes and remains black / blank
There was a bunch of state not being put into the dumpsys output.
In particular, the current wallpaper target of the WindowAnimator
was not being included. I think the problem is that these targets
are not being updated from the main window manager state at some
point where they need to be.
Change-Id: Ic795047f6aea9b6f72d5550bccc9f8d76c6ecb67
2012-11-01 15:09:10 -07:00
Adam Cohen
6917cec8de
Merge "Pushing state persistence to a background thread" into jb-mr1-lockscreen-dev
2012-11-01 15:08:03 -07:00
Adam Cohen
039206a9b4
Pushing state persistence to a background thread
...
Change-Id: If776bc22c48525ba91dc7e4dd0e27de92612f2f5
2012-11-01 15:06:44 -07:00
Zhihai Xu
86bde7b482
am eddc88fb: am 9ae23b7d: am 0de49148: Merge "Fix for BluetoothAdapter.getAddress() when BT is off on some devices" into jb-mr1-dev
...
* commit 'eddc88fbe59c6d26f833d0f37b13a475325ef4fa':
Fix for BluetoothAdapter.getAddress() when BT is off on some devices
2012-11-01 12:50:47 -07:00
Zhihai Xu
eddc88fbe5
am 9ae23b7d: am 0de49148: Merge "Fix for BluetoothAdapter.getAddress() when BT is off on some devices" into jb-mr1-dev
...
* commit '9ae23b7d2215de2737fb3752ad9af19bbe07388c':
Fix for BluetoothAdapter.getAddress() when BT is off on some devices
2012-11-01 12:47:49 -07:00
Zhihai Xu
09452829e6
am 0de49148: Merge "Fix for BluetoothAdapter.getAddress() when BT is off on some devices" into jb-mr1-dev
...
* commit '0de49148f07c7f0b3b45cec0ef502db4b9163711':
Fix for BluetoothAdapter.getAddress() when BT is off on some devices
2012-11-01 12:45:31 -07:00
Zhihai Xu
9ae23b7d22
am 0de49148: Merge "Fix for BluetoothAdapter.getAddress() when BT is off on some devices" into jb-mr1-dev
...
* commit '0de49148f07c7f0b3b45cec0ef502db4b9163711':
Fix for BluetoothAdapter.getAddress() when BT is off on some devices
2012-11-01 12:45:01 -07:00
Zhihai Xu
0de49148f0
Merge "Fix for BluetoothAdapter.getAddress() when BT is off on some devices" into jb-mr1-dev
2012-11-01 12:43:28 -07:00
Adam Cohen
9767597a74
Merge "Stripping dead API related to keyguard widgets" into jb-mr1-lockscreen-dev
2012-11-01 11:31:35 -07:00
Zhihai Xu
d31c32217c
Fix for BluetoothAdapter.getAddress() when BT is off on some devices
...
There are two problem, 1.If we have wrong bluetooth address in
global settings db, we never will update it 2. We need enable bluetooth
to get the bluetooth address for some devices. For 1, we fix it by add
a valid flag in global setting db, this flag will be set when we stored
correct address and name to db. We only load the name and address from
global setting db when this valid flag is set during power up.
For2. we will read BT address after bluetooth is at ON state.
bug 7440409
Change-Id: Ic4740b3f0b2fcd214c7ca8393f7331c140eec66d
2012-11-01 02:19:08 -07:00
Jeff Brown
074b8b7cf1
Eliminate potential reentrance from unregisterInputChannel.
...
Ensure that all callbacks into the window manager policy occur
on the input dispatcher thread in the right place. This fixes
a potential deadlock that may occur if the window manager
unregisters an input channel while holding its own lock.
The change is simply to defer running asynchronous commands
(usually callbacks into the policy) until the next iteration
of the dispatch looper thread.
Bug: 7382388
Change-Id: I90095580d717fcddb2209ef332df56400f837a34
2012-10-31 19:01:31 -07:00
Svetoslav Ganov
c4842c1193
Accessibility support for the lockscreen - phone.
...
Change-Id: Idc99f1322a1d635dd07e1f5efa1665a4676267c2
2012-10-31 17:49:10 -07:00
Adam Cohen
8f697d8580
Stripping dead API related to keyguard widgets
...
Change-Id: Ieb6c57ef736712b3266de08027f9626104cdf1bb
2012-10-31 17:42:26 -07:00
Chet Haase
f5750fbe27
am 0ed9f7d7: am 4af84142: am fe28ff0d: Merge "Fix for regression in WindowManager orientation changes" into jb-mr1-dev
...
* commit '0ed9f7d7fd449bd384bf31a36a59dd3c4d0151eb':
Fix for regression in WindowManager orientation changes
2012-10-31 16:55:34 -07:00
Chet Haase
0ed9f7d7fd
am 4af84142: am fe28ff0d: Merge "Fix for regression in WindowManager orientation changes" into jb-mr1-dev
...
* commit '4af84142e08dd082ac5a0f94adb8c6df83589e2e':
Fix for regression in WindowManager orientation changes
2012-10-31 16:53:55 -07:00
Chet Haase
4af84142e0
am fe28ff0d: Merge "Fix for regression in WindowManager orientation changes" into jb-mr1-dev
...
* commit 'fe28ff0d063818762dd585a67fcffd61cabd5a2f':
Fix for regression in WindowManager orientation changes
2012-10-31 16:51:23 -07:00
Chet Haase
fe28ff0d06
Merge "Fix for regression in WindowManager orientation changes" into jb-mr1-dev
2012-10-31 16:49:12 -07:00
Chet Haase
d5d11af3d3
Fix for regression in WindowManager orientation changes
...
A fix yesterday for #7428221 caused a regression where new orientations would
sometimes cause a flash through black on the way to seeing the real static wallpaper.
There is a fundamental problem in WindowManagerService where we show a window before
it has all of the layout/sizing information it needs, which is the cause of the black
flash. The regression yesterday was that we are now less aggressive about layout out
hidden windows, so we won't layout the window until after the window is shown with the
incorrect sizing info.
The fix/workaround is to back off the layout logic specifically for the wallpaper,
ensuring that we will lay it out on orientation changes, even when hidden. This means that
when we finally do show it, it will already have been drawn in the correct orientation/size.
Issue #7444971 Home jank regression
Change-Id: Ib20fdabc43ece9720b261bf04b272c5511e2d902
2012-10-31 15:40:54 -07:00
Amith Yamasani
7644dbc051
am d02f2313: am 47ece2e5: am 03f7ebfe: Merge "Relax permission requirements for posting notifications across users" into jb-mr1-dev
...
* commit 'd02f231318014925bead88ce9408c3c37f9a0e8b':
Relax permission requirements for posting notifications across users
2012-10-31 13:14:30 -07:00
Amith Yamasani
d02f231318
am 47ece2e5: am 03f7ebfe: Merge "Relax permission requirements for posting notifications across users" into jb-mr1-dev
...
* commit '47ece2e53e50201a6f73fb7a554d856f3b4519c8':
Relax permission requirements for posting notifications across users
2012-10-31 13:11:50 -07:00
Amith Yamasani
47ece2e53e
am 03f7ebfe: Merge "Relax permission requirements for posting notifications across users" into jb-mr1-dev
...
* commit '03f7ebfeaadb3f03c9a9a6405276fb702ad11fe1':
Relax permission requirements for posting notifications across users
2012-10-31 13:09:42 -07:00
Amith Yamasani
03f7ebfeaa
Merge "Relax permission requirements for posting notifications across users" into jb-mr1-dev
2012-10-31 13:06:56 -07:00
Mike Lockwood
80248d44b5
SerialManager: Only allow opening files that are whitelisted serial port devices
...
Bug: 7367956
Change-Id: I82fd8d2694dda89332497d9eded5445a0262e12b
Signed-off-by: Mike Lockwood <lockwood@google.com>
2012-10-31 12:41:14 -07:00
Chet Haase
3c7e3c1269
am daae890d: am 63f80350: am 27f752eb: Merge "WindowManager shouldn\'t layout non-visible windows" into jb-mr1-dev
...
* commit 'daae890dc0b50b4803384b6de7b0ac3e60dcb919':
WindowManager shouldn't layout non-visible windows
2012-10-30 17:51:49 -07:00
Chet Haase
daae890dc0
am 63f80350: am 27f752eb: Merge "WindowManager shouldn\'t layout non-visible windows" into jb-mr1-dev
...
* commit '63f80350dc8157cbd7ba9d7613cce5e1e88f0d87':
WindowManager shouldn't layout non-visible windows
2012-10-30 17:49:15 -07:00
Amith Yamasani
cf993b0159
am bd2f51c5: am e3d8774d: am a07d047f: Merge "Don\'t clean up wallpaper map entry when stopping a user." into jb-mr1-dev
...
* commit 'bd2f51c5f1ee270d5edbfab05f01e38f2774c9ab':
Don't clean up wallpaper map entry when stopping a user.
2012-10-30 17:49:05 -07:00
Amith Yamasani
bd2f51c5f1
am e3d8774d: am a07d047f: Merge "Don\'t clean up wallpaper map entry when stopping a user." into jb-mr1-dev
...
* commit 'e3d8774d30a8e86803e9ee6e92c435326819337a':
Don't clean up wallpaper map entry when stopping a user.
2012-10-30 17:46:27 -07:00
Chet Haase
63f80350dc
am 27f752eb: Merge "WindowManager shouldn\'t layout non-visible windows" into jb-mr1-dev
...
* commit '27f752eb1d5c0f92fb38e7d6d0ea20b3b3b26a02':
WindowManager shouldn't layout non-visible windows
2012-10-30 17:45:57 -07:00
Amith Yamasani
e3d8774d30
am a07d047f: Merge "Don\'t clean up wallpaper map entry when stopping a user." into jb-mr1-dev
...
* commit 'a07d047f34b28fdf7b3b342ceb31c8c982b24fd8':
Don't clean up wallpaper map entry when stopping a user.
2012-10-30 17:44:04 -07:00
Chet Haase
27f752eb1d
Merge "WindowManager shouldn't layout non-visible windows" into jb-mr1-dev
2012-10-30 17:42:43 -07:00
Amith Yamasani
a07d047f34
Merge "Don't clean up wallpaper map entry when stopping a user." into jb-mr1-dev
2012-10-30 17:40:13 -07:00
Dianne Hackborn
3b8ee1686b
am 7913a867: am 5b285941: am 77101993: Merge "Bring up unlock screen for FLAG_DISMISS_KEYGUARD." into jb-mr1-dev
...
* commit '7913a867a1edf65b438f111ef4becb4a0c597600':
Bring up unlock screen for FLAG_DISMISS_KEYGUARD.
2012-10-30 16:45:07 -07:00
Dianne Hackborn
7913a867a1
am 5b285941: am 77101993: Merge "Bring up unlock screen for FLAG_DISMISS_KEYGUARD." into jb-mr1-dev
...
* commit '5b285941acf39da30b45c72fb1422cb2c39295ba':
Bring up unlock screen for FLAG_DISMISS_KEYGUARD.
2012-10-30 16:42:33 -07:00
Dianne Hackborn
5b285941ac
am 77101993: Merge "Bring up unlock screen for FLAG_DISMISS_KEYGUARD." into jb-mr1-dev
...
* commit '7710199376657415e5341f64a830aa50fcb117aa':
Bring up unlock screen for FLAG_DISMISS_KEYGUARD.
2012-10-30 16:39:53 -07:00
Chet Haase
9cceae9a5f
WindowManager shouldn't layout non-visible windows
...
A recent change in WindowManager made background windows perform layout
(when they should really be left alone). This resulted in artifacts
where rotating the device and then going to a backgrojnd activity (launcher,
Recents) would briefly show that activity in the wrong size/orientation, then
flash to the correct one after a proper layout.
This fix is a simple workaround, leaving in the original fix that the code
change addressed (for keyguard orientation changes), while going back to the
previous (don't layout gone windows) for all other cases.
Issue #7428221 sometimes recents is drawn off-center and then fixes itself
Change-Id: I41b47933c2bd86f29133853d3387bb7294be8f48
2012-10-30 16:35:45 -07:00
Amith Yamasani
2c7ebeae9f
Relax permission requirements for posting notifications across users
...
Bug: 7430689
Change-Id: I2430b20137705ed2d6dc0f870690acda0662392b
2012-10-30 16:12:54 -07:00
Amith Yamasani
0c29371712
Don't clean up wallpaper map entry when stopping a user.
...
Sometimes on quickly stopping and starting a user, a race condition
causes the user entry to disappear, causing crashes in Launcher and
SystemUI. Removing this step, since it doesn't really leave much
residue behind.
Bug: 7434849
Change-Id: Ia188602f1a79f75d307397459c2a03fadee4c722
2012-10-30 12:23:52 -07:00
Craig Mautner
ad09bccfe4
Bring up unlock screen for FLAG_DISMISS_KEYGUARD.
...
Widgets that did not launch Activitys would not display the unlock
screens when they were tapped. Now any window that is shown with
FLAG_DISMISS_KEYGUARD set while the keyguard is locked will
cause the unlock screen to be displayed.
Bug: 7301530 fixed.
Change-Id: I90d11b52d2b63260bdb5f2b6eb7e98eb7a4d9331
2012-10-30 12:08:22 -07:00
Dianne Hackborn
bfaf16778b
am 441fcb3c: am ef3aab13: am 44251a70: Merge "Work on issue #7343200 : Fails to show wallpaper in the background..." into jb-mr1-dev
...
* commit '441fcb3cab72f6d61c010c0a586461986950fd43':
Work on issue #7343200 : Fails to show wallpaper in the background...
2012-10-30 10:55:01 -07:00
Dianne Hackborn
441fcb3cab
am ef3aab13: am 44251a70: Merge "Work on issue #7343200 : Fails to show wallpaper in the background..." into jb-mr1-dev
...
* commit 'ef3aab130c95fbfb03e056ffdb7819b485c06398':
Work on issue #7343200 : Fails to show wallpaper in the background...
2012-10-30 10:52:22 -07:00
Dianne Hackborn
ef3aab130c
am 44251a70: Merge "Work on issue #7343200 : Fails to show wallpaper in the background..." into jb-mr1-dev
...
* commit '44251a70edba3e950aab1f706e1ff34e2fa4dfae':
Work on issue #7343200 : Fails to show wallpaper in the background...
2012-10-30 10:49:21 -07:00
Dianne Hackborn
44251a70ed
Merge "Work on issue #7343200 : Fails to show wallpaper in the background..." into jb-mr1-dev
2012-10-30 10:45:49 -07:00