Fix issue #17740687: Device does not boot after flashing LMP dev TOT(1478825) build.
There was a path through idle where we could clear mBooting but not set mBooted, so we would no longer start activities. This is probably happening because if you start a user or userdebug build with the device plugged in to adb, the system early on starts the USB security dialog, before home is started. If that goes idle first, we will end up in the case where we clear booting (because something went idle) but not set booted (because it was not home that went idle). Change this so that we always set booted when clearing booting. Change-Id: I40053710eefa939315aeb9475ecdd2e8a87351ff
Loading
Please register or sign in to comment