Loading core/java/android/app/Activity.java +10 −7 Original line number Diff line number Diff line Loading @@ -3499,7 +3499,9 @@ public class Activity extends ContextThemeWrapper } // Get the primary color and update the RecentsActivityValues for this activity TypedArray a = getTheme().obtainStyledAttributes(com.android.internal.R.styleable.Theme); Resources.Theme tmpTheme = getTheme(); if (tmpTheme != null) { TypedArray a = tmpTheme.obtainStyledAttributes(com.android.internal.R.styleable.Theme); int colorPrimary = a.getColor(com.android.internal.R.styleable.Theme_colorPrimary, 0); a.recycle(); if (colorPrimary != 0) { Loading @@ -3508,6 +3510,7 @@ public class Activity extends ContextThemeWrapper setRecentsActivityValues(v); } } } /** * Same as calling {@link #startActivityForResult(Intent, int, Bundle)} Loading Loading
core/java/android/app/Activity.java +10 −7 Original line number Diff line number Diff line Loading @@ -3499,7 +3499,9 @@ public class Activity extends ContextThemeWrapper } // Get the primary color and update the RecentsActivityValues for this activity TypedArray a = getTheme().obtainStyledAttributes(com.android.internal.R.styleable.Theme); Resources.Theme tmpTheme = getTheme(); if (tmpTheme != null) { TypedArray a = tmpTheme.obtainStyledAttributes(com.android.internal.R.styleable.Theme); int colorPrimary = a.getColor(com.android.internal.R.styleable.Theme_colorPrimary, 0); a.recycle(); if (colorPrimary != 0) { Loading @@ -3508,6 +3510,7 @@ public class Activity extends ContextThemeWrapper setRecentsActivityValues(v); } } } /** * Same as calling {@link #startActivityForResult(Intent, int, Bundle)} Loading