Apply Glif theme before using dynamic color.

As changes are being made to remove the dependency between dynamic
color and the glifv3 theme, this sets the Glif theme before calling
trySetDymanicColor, as requested.

Cherry-pick of ag/16941131

Bug: 219883252
Test: Build & flash; visual inspection
Change-Id: I04d33a769845e631b9aeff3e343a9c5109b4c92d
Merged-In: I04d33a769845e631b9aeff3e343a9c5109b4c92d
This commit is contained in:
Oli Lan
2022-02-18 17:54:06 +00:00
parent d62c6e6c7d
commit 7e0fe910d6

View File

@@ -81,6 +81,7 @@ public class AvatarPickerActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setTheme(R.style.SudThemeGlifV3_DayNight);
ThemeHelper.trySetDynamicColor(this);
setContentView(R.layout.avatar_picker);
setUpButtons();