OSDN Git Service

Declare that Camera2 does not use cleartext network traffic.
authorAlex Klyubin <klyubin@google.com>
Thu, 2 Apr 2015 19:40:54 +0000 (12:40 -0700)
committerAlex Klyubin <klyubin@google.com>
Thu, 2 Apr 2015 19:40:54 +0000 (12:40 -0700)
This declares to the platform and tools that this app does not use
cleartext network traffic. The platform and tools will be blocking
(on best effort basis) attempts to use such traffic by this app.
For example, attempts to use HTTP (rather than HTTPS) will be blocked.

Bug: 19215516
Change-Id: Icaad30144192b13df87726445e19c37e0fd824bf

AndroidManifest.xml

index 8d0c759..3ed1571 100644 (file)
@@ -47,7 +47,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"