OSDN Git Service

Improve notification slice string on home page
authorYanting Yang <yantingyang@google.com>
Tue, 19 Mar 2019 10:17:50 +0000 (18:17 +0800)
committerYanting Yang <yantingyang@google.com>
Wed, 20 Mar 2019 14:25:59 +0000 (22:25 +0800)
commitaed7ad5a43928fbf8b84821dc6be6bf188346bd4
tree3ed8cd0cf6a87f9babb7a927e5b66593548925cd
parente4359a9eee01bbd404cdbc879ce3502dd5cd8366
Improve notification slice string on home page

Add ContextualNotificationChannelSlice to show more clear sub title on
notification slice.

Fixes: 128641319
Test: visual, robotests
Change-Id: I650102f4cde7d8d397c7a501ba9ee76c401ba9db
src/com/android/settings/homepage/contextualcards/ContextualCardLoader.java
src/com/android/settings/homepage/contextualcards/SettingsContextualCardProvider.java
src/com/android/settings/homepage/contextualcards/slices/ContextualNotificationChannelSlice.java [new file with mode: 0644]
src/com/android/settings/homepage/contextualcards/slices/NotificationChannelSlice.java
src/com/android/settings/slices/CustomSliceRegistry.java
tests/robotests/src/com/android/settings/homepage/contextualcards/slices/ContextualNotificationChannelSliceTest.java [new file with mode: 0644]