Fix crash when starting daydream setting with wrong context
am: d9c6692f25
Change-Id: I723b66eced5ace06f5821463c3dd783a18496327
This commit is contained in:
@@ -69,7 +69,7 @@ public class CurrentDreamPreferenceController extends AbstractPreferenceControll
|
||||
private void launchScreenSaverSettings() {
|
||||
Optional<DreamInfo> info = getActiveDreamInfo();
|
||||
if (!info.isPresent()) return;
|
||||
mBackend.launchSettings(info.get());
|
||||
mBackend.launchSettings(mContext, info.get());
|
||||
}
|
||||
|
||||
private Optional<DreamInfo> getActiveDreamInfo() {
|
||||
|
Reference in New Issue
Block a user