OSDN Git Service

Launch work profile activity to add Autofill service
authorZimuzo <zezeozue@google.com>
Wed, 15 Aug 2018 14:10:20 +0000 (15:10 +0100)
committerZimuzo <zezeozue@google.com>
Thu, 16 Aug 2018 18:32:02 +0000 (19:32 +0100)
commit7193895c6afc52092646c9901c1ffea958182f3d
treefa50eaec1ea13270fd7e9697eae95f4a9572e850
parent237f80b0aaeb2a32afea81f8f851f5eaac8f3c70
Launch work profile activity to add Autofill service

ag/4666330 allowed choosing separate Autofill services for the main and work profile. However, the 'Add service' button for work profile always resolved action_view intent as the main user even when clicking the work profile preference. Now the intent is resolved to the right profile depending on the preference clicked.

BUG: 112610177
Test: Verified manually
Change-Id: I870346d7b5618e7c230edebd59ac7f52f8495d47
src/com/android/settings/applications/defaultapps/DefaultAutofillPicker.java