diff --git a/frameworks/base/services/core/jni/com_android_server_input_InputManagerService.cpp b/frameworks/base/services/core/jni/com_android_server_input_InputMa
nagerService.cpp
index 30f4929..f866dda 100644
--- a/frameworks/base/services/core/jni/com_android_server_input_InputManagerService.cpp
+++ b/frameworks/base/services/core/jni/com_android_server_input_InputManagerService.cpp
@@ -324,10 +324,12 @@ NativeInputManager::NativeInputManager(jobject contextObj,
mLocked.pointerGesturesEnabled = true;
mLocked.showTouches = false;
mLocked.hardwareRotation = 0;
+ #if 0
char property[PROPERTY_VALUE_MAX];
if (property_get("ro.sf.hwrotation", property, "0") > 0) {
mLocked.hardwareRotation = atoi(property) / 90;
}
+ #endif
}
mInteractive = true;
--
修改ro.sf.hwrotation 後hdmi usb 觸摸不準問題
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.