OSDN Git Service

Launch view account page when it's available.
authorSunny Shao <sunnyshao@google.com>
Wed, 19 Dec 2018 09:39:09 +0000 (17:39 +0800)
committerSunny Shao <sunnyshao@google.com>
Thu, 10 Jan 2019 01:33:21 +0000 (09:33 +0800)
commit7aa9fdd75c97084e034ddc4d074142c196c3410a
tree636866e95c1a30996fa5f3b15b86f831827a16c4
parenta9f902b9c2e39fdc9844f1d952745f854339294d
Launch view account page when it's available.

- Add to launch the new Contextual Landing Page when user clicks the avatar
  icon and check the matching intent activity exist.
- Use the serialized intent and keeps in config.xml.
- Remove the getAccountSettingsDeeplinkIntent in the AccountFeatureProvider
  which never use again.

Change-Id: I50396af67eb04034572f8c885b4d9aef48a67e9d
Fixes: 122486552
Test: robotest
res/values/config.xml
src/com/android/settings/accounts/AccountFeatureProvider.java
src/com/android/settings/accounts/AccountFeatureProviderImpl.java
src/com/android/settings/accounts/AvatarViewMixin.java
tests/robotests/src/com/android/settings/accounts/AvatarViewMixinTest.java