OSDN Git Service

Do not check features in PackageManagerService DO NOT MERGE
authorKenny Root <kroot@google.com>
Tue, 1 Feb 2011 00:25:25 +0000 (16:25 -0800)
committerKenny Root <kroot@google.com>
Tue, 1 Feb 2011 00:27:38 +0000 (16:27 -0800)
commitfa2ae1ad1ad2f6c905a9de713038338a24d9ae7c
treeaa978b9081a98df75b64062ad3b704eb0dd43e38
parente6c6b760eb0c1068fdfa656007ec27e482313b58
Do not check features in PackageManagerService DO NOT MERGE

PackageManagerService shouldn't check features that a package declares
that it uses because this will cause problems in the future when we add
more features that older phones didn't explicitly declare. We must rely
on markets to know about phones and filter them for us to avoid this
situation.

Bug: 3409434
Change-Id: I0d51b2de33d8110edc6824af4b5b8c901f96077f
core/tests/coretests/apks/install_uses_feature/Android.mk [new file with mode: 0644]
core/tests/coretests/apks/install_uses_feature/AndroidManifest.xml [new file with mode: 0644]
core/tests/coretests/apks/install_uses_feature/res/values/strings.xml [new file with mode: 0644]
core/tests/coretests/res/raw/install_uses_feature [new file with mode: 0644]
core/tests/coretests/src/android/content/pm/PackageManagerTests.java
services/java/com/android/server/PackageManagerService.java