Merge "Don't try to launch broadcast receivers during boot" into lmp-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
14c33f6a71
@@ -175,6 +175,7 @@ public class SecureCameraLaunchManager {
|
||||
public void run() {
|
||||
Intent intent = new Intent();
|
||||
intent.setAction(CLOSE_CAMERA_ACTION_NAME);
|
||||
intent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT);
|
||||
mContext.sendBroadcast(intent);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user