livedisplay: don't throw exception if config is not ready, warning is enough

Throwing an exception leads to rescueMode in oreo

Change-Id: I9c4cb7af8cae51936f439641b79ae522c84eaaee
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
This commit is contained in:
Pranav Vashi
2018-01-22 14:08:44 +01:00
committed by Joey
parent 6b4410555a
commit 9a097830fa

View File

@@ -160,7 +160,7 @@ public class LiveDisplayManager {
try {
mConfig = sService.getConfig();
if (mConfig == null) {
throw new RuntimeException("Unable to get LiveDisplay configuration!");
Log.w(TAG, "Unable to get LiveDisplay configuration!");
}
} catch (RemoteException e) {
throw new RuntimeException("Unable to fetch LiveDisplay configuration!", e);