commit | 4186dd30c815221a9650205315c563a7cbe8d137 | [log] [tgz] |
---|---|---|
author | Hyunyoung Song <hyunyoungs@google.com> | Tue Feb 12 12:14:34 2019 -0800 |
committer | Hyunyoung Song <hyunyoungs@google.com> | Tue Feb 12 12:14:34 2019 -0800 |
tree | d17c088e366ca8cf0a03c7412d40a349d5f90a7d | |
parent | 1dbb7723287cf4ac5629dce89ffcd662d6b95c46 [diff] |
Re-init sections on onResume Change-Id: Ica6a540e6ad88481c9424a81609c32020c86763b
diff --git a/src/com/android/customization/picker/CustomizationPickerActivity.java b/src/com/android/customization/picker/CustomizationPickerActivity.java index 2257946..2529395 100644 --- a/src/com/android/customization/picker/CustomizationPickerActivity.java +++ b/src/com/android/customization/picker/CustomizationPickerActivity.java
@@ -117,6 +117,13 @@ } @Override + protected void onResume() { + super.onResume(); + // refresh the sections as the preview may have changed + initSections(); + } + + @Override protected void onNewIntent(Intent intent) { super.onNewIntent(intent); if (WALLPAPER_ONLY.equals(intent.getStringExtra(WALLPAPER_FLAVOR_EXTRA))) {