am 30339719: Remove unused ACCOUNTS permissions

* commit '30339719b7ff523b1ab8e6c953b269a870c1181c':
  Remove unused ACCOUNTS permissions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index d8ae9e4..6e5d38f 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -44,7 +44,8 @@
         android:largeHeap="true"
         android:restoreAnyVersion="true"
         android:supportsRtl="true"
-        android:theme="@style/Theme.Camera" >
+        android:theme="@style/Theme.Camera"
+        android:usesCleartextTraffic="false" >
         <activity
             android:name="com.android.camera.CameraActivity"
             android:clearTaskOnLaunch="true"
diff --git a/src/com/android/camera/one/config/OneCameraFeatureConfigCreator.java b/src/com/android/camera/one/config/OneCameraFeatureConfigCreator.java
index 8d0b387..0cedb18 100644
--- a/src/com/android/camera/one/config/OneCameraFeatureConfigCreator.java
+++ b/src/com/android/camera/one/config/OneCameraFeatureConfigCreator.java
@@ -40,10 +40,8 @@
      */
     public static OneCameraFeatureConfig createDefault(ContentResolver contentResolver,
             MemoryManager memoryManager) {
-        // Enable CaptureModule on all L devices unless the device is
-        // black-listed.
-        boolean useCaptureModule = ApiHelper.HAS_CAMERA_2_API
-                && !GservicesHelper.isCaptureModuleDisabled(contentResolver);
+        // Enable CaptureModule on all M devices.
+        boolean useCaptureModule = true;
         Log.i(TAG, "CaptureModule? " + useCaptureModule);
 
         // HDR+ has multiple levels of support.