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 /packages/SystemUI/res/values-land | |
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 'packages/SystemUI/res/values-land')
-rw-r--r-- | packages/SystemUI/res/values-land/refs.xml | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/packages/SystemUI/res/values-land/refs.xml b/packages/SystemUI/res/values-land/refs.xml deleted file mode 100644 index 62fb77d..0000000 --- a/packages/SystemUI/res/values-land/refs.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - * Copyright (c) 2013, The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. -*/ ---> -<resources> - <item type="string" name="hiding_navigation_confirmation_message">@string/hiding_navigation_confirmation_message_long</item> -</resources> |