From: Michael Bestas Date: Tue, 1 Dec 2015 22:24:07 +0000 (-0600) Subject: samsung: doze: use ScreenType util from cmsdk X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=585154922b672ce7bc81cd89d6f0feed289ce736;p=GitHub%2FLineageOS%2Fandroid_hardware_samsung.git samsung: doze: use ScreenType util from cmsdk Change-Id: I73b610bc71bf07b2fdedb1d5c5931e90f1e6de0f --- diff --git a/doze/Android.mk b/doze/Android.mk index 6d597c6..015d801 100644 --- a/doze/Android.mk +++ b/doze/Android.mk @@ -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) diff --git a/doze/src/com/cyanogenmod/settings/device/TouchscreenGestureSettings.java b/doze/src/com/cyanogenmod/settings/device/TouchscreenGestureSettings.java index 5b69988..73914f0 100644 --- a/doze/src/com/cyanogenmod/settings/device/TouchscreenGestureSettings.java +++ b/doze/src/com/cyanogenmod/settings/device/TouchscreenGestureSettings.java @@ -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";