samsung: doze: use ScreenType util from cmsdk
authorMichael Bestas <mikeioannina@gmail.com>
Tue, 1 Dec 2015 22:24:07 +0000 (16:24 -0600)
committerJan Altensen <info@stricted.net>
Fri, 20 Mar 2020 13:56:34 +0000 (14:56 +0100)
Change-Id: I73b610bc71bf07b2fdedb1d5c5931e90f1e6de0f

doze/Android.mk
doze/src/com/cyanogenmod/settings/device/TouchscreenGestureSettings.java

index 6d597c6de7ce81b35efaefb30543790ce1f66885..015d8019cf57f591bca8b6eba1402cf6eb76279b 100644 (file)
@@ -9,6 +9,9 @@ LOCAL_PACKAGE_NAME := SamsungDoze
 LOCAL_CERTIFICATE := platform
 LOCAL_PRIVILEGED_MODULE := true
 
+LOCAL_STATIC_JAVA_LIBRARIES := \
+    org.cyanogenmod.platform.internal
+
 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
 
 include $(BUILD_PACKAGE)
index 5b69988f169c747a4bb3c30a1fd4d66d7c4617ad..73914f0e400c01122cae094aa419817a84bf26f3 100644 (file)
@@ -16,8 +16,6 @@
 
 package com.cyanogenmod.settings.device;
 
-import com.android.internal.util.cm.ScreenType;
-
 import android.app.ActionBar;
 import android.os.Bundle;
 import android.preference.Preference;
@@ -27,6 +25,8 @@ import android.provider.Settings;
 import android.view.Menu;
 import android.view.MenuItem;
 
+import org.cyanogenmod.internal.util.ScreenType;
+
 public class TouchscreenGestureSettings extends PreferenceActivity {
 
     private static final String KEY_AMBIENT_DISPLAY_ENABLE = "ambient_display_enable";