WallpaperManagerCompat should target correct platform

Also replace Utilities.isAtLeastO() to static final constant.
Bug: 65544683

Change-Id: I39fbea66939d72c31702748716c4e65b4f9bee6a
This commit is contained in:
Hyunyoung Song
2017-09-11 11:18:03 -07:00
parent 9c1607886b
commit e24cb63b81
21 changed files with 41 additions and 38 deletions

View File

@@ -141,7 +141,7 @@ public class RequestPinItemTest extends AbstractLauncherUiTest {
private void runTest(String activityMethod, boolean isWidget, ItemOperator itemMatcher,
Intent... commandIntents) throws Throwable {
if (!Utilities.isAtLeastO()) {
if (!Utilities.ATLEAST_OREO) {
return;
}
lockRotation(true);