mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Fix launcher crash when trying to open work profile promise icon.
Bug: 138609751 Change-Id: Ifb1c4628ce6307a19a2bb696e4771d5cd5810a90
This commit is contained in:
@@ -170,7 +170,7 @@ public abstract class BaseDraggingActivity extends BaseActivity
|
||||
getUserEventDispatcher().logAppLaunch(v, intent);
|
||||
getStatsLogManager().logAppLaunch(v, intent);
|
||||
return true;
|
||||
} catch (ActivityNotFoundException|SecurityException e) {
|
||||
} catch (NullPointerException|ActivityNotFoundException|SecurityException e) {
|
||||
Toast.makeText(this, R.string.activity_not_found, Toast.LENGTH_SHORT).show();
|
||||
Log.e(TAG, "Unable to launch. tag=" + item + " intent=" + intent, e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user