commit | e2d35f573cb1de1f61623ce59d76558605b5ca70 | [log] [tgz] |
---|---|---|
author | Chuck Liao <chuckliao@google.com> | Tue Sep 22 21:20:47 2020 +0800 |
committer | Chuck Liao <chuckliao@google.com> | Wed Sep 23 23:17:03 2020 +0800 |
tree | 42035e71f30ed5268291815f8d53f62856877ab9 | |
parent | ce7f08dc7e407d9437b4a066efb9a4fcdf13bc10 [diff] |
Fetch the wallpaper category from the server instead of cache when launching the app(activity). Bug: 169029398 Change-Id: Icbbb11c33ae4d4dd7d376a7792d0f685ad809421
diff --git a/src/com/android/wallpaper/model/CategoryProvider.java b/src/com/android/wallpaper/model/CategoryProvider.java index ceef6b4..b86e6df 100755 --- a/src/com/android/wallpaper/model/CategoryProvider.java +++ b/src/com/android/wallpaper/model/CategoryProvider.java
@@ -59,4 +59,9 @@ * Checks if the categories are fetched. */ boolean isCategoriesFetched(); + + /** + * Resets the fetched categories if needed. + */ + void resetIfNeeded(); }