OSDN Git Service

Rebuild suggestions when suggestions are dismissed
authorMaurice Lam <yukl@google.com>
Sat, 1 Apr 2017 00:13:39 +0000 (17:13 -0700)
committerMaurice Lam <yukl@google.com>
Sat, 1 Apr 2017 00:13:39 +0000 (17:13 -0700)
commitcbf797e65ceb4e41ef094a861b8db23733965578
treee3ec20b145f2da3014d89d35d0d98724fc576694
parentcfa0941535843109391c40675de55fb5a3af8abf
Rebuild suggestions when suggestions are dismissed

When suggestions are swiped away, refresh the suggestion categories
so that suggestions previously suppressed because it's lower priority
or because there is an exclusive suggestion now has a chance to be
shown.

Test: cd tests/robotests && mma
Bug: 36811621
Change-Id: I1a1ae1624c2f69153d95d238b2143ac9273e117d
src/com/android/settings/dashboard/DashboardAdapter.java
src/com/android/settings/dashboard/DashboardSummary.java
tests/robotests/src/com/android/settings/dashboard/DashboardSummaryTest.java