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

Commit 879cf439 authored by Danny Baumann's avatar Danny Baumann Committed by Gerrit Code Review
Browse files

Merge "LockScreen: Android runtime error when package is not found" into ics

parents 37076b09 fb0aaa47
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) {
    }
}