rk3288 android 7.1 永不休眠

 rk3288 android 7.1 永不休眠_第1张图片

--- a/device/rockchip/rk3288/BoardConfig.mk
+++ b/device/rockchip/rk3288/BoardConfig.mk
@@ -55,6 +55,11 @@ DEVICE_PACKAGE_OVERLAYS += device/rockchip/rk3288/overlay_screenoff
 PRODUCT_PROPERTY_OVERRIDES += \
         ro.target.product=box
 else
+  ifeq ($(strip $(TARGET_PRODUCT)),rk3288_xxx)
+  DEVICE_PACKAGE_OVERLAYS += device/rockchip/rk3288/overlay_screenoff
+  PRODUCT_PROPERTY_OVERRIDES += \
+        ro.target.product=tablet
+else
   ifeq ($(strip $(TARGET_BOARD_PLATFORM_PRODUCT)), tablet)
   PRODUCT_PROPERTY_OVERRIDES += \
         ro.target.product=tablet
@@ -62,6 +67,7 @@ else
      ro.target.product=vr
   endif
 endif
+endif
diff --git a/device/rockchip/rk3288/rk3288_xxx/system.prop b/device/rockchip/rk3288/rk3288_xxx/system.prop
index 4e588e7..a125912 100755
--- a/device/rockchip/rk3288/rk3288_xxx/system.prop
+++ b/device/rockchip/rk3288/rk3288_xxx/system.prop
@@ -18,7 +18,7 @@ debug.nfc.fw_download=false
 debug.nfc.se=false
 
 #add Rockchip properties here
-ro.rk.screenoff_time=60000
+ro.rk.screenoff_time=2147483647
 ro.rk.screenshot_enable=true
 ro.rk.def_brightness=200
 ro.rk.homepage_base=http://www.google.com/webhp?client={CID}&source=android-home

 

你可能感兴趣的:(rockchip,device)