diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2015-10-08 07:41:15 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2015-10-08 07:42:49 -0700 |
commit | bbf0184603ce9395173f5e412d8188b4b0910f9e (patch) | |
tree | 7161ecb8ea0fd695ee68e95a40aaec3e062b8425 /src/com | |
parent | d306055f2d7750df08d9dfb9f630517e0b43f6eb (diff) | |
download | android_packages_apps_Trebuchet-bbf0184603ce9395173f5e412d8188b4b0910f9e.tar.gz android_packages_apps_Trebuchet-bbf0184603ce9395173f5e412d8188b4b0910f9e.tar.bz2 android_packages_apps_Trebuchet-bbf0184603ce9395173f5e412d8188b4b0910f9e.zip |
Using 23 instead of Build.Versoin.M until the final SDK is available.
Change-Id: I9f8f6fe049afcd0ceb0797ddc803a2e77bab0437
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/android/launcher3/InvariantDeviceProfile.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/launcher3/InvariantDeviceProfile.java b/src/com/android/launcher3/InvariantDeviceProfile.java index 631333b2d..5914f4475 100644 --- a/src/com/android/launcher3/InvariantDeviceProfile.java +++ b/src/com/android/launcher3/InvariantDeviceProfile.java @@ -20,7 +20,6 @@ import android.annotation.TargetApi; import android.app.ActivityManager; import android.content.Context; import android.graphics.Point; -import android.os.Build; import android.util.DisplayMetrics; import android.view.Display; import android.view.WindowManager; @@ -120,7 +119,7 @@ public class InvariantDeviceProfile { defaultLayoutId = dlId; } - @TargetApi(Build.VERSION_CODES.M) + @TargetApi(23) InvariantDeviceProfile(Context context) { WindowManager wm = (WindowManager) context.getSystemService(Context.WINDOW_SERVICE); Display display = wm.getDefaultDisplay(); |