Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fb0aaa47 authored by Marian Triebe's avatar Marian Triebe
Browse files

LockScreen: Android runtime error when package is not found

Change-Id: I98fa13608b5d9830e9038cdbd037394951896f47
parent 405fc296
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@ import com.android.internal.widget.multiwaveview.TargetDrawable;
import android.app.ActivityManager;
import android.content.Context;
import android.content.Intent;
import android.content.ActivityNotFoundException;
import android.content.pm.ActivityInfo;
import android.content.pm.PackageManager;
import android.content.pm.PackageManager.NameNotFoundException;
@@ -386,6 +387,7 @@ class LockScreen extends LinearLayout implements KeyguardScreen {
                            mCallback.goToUnlockScreen();
                            return;
                        } catch (URISyntaxException e) {
                        } catch (ActivityNotFoundException e) {
                        }
                    }
                }
@@ -626,3 +628,4 @@ class LockScreen extends LinearLayout implements KeyguardScreen {
    public void onPhoneStateChanged(String newState) {
    }
}