diff options
| author | 2017-11-09 19:25:24 +0000 | |
|---|---|---|
| committer | 2017-11-10 18:11:30 +0000 | |
| commit | b34cad00d374e09eed4df028dee5f82ea32a07d7 (patch) | |
| tree | b3ee59b1860689e050521d00a34f30f3c410db4c | |
| parent | 4dc3289c942398507a8b6240559da599d11a3284 (diff) | |
Revert "Enable new initial-focus behavior for P"
This reverts commit 4dc3289c942398507a8b6240559da599d11a3284.
Reason for revert: Pushback from bundled apps.
Bug: 68841055
Bug: 34520588
Change-Id: Id771a11c9b44baf5810240cca164bae9f468b5ad
| -rw-r--r-- | core/java/android/view/ViewRootImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/view/ViewRootImpl.java b/core/java/android/view/ViewRootImpl.java index e528839eb72d..415aad54ee78 100644 --- a/core/java/android/view/ViewRootImpl.java +++ b/core/java/android/view/ViewRootImpl.java @@ -512,7 +512,7 @@ public final class ViewRootImpl implements ViewParent, mDisplayManager = (DisplayManager)context.getSystemService(Context.DISPLAY_SERVICE); if (!sCompatibilityDone) { - sAlwaysAssignFocus = mTargetSdkVersion < Build.VERSION_CODES.P; + sAlwaysAssignFocus = true; sCompatibilityDone = true; } |