diff options
Diffstat (limited to 'src/com/android/camera/CameraActivity.java')
-rw-r--r-- | src/com/android/camera/CameraActivity.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/com/android/camera/CameraActivity.java b/src/com/android/camera/CameraActivity.java index 47c938496..437549592 100644 --- a/src/com/android/camera/CameraActivity.java +++ b/src/com/android/camera/CameraActivity.java @@ -339,11 +339,6 @@ public class CameraActivity extends Activity public void onReceive(Context context, Intent intent) { String action = intent.getAction(); - if (action.equals(Intent.ACTION_SCREEN_ON)) { - mCurrentModule.onResumeBeforeSuper(); - mCurrentModule.onResumeAfterSuper(); - } - if (action.equals(Intent.ACTION_SCREEN_OFF)) { if (mSecureCamera) { finish(); @@ -1421,7 +1416,6 @@ public class CameraActivity extends Activity // Filter for screen off so that we can finish secure camera activity // when screen is off. IntentFilter filter = new IntentFilter(Intent.ACTION_SCREEN_OFF); - filter.addAction(Intent.ACTION_SCREEN_ON); registerReceiver(mScreenOffReceiver, filter); // TODO: This static screen off event receiver is a workaround to the // double onResume() invocation (onResume->onPause->onResume). We should |