diff options
| author | 2025-01-09 17:02:57 -0800 | |
|---|---|---|
| committer | 2025-01-09 17:02:57 -0800 | |
| commit | 1417ad4b8886fb99019d3bff6ac732a65bfb52cb (patch) | |
| tree | e2fe98f24da9c15f214f3cc9e8cbadd70763326c /libs/androidfw/ApkParsing.cpp | |
| parent | 6d8ad4dbec052d6327b5c96e82b58d6da8a5ed64 (diff) | |
Use explicit executor when factory reset a device.
By default, AsyncTask uses a SerialExecutor which can be blocked by
other AsyncTask indefinitely. This sometimes can cause the factory reset
operation to be blocked for a long time. This change explicitly changes
the executor to THREAD_POOL_EXECUTOR so factory reset operation won't be
blocked.
Flag: EXEMPTED - small bug fix
Bug: 367798236
Fix: 367798236
Test: manual test factory reset flow
Change-Id: I99f5046cfc6d8a6c9a7be7bda950103b859f7489
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions