diff options
| author | 2023-03-06 15:37:06 -0500 | |
|---|---|---|
| committer | 2023-03-06 15:43:48 -0500 | |
| commit | 5f6ca207fb5bae2ecfad754eeecc76955cbc7688 (patch) | |
| tree | 50a61cffd979248b8e9a5782c0461cd38efa3023 /libs/androidfw/StringPool.cpp | |
| parent | 99dc404b91bc23945c30f1e9cb9df7360550a6e2 (diff) | |
Set mScreenBitmap before saveScreenshotAndToast
Currently we don't set mScreenBitmap until after the fork to just
show a toast if user setup is incomplete. This causes us to attempt
to save a null bitmap. This change moves the line earlier so that
we successfully save the screenshot (and show a toast) before user
setup is complete.
Bug: 271217041
Fix: 271217041
Test: manual (on phone flashed to master)
Change-Id: I5f2312acc318d385420532476b5964e344c4b68e
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions