samsung: doze: use ScreenType util from cmsdk

Change-Id: I73b610bc71bf07b2fdedb1d5c5931e90f1e6de0f
tirimbino
Michael Bestas 9 years ago committed by Jan Altensen
parent e77e89d958
commit 585154922b
No known key found for this signature in database
GPG Key ID: 3E45BB95F7AD33DA
  1. 3
      doze/Android.mk
  2. 4
      doze/src/com/cyanogenmod/settings/device/TouchscreenGestureSettings.java

@ -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)

@ -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";

Loading…
Cancel
Save