OSDN Git Service

Fix crash when starting daydream setting with wrong context
authorFan Zhang <zhfan@google.com>
Tue, 6 Nov 2018 23:21:07 +0000 (15:21 -0800)
committerFan Zhang <zhfan@google.com>
Tue, 6 Nov 2018 23:47:24 +0000 (23:47 +0000)
commitd9c6692f25a8dce9144a387c3ed249521788ae2c
tree239cf731a8e55cc7cb89971eff7b838d9ab29969
parent222dca5b7cb5f866c0d8f9a56eec6d4a554d5886
Fix crash when starting daydream setting with wrong context

The context must be a UI context. This is a new requirement in P.

Change-Id: I3e2de5068f44010da7d57af030e9f029dd97a7f8
Merged-In: I28874f296da617f4cedf6706b0663b76671f1780
Fixes: 111375261
Fixes: 113312592
Test: robotests
src/com/android/settings/dream/CurrentDreamPreferenceController.java