OSDN Git Service

Change screen pinning back to old gesture
authorJorim Jaggi <jjaggi@google.com>
Wed, 14 Dec 2016 19:02:39 +0000 (11:02 -0800)
committerJorim Jaggi <jjaggi@google.com>
Wed, 28 Dec 2016 13:56:17 +0000 (05:56 -0800)
commit4e723e60877d3557697fb097e42153fd59cdbd8f
tree9becc8d0d4e558ca1f48b3ec46e1dc27ea7506f5
parentf755dfb89e8524cc5df399fe1ae2459c8a13489a
Change screen pinning back to old gesture

This makes the code a bit more complicated, but allows apps to
receive long-press back again and also makes the mode harder
to exit for toddlers.

Test: Without TalkBack enabled, make sure the following works:
- Enter multi-window mode with long pressing recents
- Long press back gets sent to the app.
- Enter screen pinning, make sure you can exit with gesture
Test: With TalkBack enabled, make sure the following works:
- Enter multi-window mode with long pressing recents
- Long press back gets sent to the app.
- Enter screen pinning, make sure you can exit with gesture
Merged-In: Icd7347aa9c60af00fdb0b3991baabb730552d097
Change-Id: Icd7347aa9c60af00fdb0b3991baabb730552d097
Fixes: 32440409
packages/SystemUI/res/layout/screen_pinning_request_buttons.xml
packages/SystemUI/res/layout/screen_pinning_request_buttons_land.xml
packages/SystemUI/res/values/strings.xml
packages/SystemUI/src/com/android/systemui/recents/ScreenPinningRequest.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java