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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user