Merge "Don't try to launch broadcast receivers during boot" into lmp-mr1-dev

This commit is contained in:
Christopher Tate
2015-01-20 22:54:53 +00:00
committed by Android (Google) Code Review

View File

@@ -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);
}
});