diff options
author | Steve Kondik <shade@chemlab.org> | 2012-03-25 17:21:32 -0700 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2012-03-30 10:09:06 -0700 |
commit | e0c12dad51e6ac8488275165860e163fe2f82d59 (patch) | |
tree | 48b2fb442369f0532437600e7bf1b10232007e08 /config/permissions | |
parent | ab1991f33d9da9453bddf0b5f779c561603ba844 (diff) | |
download | vendor_replicant-e0c12dad51e6ac8488275165860e163fe2f82d59.zip vendor_replicant-e0c12dad51e6ac8488275165860e163fe2f82d59.tar.gz vendor_replicant-e0c12dad51e6ac8488275165860e163fe2f82d59.tar.bz2 |
cm: Add CM-specific permissions
* These can be used if someone wants to filter for CM features
* Basic feature com.cyanogenmod.android is included in all builds
* Include nfc_enhanced on devices that have NFC
Change-Id: Ib7704b791c8916f1eabe5f40fd21e2f0005d32f9
Diffstat (limited to 'config/permissions')
-rw-r--r-- | config/permissions/com.cyanogenmod.android.xml | 21 | ||||
-rw-r--r-- | config/permissions/com.cyanogenmod.nfc.enhanced.xml | 21 |
2 files changed, 42 insertions, 0 deletions
diff --git a/config/permissions/com.cyanogenmod.android.xml b/config/permissions/com.cyanogenmod.android.xml new file mode 100644 index 0000000..f5126c4 --- /dev/null +++ b/config/permissions/com.cyanogenmod.android.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2012 The CyanogenMod Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<!-- This feature shows that this is CyanogenMod --> +<permissions> + <feature name="com.cyanogenmod.android" /> +</permissions> + diff --git a/config/permissions/com.cyanogenmod.nfc.enhanced.xml b/config/permissions/com.cyanogenmod.nfc.enhanced.xml new file mode 100644 index 0000000..4baa34d --- /dev/null +++ b/config/permissions/com.cyanogenmod.nfc.enhanced.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2012 The CyanogenMod Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<!-- This feature shows that this is device features CM NFC enhancements --> +<permissions> + <feature name="com.cyanogenmod.nfc.enhanced" /> +</permissions> + |