OSDN Git Service

Fix the lock issue on Home. This was caused by onPrepareDialog().
authorRomain Guy <romainguy@android.com>
Tue, 14 Jul 2009 20:58:08 +0000 (13:58 -0700)
committerRomain Guy <romainguy@android.com>
Tue, 14 Jul 2009 20:58:08 +0000 (13:58 -0700)
commit7b4ef330d9675733bc950c07e8907d8a00966de8
tree5e2381451cdb84d6f7a34cf77b784b4e20974058
parentc5df5b61b8fee2969cf5413c98257959b84af327
Fix the lock issue on Home. This was caused by onPrepareDialog().

onPrepareDialog() is called after a dialog was created/shown at least once. But
onPrepareDialog() does not mean the dialog will be shown. Thus Home would
sometimes lock itself without showing the dialog the user would normally use to
unlock the workspace.
src/com/android/launcher/Launcher.java