diff options
| author | 2022-09-08 18:51:43 -0700 | |
|---|---|---|
| committer | 2022-09-21 17:50:38 +0000 | |
| commit | 24e7f904e38cd391414e4de210451abc5d546ffa (patch) | |
| tree | 16d2661932a4da6c1d1fdbea93eea7abdcc2e6a7 /libs/androidfw/ResourceTimer.cpp | |
| parent | f63f20af72e63c29d341ce68187d5e581de4cf30 (diff) | |
NetworkService: quitSafely() on onDestroy()
- When IwlanNetworkService is un-bound, such as when phone app dies,
the typical sequence is onUnbind() followed by onDestroy() immediately.
- Messages queued by onUnbind() are not processed, which leaves the
IwlanNetworkService in an unexpected state for the next onBind().
- The change is applied to DataService.java as well for safety.
Bug: 237447534
Test:
Live test by crashing com.android.phone to verify fix to unbind/destroy
behavior.
Change-Id: I25d968867401bd7d285735c83c71e3649467c5db
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions