summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author shawnlin <shawnlin@google.com> 2022-02-17 20:12:37 +0800
committer shawnlin <shawnlin@google.com> 2022-03-08 16:00:22 +0800
commit10d7cb3c0f587eba5608f6e32f4f1339ef6680fd (patch)
tree5543670d5c6612bea4266005ac25890bc13328ee /libs/androidfw/StringPool.cpp
parentabd62d1f0f53de4ea433038727aa242ef0f7591e (diff)
Exclude nav bar area from apps bounds when in kids mode
GKS requested that app's bounds should not overlap with the nav bar area when kids mode is enabled except for Launcher. Creates a dedicate task organizer for kids mode. When kids mode is enabled, create a root task with its bounds excluding the nav bar area and tasks except launcher will be launched into it. Bug: 161689887 Test: manual: 1. adb shell settings put secure "nav_bar_force_visible" "1" 2. choose 3-buttons navigation mode in Settings>System>Gestures>System navigation 3. check winscope and see if bounds are set correctly Test: atest KidsModeTaskOrganizerTest Test: atest WindowOrganizerTests Change-Id: I93af1bc5b2696654d8ca5055dbbbebf5a41f89aa
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions