am b4b28f87: Only enable VaultProvider on KitKat devices.

* commit 'b4b28f87362f2f910042fceb0ea274d4d98028b7':
  Only enable VaultProvider on KitKat devices.
This commit is contained in:
Jeff Sharkey
2013-11-13 14:48:21 -08:00
committed by Android Git Automerger
3 changed files with 10 additions and 1 deletions

View File

@@ -10,7 +10,8 @@
android:authorities="com.example.android.vault.provider"
android:exported="true"
android:grantUriPermissions="true"
android:permission="android.permission.MANAGE_DOCUMENTS">
android:permission="android.permission.MANAGE_DOCUMENTS"
android:enabled="@bool/isAtLeastKitKat">
<intent-filter>
<action android:name="android.content.action.DOCUMENTS_PROVIDER" />
</intent-filter>

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="isAtLeastKitKat">true</bool>
</resources>

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="isAtLeastKitKat">false</bool>
</resources>