Suppress shared axis transition on Brightness level

The brightness bar is a dialog activity. If the shared axis transition
is applied, we'll see an empty page appears with a seek bar on the top,
which is not ideal. Hence, suppress the transition to keep the original
behaviour.

Fixes: 189076430
Test: robotest and test on the brightness level
Change-Id: I1572c31f09d8c6bb3b2c906f6211ed9b97024439
This commit is contained in:
Yi-Ling Chuang
2021-05-24 18:15:01 +08:00
parent 8db5cb03eb
commit eed791e238
3 changed files with 46 additions and 3 deletions

View File

@@ -30,7 +30,6 @@
settings:keywords="@string/keywords_display_brightness_level"
settings:useAdminDisabledSummary="true"
settings:userRestriction="no_config_brightness">
<intent android:action="com.android.intent.action.SHOW_BRIGHTNESS_DIALOG"/>
</com.android.settingslib.RestrictedPreference>
<com.android.settings.widget.PrimarySwitchPreference