commit | be5782f4f84ad8421935bf2e2ada24d336c1e221 | [log] [tgz] |
---|---|---|
author | Tadashi G. Takaoka <takaoka@google.com> | Tue Feb 14 16:41:49 2017 +0900 |
committer | Tadashi G. Takaoka <takaoka@google.com> | Thu Mar 16 11:00:29 2017 +0900 |
tree | ffe731889ffb34d7445341fde6bc56c2d2f7e583 | |
parent | 5bf03b76408f4e527fc475a793c366583de8896a [diff] |
Add has-feature shell command to PackageManagerService This PackageManagerService's has-feature shell command may be useful to write host-side CTS test. Bug: 35336548 Test: Run "adb shell cmd package has-feature android.hardware.nfc 0" and verify that it prints true on Nexus 5X. Test: Run "adb shell cmd package has-feature android.hardware.gamepad" and verify that it prints false on Nexus 5X. Change-Id: Icacfd0ad2b83a3c276e711a1f22d4d66112ba932