segv11 / boot-unlocker

BootUnlocker for Nexus Devices -- Unlock your bootloader without fastboot
https://forum.xda-developers.com/galaxy-nexus/themes-apps/app-bootunlocker-nexus-devices-version-t1731993
Apache License 2.0
31 stars 28 forks source link

Race condition when updating interface after lock/unlock #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Launch app
2. Lock or unlock the bootloader using the appropriate button

What is the expected output? What do you see instead?
Bootloader Status should show the new state, as appropriate.  Usually it does, 
but sometimes it does not.  Changing the orientation of the app, switching apps 
then returning, or anything else that causes a UI update fixes the problem.

Please use labels and text to provide additional information.
This appears to be a race condition where the UI update occurs before the 
bootloader change has committed.

Original issue reported on code.google.com by jmason...@gmail.com on 24 Jun 2012 at 4:39

GoogleCodeExporter commented 9 years ago
Issue 2 has been merged into this issue.

Original comment by supp...@jmason888.com on 25 Jun 2012 at 5:02

GoogleCodeExporter commented 9 years ago

Original comment by supp...@jmason888.com on 25 Jun 2012 at 5:02

GoogleCodeExporter commented 9 years ago
Fixed by running su on an AsyncTask

Original comment by jmason...@gmail.com on 25 Jun 2012 at 5:59

GoogleCodeExporter commented 9 years ago
Bug report from XDA member "blackout23":

I'm using with 4.1.1 which came OTA with my yakju GNEx. Worked like a charm. 
Had to get out and start the app again to see the changed status after locking 
it but that's no problem. Thank you for this tool.

Re-opening issue to investigate.

Original comment by jmason...@gmail.com on 17 Jul 2012 at 3:10

GoogleCodeExporter commented 9 years ago

Original comment by jmason...@gmail.com on 23 Jul 2012 at 8:37

GoogleCodeExporter commented 9 years ago

Original comment by jmason...@gmail.com on 9 Jan 2015 at 10:39