commit | fabbfb435e4de239b31a5cd76f9e72d3b53ab8cf | [log] [tgz] |
---|---|---|
author | Fan Zhang <zhfan@google.com> | Fri Oct 07 12:41:43 2016 -0700 |
committer | Fan Zhang <zhfan@google.com> | Fri Oct 07 14:52:06 2016 -0700 |
tree | b3797adac07e50a266ab8c6e96f069994f2c45cb | |
parent | ce6affc3711afd798a51d8700818df6b192cfa2e [diff] |
Refactor SummaryLoader to set summary on subsetting pages. - Make a SummaryConsumer interface. Things that needs latest summary should implement this interface (DashboardAdapter for homepage, DashboardFragment for subsettings). This also decouples SummaryLoader from relying on SettingsDrawerActivity. - Make DashboardFeatureProvider more generic to load DashboardCategory by key. Bug: 31781480 Test: RunSettingsRoboTests Change-Id: I9c65456fb433a74c352498251e0ccf65da0be1f0