diff options
| author | 2023-04-11 17:15:18 -0700 | |
|---|---|---|
| committer | 2023-05-02 13:29:55 -0700 | |
| commit | 1e26c2445bcc16f3da94649fa0eead32678e5bac (patch) | |
| tree | e588a8e594b7876bedb2f967edb40891197684c9 /libs/androidfw/StringPool.cpp | |
| parent | 0f59388c3a0e1d40753115d119beb0d61168794d (diff) | |
SlicePurchaseActivity don't send canceled on manual finish
onDestroy is called when the user closes the app or when finish() is
called programatically. We call finish after sending a response from the
slice purchase activity, but we shouldn't send the canceled response
because the user didn't close the application. Add a check to see
whether onDestroy was called programatically or due to user action.
Test: manual, CTS
Bug: 276703840
Change-Id: Iae1f5e77a1b6d75b911f4bd5314869b36157afda
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions