Loading policy/src/com/android/internal/policy/impl/PhoneWindowManager.java +2 −3 Original line number Diff line number Diff line Loading @@ -1309,9 +1309,8 @@ public class PhoneWindowManager implements WindowManagerPolicy { private void launchCameraAction() { sendCloseSystemWindows(); Intent intent = new Intent(Intent.ACTION_CAMERA_BUTTON, null); mContext.sendOrderedBroadcastAsUser(intent, UserHandle.CURRENT_OR_SELF, null, null, null, 0, null, null); Intent intent = new Intent(MediaStore.INTENT_ACTION_STILL_IMAGE_CAMERA); startActivityAsUser(intent, UserHandle.CURRENT_OR_SELF); } private void performKeyAction(int behavior) { Loading Loading
policy/src/com/android/internal/policy/impl/PhoneWindowManager.java +2 −3 Original line number Diff line number Diff line Loading @@ -1309,9 +1309,8 @@ public class PhoneWindowManager implements WindowManagerPolicy { private void launchCameraAction() { sendCloseSystemWindows(); Intent intent = new Intent(Intent.ACTION_CAMERA_BUTTON, null); mContext.sendOrderedBroadcastAsUser(intent, UserHandle.CURRENT_OR_SELF, null, null, null, 0, null, null); Intent intent = new Intent(MediaStore.INTENT_ACTION_STILL_IMAGE_CAMERA); startActivityAsUser(intent, UserHandle.CURRENT_OR_SELF); } private void performKeyAction(int behavior) { Loading