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