Skip to content
Commit a725209c authored by Steve Elliott's avatar Steve Elliott
Browse files

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
parent 40ca086c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment