— a/hardware/libhardware/modules/hw_output/hw_output.cpp
+++ b/hardware/libhardware/modules/hw_output/hw_output.cpp
@@ -54,7 +54,7 @@ std::map<int,DrmConnector*> mGlobalConns;
static int dbgLevel = 3;
#define LOG_INFO(format, …)
do {\
-
if (dbgLevel < LOG_LEVEL_INFO)\
-
} while(0)if (dbgLevel < LOG_LEVEL_ERROR)\ break;\ ALOGD("%s[%d]" format, __FUNCTION__, __LINE__, ##_VA_ARGS__); \
diff --git a/frameworks/base/core/java/android/os/RkDisplayOutputManager.java b/frameworks/base/core/java/android/os/RkDisplayOutputManager.java
old mode 100644
new mode 100755
index 997430dc6c…000f964d19
— a/frameworks/base/core/java/android/os/RkDisplayOutputManager.java
+++ b/frameworks/base/core/java/android/os/RkDisplayOutputManager.java
@@ -289,6 +289,8 @@ public class RkDisplayOutputManager {
public int getCurrentInterface(int display) {
try {
String iface = mService.getCurrentInterface(display);
+
+
return ifacetotype(iface);
} catch (Exception e) {
Log.e(TAG, “Error get current Interface :” + e);
diff --git a/frameworks/base/services/core/java/com/android/server/rkdisplay/RkDisplayModes.java b/frameworks/base/services/core/java/com/android/server/rkdisplay/RkDisplayModes.java
old mode 100644
new mode 100755
index 00bd7b35cd…a4990b3367
— a/frameworks/base/services/core/java/com/android/server/rkdisplay/RkDisplayModes.j