Merge "Increase priority for broadcast intent triggered by HW key" into nyc-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
72f2597b17
@@ -150,6 +150,7 @@ public class PhoneFallbackEventHandler implements FallbackEventHandler {
|
||||
sendCloseSystemWindows();
|
||||
// Broadcast an intent that the Camera button was longpressed
|
||||
Intent intent = new Intent(Intent.ACTION_CAMERA_BUTTON, null);
|
||||
intent.addFlags(Intent.FLAG_RECEIVER_FOREGROUND);
|
||||
intent.putExtra(Intent.EXTRA_KEY_EVENT, event);
|
||||
mContext.sendOrderedBroadcastAsUser(intent, UserHandle.CURRENT_OR_SELF,
|
||||
null, null, null, 0, null, null);
|
||||
|
||||
Reference in New Issue
Block a user