Extend notif lifetime if not anim activity launch
While ag/17110765 expanded the lifetime extension to account for the intent launch animation, it failed to account for no launch animation, which means that lifetime extension needs to continue until the end of the synchronous method. Fixes: 224686965 Test: 1. Install Notify.apk (go/notify-apk) 2. In the Notify app: Check off Delayed 5000 and Auto Cancel 3. Click "Add" and spam click "Update" (5-10 times should suffice) 4. Lock device, go to lock screen (*not* AOD) 5. Immediately tap the Notify notification when it gets posted Observe: no crashing Change-Id: I1177719d6061f1fcb0fba726e6780a096beceedb
Loading
Please register or sign in to comment