Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(828)

Unified Diff: chrome/android/java/AndroidManifest.xml

Issue 2779233004: Add runtime permission to install packages (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/AndroidManifest.xml
diff --git a/chrome/android/java/AndroidManifest.xml b/chrome/android/java/AndroidManifest.xml
index 45f9a379cb9906a64f7cd2a06ed8f63c5e0bb0ef..d3f0b733bf655d109f60ad1a116ff779334f466d 100644
--- a/chrome/android/java/AndroidManifest.xml
+++ b/chrome/android/java/AndroidManifest.xml
@@ -24,7 +24,7 @@ by a child template that "extends" this file.
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<!--
- Enable Bluetooth permission via uses-permission in tip of tree builds
+ Enable runtime permissions as uses-permission in tip of tree builds
only for ease of development on Android L and earlier. For consumer
channels use "runtime permission" uses-permission-sdk-m which provides
permission on Android M and later without a prompt.
@@ -32,9 +32,11 @@ by a child template that "extends" this file.
{% if channel in ['default'] %}
<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
+ <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"/>
{% endif %}
<uses-permission-sdk-m android:name="android.permission.BLUETOOTH"/>
<uses-permission-sdk-m android:name="android.permission.BLUETOOTH_ADMIN"/>
+ <uses-permission-sdk-m android:name="android.permission.REQUEST_INSTALL_PACKAGES"/>
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" />
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698