commit | e742ef96e1db2c8b25dae41f6ae12b6aafcc0b72 | [log] [tgz] |
---|---|---|
author | Michael Bestas <mkbestas@lineageos.org> | Thu May 05 13:48:06 2022 +0300 |
committer | Michael Bestas <mkbestas@lineageos.org> | Sat May 07 19:54:29 2022 +0200 |
tree | b7c88db52d1b51cd58765cc48aaac2761bd05c2e | |
parent | 64b09c4502ec1952559d3da633b8d5ef1f20ebdb [diff] |
Revert "Settings: Fix NPE when launching accessibility settings from GMS SUW" This reverts commit a60eef3b5bce2ad59a3da0ed9e72b497d4eb8699. Change-Id: Iff49e2b50479ee4bd8a50933a048324eb23e9323
diff --git a/src/com/android/settings/accessibility/AccessibilitySettingsForSetupWizardActivity.java b/src/com/android/settings/accessibility/AccessibilitySettingsForSetupWizardActivity.java index 255c6ac..74e5255 100644 --- a/src/com/android/settings/accessibility/AccessibilitySettingsForSetupWizardActivity.java +++ b/src/com/android/settings/accessibility/AccessibilitySettingsForSetupWizardActivity.java
@@ -107,9 +107,7 @@ super.onCreate(savedState); applyTheme(); tryLaunchFontSizeSettings(); - if (mCollapsingToolbarLayout != null) { - mCollapsingToolbarLayout.setVisibility(View.GONE); - } + mCollapsingToolbarLayout.setVisibility(View.GONE); findViewById(R.id.content_parent).setFitsSystemWindows(false); }