mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-05 02:16:49 +00:00
Adding support for listening to end callbacks when launching an intent from Launcher
Also moving various state handling to these end callbacks enstead of relying on resume Bug: 265134143 Test: Verified that the end callback is received Change-Id: I326a99c80154d244c0e49f678717c476602b6240
This commit is contained in:
@@ -281,7 +281,7 @@ public class OptionsPopupView extends ArrowPopup<Launcher>
|
||||
if (!TextUtils.isEmpty(pickerPackage)) {
|
||||
intent.setPackage(pickerPackage);
|
||||
}
|
||||
return launcher.startActivitySafely(v, intent, placeholderInfo(intent));
|
||||
return launcher.startActivitySafely(v, intent, placeholderInfo(intent)) != null;
|
||||
}
|
||||
|
||||
static WorkspaceItemInfo placeholderInfo(Intent intent) {
|
||||
|
||||
Reference in New Issue
Block a user