packages/apps/Gallery2
Revision | ff3509550f26c3c0d482c163cee4616272f0d1b4 (tree) |
---|---|
Time | 2021-02-13 23:56:07 |
Author | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
Change CHECK_BACK_CAMERA_ONLY to false
Some devices only have a front camera.
@@ -29,7 +29,7 @@ import android.util.Log; | ||
29 | 29 | // this receiver will be disabled, so it will not run again. |
30 | 30 | public class DisableCameraReceiver extends BroadcastReceiver { |
31 | 31 | private static final String TAG = "G:DisableCameraReceiver"; |
32 | - private static final boolean CHECK_BACK_CAMERA_ONLY = true; | |
32 | + private static final boolean CHECK_BACK_CAMERA_ONLY = false; | |
33 | 33 | private static final String ACTIVITIES[] = { |
34 | 34 | "com.android.camera.CameraLauncher", |
35 | 35 | }; |