commit | 75fbb4511c6496e1476b3d70ab1128512df86424 | [log] [tgz] |
---|---|---|
author | Fan Zhang <zhfan@google.com> | Wed Nov 07 10:51:48 2018 -0800 |
committer | android-build-merger <android-build-merger@google.com> | Wed Nov 07 10:51:48 2018 -0800 |
tree | a6302b7505d280c0d2142fbede08106ee5969173 | |
parent | 4f2055500a93f3cadcbd772fee0acbf695699615 [diff] | |
parent | d9c6692f25a8dce9144a387c3ed249521788ae2c [diff] |
Fix crash when starting daydream setting with wrong context am: d9c6692f25 Change-Id: I723b66eced5ace06f5821463c3dd783a18496327
diff --git a/src/com/android/settings/dream/CurrentDreamPreferenceController.java b/src/com/android/settings/dream/CurrentDreamPreferenceController.java index fe33365..957852b 100644 --- a/src/com/android/settings/dream/CurrentDreamPreferenceController.java +++ b/src/com/android/settings/dream/CurrentDreamPreferenceController.java
@@ -69,7 +69,7 @@ private void launchScreenSaverSettings() { Optional<DreamInfo> info = getActiveDreamInfo(); if (!info.isPresent()) return; - mBackend.launchSettings(info.get()); + mBackend.launchSettings(mContext, info.get()); } private Optional<DreamInfo> getActiveDreamInfo() {