OSDN Git Service

Autofill binding permission fixes.
authorFelipe Leme <felipeal@google.com>
Thu, 27 Apr 2017 00:42:38 +0000 (17:42 -0700)
committerFelipe Leme <felipeal@google.com>
Thu, 27 Apr 2017 00:57:53 +0000 (17:57 -0700)
commitdecd887f012f0c39bba855c8878eb5d8255595c4
tree47a76c9b309c0b60e3421b6e42f9e8c572273917
parent5f7979222d072aa580717c2d1ab0d6eb0f33f912
Autofill binding permission fixes.

- Removed deprecated BIND_AUTO_FILL
- Renamed BIND_AUTOFILL to BIND_AUTOFILL_SERVICE
- Kept BIND_AUTOFILL as @hide
- Fixed the permission code

The permission check was actually ignored; it was probably broken when we
introduced support to settings.

Fixes: 37723410
Bug: 37563972
Test: manual verification with existing client
Test: CtsAutoFillServiceTestCases pass

Change-Id: If3abdcb0ae850f0a327bfdbb9ca6c44a24823047
api/current.txt
api/system-current.txt
api/test-current.txt
core/java/android/service/autofill/AutofillService.java
core/java/android/service/autofill/AutofillServiceInfo.java
core/res/AndroidManifest.xml
services/autofill/java/com/android/server/autofill/AutofillManagerServiceImpl.java