Issue 1401973: A dialog with menu has wrong menu placement
Issue 2111181: status bar overlaps the more menu in browser
Menus are now dialog panels, so they are placed within the entire
screen and not attached to their parent window.
Change-Id: Ia9702d5e30a6ba5ebb0254abe6a94cbbdfa9866d
We now use the new tracking and long press dispatching in the framework
to greatly simplify this code.
Change-Id: I4c0ed51dc2d07ed3bb20c64c67eede83bdb123b9
When a user hits the 'forgot pattern' button, they aren't permanently forced into
using the account to unlock the screen; they can get back to the pattern screen by
hitting the back key, or by turning off the screen (e.g it's not sticky).
Also, show progress dialog while checking account, and make sure we are on the UI thread
when doing stuff from the account callback.
Re-arrange various things to ensure that the search dialog is told about system windows being
closed before it is told about the navigation back to home.
Merge commit '1d903521ffc93b5128ebc445d7dd046ee0d5fbc4'
* commit '1d903521ffc93b5128ebc445d7dd046ee0d5fbc4':
have "search" as the reason when dismissing system dialogs for search.
this way search can't dismiss itself. can't use the constant because it is
in policy. would rather leave it this way instead of moving constants for
system dialog dismissal to framework.
Merge commit '83cf383bf462ecb53b4233fc3ae7f1202938d80b'
* commit '83cf383bf462ecb53b4233fc3ae7f1202938d80b':
Close the global actions menu when the screen goes off.
Previously, the global actions menu was closed when the keyguard was shown, but
when the menu was shown from within the keyguard, it wasn't closed ever again
when the screen goes off. That had the result that if your pocket managed to
bring up the dialog, the menu would likely never go away on its own, and
eventually do something awful like go into airplane mode.
Merge commit '5785bc2dad36c7ad34a548865ba77c04c46ed097'
* commit '5785bc2dad36c7ad34a548865ba77c04c46ed097':
Dismiss system windows when search is launched.
Merge commit 'ee09f4ad02d04066e2ded84471e1940e91d458c8'
* commit 'ee09f4ad02d04066e2ded84471e1940e91d458c8':
Fix case where the lock screen information won't fit on screen.
Merge commit '7baa113d5793e5cf9df15c8ffdac117672ee8af0'
* commit '7baa113d5793e5cf9df15c8ffdac117672ee8af0':
When the sim is missing, show "press menu to unlock or place emergency call" on lock screen instead of just "press menu to unlock".
Merge commit '09ac6a4ea898221dfc338003683bb3a34f2d30a8'
* commit '09ac6a4ea898221dfc338003683bb3a34f2d30a8':
Fixes#1414069. Display recent activities with two lines of text.
Merge commit '525258d21cf9570461507f3668e24668e18c9f99'
* commit '525258d21cf9570461507f3668e24668e18c9f99':
Pick the right rotation based on window's width/height.
Merge commit '6e09858c0bd13a321ed716b670b361e62b1536e4'
* commit '6e09858c0bd13a321ed716b670b361e62b1536e4':
Don't enforce that search dialog is a singleton.
There was code in PhoneWindowManager from last time when
the search dialog was a system dialog that caused an exception
if the search was added to the window manager twice.
Generally there should only be one search bar, but because
window manager calls are asynchronous and don't execute in order,
we can't be sure that a call to stopSearch() has removed the search
dialog before a subsequent call to startSearch() tries to add it again.
SearchManagerTest.testSearchManagerFastInvocations() crashed the system
process before this change.
Merge commit '540d7de241b39b28480bf4b1bf6870307935fd8b'
* commit '540d7de241b39b28480bf4b1bf6870307935fd8b':
Implement support for new second-level media window type.