diff options
author | John Spurlock <jspurlock@google.com> | 2013-08-10 06:52:28 -0400 |
---|---|---|
committer | John Spurlock <jspurlock@google.com> | 2013-08-13 13:18:14 -0400 |
commit | 34e13d90eda9bfda7a70998d190a95c88aa3d3d1 (patch) | |
tree | 07899960bd361f8afe27f26928f2d82d19d16457 /wifi | |
parent | 43e56c4a911c8d192b3e8cc1c6de664e8755cb73 (diff) | |
download | frameworks_base-34e13d90eda9bfda7a70998d190a95c88aa3d3d1.zip frameworks_base-34e13d90eda9bfda7a70998d190a95c88aa3d3d1.tar.gz frameworks_base-34e13d90eda9bfda7a70998d190a95c88aa3d3d1.tar.bz2 |
Update transient navigation confirmation logic.
Show the confirmation toast when hiding the transient
navigation bar only the first time per app, per reboot.
Hitting the power key while the transient nav is hidden
is taken as a signal of possible user confusion, so reshow
the prompt the next time.
This requires the confirmation prompt to live in policy
(not sysui). It arguably should have been here in the first
place, since the transient bar state/policy was here, and
sysui should not have not been able to fail to display
the prompt correctly.
Also take this opportunity to remove a hack wrt positioning
the confirmation properly while the nav bar is transitioning.
Toasts now support LAYOUT_HIDE_NAVIGATION if applied to the
toast's view.
Bug: 10246225
Change-Id: Ieb6355e4ca975c0758918a39e3c2ec13da81c7f4
Diffstat (limited to 'wifi')
0 files changed, 0 insertions, 0 deletions