summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorwilsonshih <wilsonshih@google.com>2021-11-25 18:03:31 +0800
committerWei Sheng Shih <wilsonshih@google.com>2021-12-01 01:40:11 +0000
commit44f5e52d5335b95b87de1d046042e090510d282e (patch)
tree7b4041b4731630a66a34477d897a5a52e376ed91 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentf1650d861b81d449b689985199961e652a2fc657 (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 when launch app from Launcher. Test: atest SplashscreenTests Bug: 206746601 Change-Id: I105e2fcfc7a6ee8de7f442931cbeb4b6e517850d Merged-In: I105e2fcfc7a6ee8de7f442931cbeb4b6e517850d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions