Cleanup API checks for P, Q, and R.
Test: Build with gradle Flag: NA Change-Id: I3ef17090741d14bebd76cf09cf3dc5ac4f11e686
This commit is contained in:
1 parent
a601341ff5
commit
b922dccbf5
67 files changed
+117
-382
No files matched your search
@@ -581,9 +581,7 @@ public class Launcher extends StatefulActivity<LauncherState>
|
||||
mRotationHelper.initialize();
|
||||
TraceHelper.INSTANCE.endSection();
|
||||
|
||||
if (Utilities.ATLEAST_R) {
|
||||
getWindow().setSoftInputMode(LayoutParams.SOFT_INPUT_ADJUST_NOTHING);
|
||||
}
|
||||
getWindow().setSoftInputMode(LayoutParams.SOFT_INPUT_ADJUST_NOTHING);
|
||||
setTitle(R.string.home_screen);
|
||||
mStartupLatencyLogger.logEnd(LAUNCHER_LATENCY_STARTUP_ACTIVITY_ON_CREATE);
|
||||
|
||||
|
||||
Reference in new issue
Block a user