diff options
author | Hyunyoung Song <hyunyoungs@google.com> | 2019-01-08 17:15:16 -0800 |
---|---|---|
committer | Hyunyoung Song <hyunyoungs@google.com> | 2019-01-09 11:37:12 -0800 |
commit | b4d1ca49021dc03f908ee5739bc0e410a4d986e7 (patch) | |
tree | 3415f4b718d8a73a7bb987500ff4f5c048e132dc /src/com/android/launcher3/InvariantDeviceProfile.java | |
parent | 55a32272be2e2369ec25bdca3ef0e5724430b9c5 (diff) | |
download | android_packages_apps_Trebuchet-b4d1ca49021dc03f908ee5739bc0e410a4d986e7.tar.gz android_packages_apps_Trebuchet-b4d1ca49021dc03f908ee5739bc0e410a4d986e7.tar.bz2 android_packages_apps_Trebuchet-b4d1ca49021dc03f908ee5739bc0e410a4d986e7.zip |
Refresh icon cache for recents when rro overrides the adaptive icon path
Bug: 122472687
Change-Id: I646c3918480740ea322e60252e3ceb006964567f
Diffstat (limited to 'src/com/android/launcher3/InvariantDeviceProfile.java')
-rw-r--r-- | src/com/android/launcher3/InvariantDeviceProfile.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/launcher3/InvariantDeviceProfile.java b/src/com/android/launcher3/InvariantDeviceProfile.java index 5c842a57d..888ffd356 100644 --- a/src/com/android/launcher3/InvariantDeviceProfile.java +++ b/src/com/android/launcher3/InvariantDeviceProfile.java @@ -214,6 +214,10 @@ public class InvariantDeviceProfile { mChangeListeners.add(listener); } + public void removeOnChangeListener(OnIDPChangeListener listener) { + mChangeListeners.remove(listener); + } + private void killProcess(Context context) { Log.e("ConfigMonitor", "restarting launcher"); android.os.Process.killProcess(android.os.Process.myPid()); |