diff options
author | Dianne Hackborn <hackbod@google.com> | 2009-08-27 20:08:01 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2009-08-27 21:51:00 -0700 |
commit | 49237345d83e62fdb9eb8d50b13ad086636a04fa (patch) | |
tree | 224ca2d134177a09184c1440f4fceac13a10b627 /data | |
parent | 5511c66955d96019ee62ac334d73e4d2bcda178b (diff) | |
download | frameworks_base-49237345d83e62fdb9eb8d50b13ad086636a04fa.zip frameworks_base-49237345d83e62fdb9eb8d50b13ad086636a04fa.tar.gz frameworks_base-49237345d83e62fdb9eb8d50b13ad086636a04fa.tar.bz2 |
Add platform infrastructure for features.
This introduces a new mechanism to define features associated with
a platform, query the current device for the available features,
and enforce that apps requiring features that aren't available can't
be installed.
Also now allows uses-library to specify that a library is optional,
so the lack of such a library will not prevent the app from being
installed (but if it does exist it will be correctly linked into
the app).
Change-Id: I5b369b46cfa0b3d37c9e08fd14ef1098a978e67b
Diffstat (limited to 'data')
-rw-r--r-- | data/etc/android.hardware.camera.autofocus.xml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/data/etc/android.hardware.camera.autofocus.xml b/data/etc/android.hardware.camera.autofocus.xml new file mode 100644 index 0000000..d6e2b90 --- /dev/null +++ b/data/etc/android.hardware.camera.autofocus.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2009 The Android Open Source 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 is the standard set of features for an auto-focus camera. --> +<permissions> + <feature name="android.hardware.camera" /> + <feature name="android.hardware.camera.autofocus" /> +</permissions> |