summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author wilsonshih <wilsonshih@google.com> 2021-11-25 18:03:31 +0800
committer wilsonshih <wilsonshih@google.com> 2021-11-29 11:15:09 +0800
commita19270f2782c706d5c72d22669a26d0a874e76b6 (patch)
tree6299d1e547d81873160bf830a26eeb29459be45e /libs/input/PointerController.cpp
parent544739c611dbb7e3d3fe62b1710e5b7a07244f5a (diff)
Provide default splash screen style for Launcher and SystemUI.
Previous the splash screen style can either be EMPTY or ICON, and need to be set by new hidden API #setSplashscreenStyle, so the flag will always be "EMPTY" for those 3rd party Launcher Apps which may have not upgrade to targetSDK 31. To correct the default behaivor for Launcher Apps, create a new UNDEFINED style as default value for splashScreenStyle, and if the value is UNDEFINED, determine the style by checking the launch source. Test: Verify no change when default home is NexusLauncher. Test: Set 3rd-party Launcher as default home, verify the splash screen style should be ICON style when launch app from Launcher. Test: atest SplashscreenTests Bug: 206746601 Change-Id: I105e2fcfc7a6ee8de7f442931cbeb4b6e517850d
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions