diff options
author | Wally Yau <wyau@google.com> | 2018-01-09 11:20:58 -0800 |
---|---|---|
committer | Wally Yau <wyau@google.com> | 2018-01-09 11:20:58 -0800 |
commit | 7356cedb4efe3f90c03c04a971227e00d6b10821 (patch) | |
tree | e6458d2159b6bce85080ab0b34b708f8524a1af4 /overlay | |
parent | c22c3b53833349d52e2a93923a0adf1376512785 (diff) | |
download | device_google_atv-7356cedb4efe3f90c03c04a971227e00d6b10821.tar.gz device_google_atv-7356cedb4efe3f90c03c04a971227e00d6b10821.tar.bz2 device_google_atv-7356cedb4efe3f90c03c04a971227e00d6b10821.zip |
Overlay longPressOnHomeBehavior to Launch all apps
frameworks/base/core/res/res/values-large/config.xml sets
the longPressOnHomeBehavior to zero. As a result, when
the ActivityManager switched the config to large, the value
was set to zero. This value should be one for Android TV.
Bug: b/71745712
Test: Long press on Home key to get the all apps window
Change-Id: I7b6bf6fdfdfd1cfa93cba0c57b88c65e8b6bdfb6
Diffstat (limited to 'overlay')
-rw-r--r-- | overlay/frameworks/base/core/res/res/values-large/config.xml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/overlay/frameworks/base/core/res/res/values-large/config.xml b/overlay/frameworks/base/core/res/res/values-large/config.xml new file mode 100644 index 0000000..c4ef88c --- /dev/null +++ b/overlay/frameworks/base/core/res/res/values-large/config.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2017 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> + <!-- Control the behavior when the user long presses the home button. + 0 - Nothing + 1 - Launch all apps intent + 2 - Launch assist intent + This needs to match the constants in + policy/src/com/android/internal/policy/impl/PhoneWindowManager.java + --> + <integer name="config_longPressOnHomeBehavior">1</integer> +</resources> |