File tree Expand file tree Collapse file tree
android/sdl_android/src/main/java/com/smartdevicelink/transport Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1108,7 +1108,7 @@ private boolean initCheck(){
11081108 public void onCreate () {
11091109 super .onCreate ();
11101110 //Add this first to avoid the runtime exceptions for the entire lifecycle of the service
1111- setRouterServiceExceptionHandler ();
1111+ setRouterServiceExceptionHandler ();
11121112 //This must be done regardless of if this service shuts down or not
11131113 if (Build .VERSION .SDK_INT >= Build .VERSION_CODES .O ) {
11141114 hasCalledStartForeground = false ;
@@ -1231,9 +1231,9 @@ public void uncaughtException(Thread t, Throwable e) {
12311231 // Set the flag to not delete the notification channel to avoid this exception in the future
12321232 try {
12331233 SdlRouterService .this .setSdlRouterServicePrefs (KEY_AVOID_NOTIFICATION_CHANNEL_DELETE , true );
1234- }catch (Exception exception ){
1234+ }catch (Exception exception ){
12351235 //Unable to save flag for KEY_AVOID_NOTIFICATION_CHANNEL_DELETE
1236- }
1236+ }
12371237 Looper .loop ();
12381238 } else if (defaultUncaughtExceptionHandler != null ) { //No other exception should be handled
12391239 defaultUncaughtExceptionHandler .uncaughtException (t , e );
You can’t perform that action at this time.
0 commit comments