summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/CameraActivity.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/camera/CameraActivity.java')
-rwxr-xr-xsrc/com/android/camera/CameraActivity.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/com/android/camera/CameraActivity.java b/src/com/android/camera/CameraActivity.java
index f776d8ddd..4f02a697f 100755
--- a/src/com/android/camera/CameraActivity.java
+++ b/src/com/android/camera/CameraActivity.java
@@ -1844,14 +1844,6 @@ public class CameraActivity extends Activity
}
mLocalImagesObserver.setActivityPaused(false);
mLocalVideosObserver.setActivityPaused(false);
-
- //This is a temporal solution to share LED resource
- //as Android doesn’t have any default intent to share the state.
- // if the led flash light is open, turn it off
- Log.d(TAG, "send the turn off Flashlight broadcast");
- Intent intent = new Intent("org.codeaurora.snapcam.action.CLOSE_FLASHLIGHT");
- intent.putExtra("camera_led", true);
- sendBroadcast(intent);
}
private boolean cameraConnected() {