Merge "Refine Activity.isVisibleForAutofill() to let it more readable"

This commit is contained in:
Joanne Chung
2021-08-24 11:34:25 +00:00
committed by Android (Google) Code Review
2 changed files with 2 additions and 2 deletions

View File

@@ -8411,7 +8411,7 @@ public class Activity extends ContextThemeWrapper
* @hide
*/
public final boolean isVisibleForAutofill() {
return mStopped;
return !mStopped;
}
/**

View File

@@ -324,7 +324,7 @@ public final class AutofillClientController implements AutofillManager.AutofillC
@Override
public boolean autofillClientIsVisibleForAutofill() {
return !mActivity.isVisibleForAutofill();
return mActivity.isVisibleForAutofill();
}
@Override