MTK前置摄像头去掉闪光灯图标

 vendor/mediatek/proprietary/packages/apps/Camera/src/com/android/camera/manager/PickerManager.java 
index 62829a6..d3181d8 100755
@@ -39,6 +39,7 @@ package com.android.camera.manager;
 import android.view.View;
 
 import com.android.camera.CameraActivity;
+import com.android.camera.CameraHolder;
 import com.android.camera.Log;
 import com.android.camera.ModeChecker;
 import com.android.camera.R;
@@ -737,6 +738,10 @@ public class PickerManager extends ViewManager implements PickerListener,
  mLivePhoto.setVisibility(View.INVISIBLE);
  break;
  }
+ int frontCameraId = CameraHolder.instance().getFrontCameraId();
+ if (frontCameraId == getContext().getCameraId()) {  //前置摄像头
+ mIphoneFlashPicker.setVisibility(View.GONE);
+ }
     }
     //@}
 }

你可能感兴趣的:(MTK前置摄像头去掉闪光灯图标)