Merge "Disable animations of deep link homepages to reduce the shortcut flicker" into sc-v2-dev

This commit is contained in:
Jason Chiu
2021-12-03 07:01:16 +00:00
committed by Android (Google) Code Review
2 changed files with 6 additions and 2 deletions

View File

@@ -147,7 +147,7 @@
<!-- Activity for launching deep link page in 2-pane. -->
<activity android:name=".homepage.DeepLinkHomepageActivity"
android:label="@string/settings_label_launcher"
android:theme="@style/Theme.Settings.Home"
android:theme="@style/Theme.Settings.Home.DeepLink"
android:taskAffinity=""
android:launchMode="singleTask"
android:exported="true"
@@ -163,7 +163,7 @@
<activity android:name=".homepage.SliceDeepLinkHomepageActivity"
android:label="@string/settings_label_launcher"
android:theme="@style/Theme.Settings.Home"
android:theme="@style/Theme.Settings.Home.DeepLink"
android:taskAffinity=""
android:launchMode="singleTask"
android:exported="false"

View File

@@ -220,6 +220,10 @@
<item name="android:statusBarColor">?attr/colorPrimaryDark</item>
</style>
<style name="Theme.Settings.Home.DeepLink">
<item name="android:windowAnimationStyle">@null</item>
</style>
<style name="Theme.Settings.ContextualCard" parent="Theme.Settings.Home">
<item name="android:textAppearanceListItem">@style/TextAppearance.HomepageCardTitle</item>
</style>