• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#objective-cqtwindows誰得cocoapythonphprubygameguibathyscaphec翻訳omegat計画中(planning stage)frameworktwittertestdomvb.netdirectxbtronarduinopreviewerゲームエンジン

packages/apps/Gallery2


Commit MetaInfo

修订版ff3509550f26c3c0d482c163cee4616272f0d1b4 (tree)
时间2021-02-13 23:56:07
作者Chih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

Change CHECK_BACK_CAMERA_ONLY to false

Some devices only have a front camera.

更改概述

差异

--- a/src/com/android/camera/DisableCameraReceiver.java
+++ b/src/com/android/camera/DisableCameraReceiver.java
@@ -29,7 +29,7 @@ import android.util.Log;
2929 // this receiver will be disabled, so it will not run again.
3030 public class DisableCameraReceiver extends BroadcastReceiver {
3131 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;
3333 private static final String ACTIVITIES[] = {
3434 "com.android.camera.CameraLauncher",
3535 };