Do not override SUW Glif theme when onApplyThemeResource() callback
1. Accodring to settings & setupdesign lib theme architecture Only force apply sytle SetupWizardPartnerResource for current activity/contextThemeWrapper is sufficient, override GlifV3Theme again will cause incorrect resource mapping of private attributes. 2. Set Theme_AlertDialog style for AlertDialog in for Material design - FingerprintEnrollEnrolling - FingerprintEnrollFindSensor 3. Add test for AlertDialog theme, and fix broken test cases Fixes: 245684949 Bug: 249789759 Bug: 248994476 Test: manual in SUW `adb shell cmd uimode night yes` and check visual Test: manual in SUW enrolling check timeout dialog apply theme Test: manual in SUW enroll UDFPS tips lottie view showing expectedly Test: manual in SUW enroll UDFPS landscape showing correct layout Test: m RunSettingsRoboTests -j30 ROBOTEST_FILTER= \ SetupFingerprintEnrollFindSensorTest Test: m RunSettingsRoboTests -j30 ROBOTEST_FILTER= \ FingerprintEnrollEnrollingTest Test: m RunSettingsRoboTests -j30 ROBOTEST_FILTER= \ FingerprintEnrollFindSensorTest Change-Id: I17cbf26e38318e6681ba124d23bf86317a0f1e1d
Loading
Please register or sign in to comment