commit | 276edc8d86b2a5164619c1d3224abd9d056acdf7 | [log] [tgz] |
---|---|---|
author | Fan Zhang <zhfan@google.com> | Mon Apr 08 12:29:27 2019 -0700 |
committer | Fan Zhang <zhfan@google.com> | Mon Apr 08 13:56:59 2019 -0700 |
tree | 4576f57e075523c92b3ece0e3739079cc89ae8a5 | |
parent | d8b316f816eef8deccfd84d9b767f9661e28d638 [diff] |
Do not retrive app detail if the fragment is exiting. The exit flag can be set by a variety of things, such as when package is removed, or package is invalid (hidden mainline module). Loading such packages changes the internal state of ApplicationsState class (an app singleton), which leads to inconsistencies later. Fixes: 130166465 Test: robotest Change-Id: Ib09240cb694fa16692914a7aa9ce354869615c2d