Skip to content
Commit cb8031e1 authored by Fabien Sanglard's avatar Fabien Sanglard
Browse files

Restore correct app State when combing "-D" and "--suspend" flags

Starting an app in debug (-D), suspended (--suspend) mode will
result in the app unable to restore its initial state.

ActivityManagerService.setDebugApp has side effects. It saves a
state that is only restore later during the app booting. Calling
it twice in a row, "double saves" which resulting forgetting the
initial state.

Test: Manual
Bug: 266233210

Change-Id: I7819a3c0f7e46994548c584c4c5d61f6d24faf61
parent 17a7bc4a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment