Loading services/core/java/com/android/server/policy/PhoneWindowManager.java +3 −1 Original line number Diff line number Diff line Loading @@ -1508,7 +1508,9 @@ public class PhoneWindowManager implements WindowManagerPolicy { private void interceptScreenshotChord(int source, long pressDelay) { mHandler.removeMessages(MSG_SCREENSHOT_CHORD); mHandler.sendMessageDelayed(mHandler.obtainMessage(MSG_SCREENSHOT_CHORD, source), // arg2 is unused, but necessary to insure we call the correct method signature // since the screenshot source is read from message.arg1 mHandler.sendMessageDelayed(mHandler.obtainMessage(MSG_SCREENSHOT_CHORD, source, 0), pressDelay); } Loading Loading
services/core/java/com/android/server/policy/PhoneWindowManager.java +3 −1 Original line number Diff line number Diff line Loading @@ -1508,7 +1508,9 @@ public class PhoneWindowManager implements WindowManagerPolicy { private void interceptScreenshotChord(int source, long pressDelay) { mHandler.removeMessages(MSG_SCREENSHOT_CHORD); mHandler.sendMessageDelayed(mHandler.obtainMessage(MSG_SCREENSHOT_CHORD, source), // arg2 is unused, but necessary to insure we call the correct method signature // since the screenshot source is read from message.arg1 mHandler.sendMessageDelayed(mHandler.obtainMessage(MSG_SCREENSHOT_CHORD, source, 0), pressDelay); } Loading