Loading core/java/android/app/Activity.java +1 −1 Original line number Diff line number Diff line Loading @@ -1342,6 +1342,7 @@ public class Activity extends ContextThemeWrapper if (DEBUG_LIFECYCLE) Slog.v(TAG, "onResume " + this); getApplication().dispatchActivityResumed(this); mActivityTransitionState.onResume(this, isTopOfTask()); enableAutofillCompatibilityIfNeeded(); if (mAutoFillResetNeeded) { if (!mAutoFillIgnoreFirstResumePause) { View focus = getCurrentFocus(); Loading Loading @@ -7108,7 +7109,6 @@ public class Activity extends ContextThemeWrapper mWindow.setColorMode(info.colorMode); setAutofillCompatibilityEnabled(application.isAutofillCompatibilityEnabled()); enableAutofillCompatibilityIfNeeded(); } private void enableAutofillCompatibilityIfNeeded() { Loading core/java/android/view/autofill/AutofillManager.java +4 −0 Original line number Diff line number Diff line Loading @@ -44,6 +44,7 @@ import android.service.autofill.UserData; import android.util.ArrayMap; import android.util.ArraySet; import android.util.Log; import android.util.Slog; import android.util.SparseArray; import android.view.Choreographer; import android.view.KeyEvent; Loading Loading @@ -548,6 +549,9 @@ public final class AutofillManager { // different bridge based on which activity is currently focused // in the current process. Since compat would be rarely used, just // create and register a new instance every time. if (sDebug) { Slog.d(TAG, "creating CompatibilityBridge for " + mContext); } mCompatibilityBridge = new CompatibilityBridge(); } } Loading Loading
core/java/android/app/Activity.java +1 −1 Original line number Diff line number Diff line Loading @@ -1342,6 +1342,7 @@ public class Activity extends ContextThemeWrapper if (DEBUG_LIFECYCLE) Slog.v(TAG, "onResume " + this); getApplication().dispatchActivityResumed(this); mActivityTransitionState.onResume(this, isTopOfTask()); enableAutofillCompatibilityIfNeeded(); if (mAutoFillResetNeeded) { if (!mAutoFillIgnoreFirstResumePause) { View focus = getCurrentFocus(); Loading Loading @@ -7108,7 +7109,6 @@ public class Activity extends ContextThemeWrapper mWindow.setColorMode(info.colorMode); setAutofillCompatibilityEnabled(application.isAutofillCompatibilityEnabled()); enableAutofillCompatibilityIfNeeded(); } private void enableAutofillCompatibilityIfNeeded() { Loading
core/java/android/view/autofill/AutofillManager.java +4 −0 Original line number Diff line number Diff line Loading @@ -44,6 +44,7 @@ import android.service.autofill.UserData; import android.util.ArrayMap; import android.util.ArraySet; import android.util.Log; import android.util.Slog; import android.util.SparseArray; import android.view.Choreographer; import android.view.KeyEvent; Loading Loading @@ -548,6 +549,9 @@ public final class AutofillManager { // different bridge based on which activity is currently focused // in the current process. Since compat would be rarely used, just // create and register a new instance every time. if (sDebug) { Slog.d(TAG, "creating CompatibilityBridge for " + mContext); } mCompatibilityBridge = new CompatibilityBridge(); } } Loading