OSDN Git Service

Fix #2377870 : NPE in Dock settings
authorAmith Yamasani <yamasani@google.com>
Sat, 16 Jan 2010 03:10:55 +0000 (19:10 -0800)
committerAmith Yamasani <yamasani@google.com>
Sat, 16 Jan 2010 03:10:55 +0000 (19:10 -0800)
commit6ff80dcf7a9e97545be90a4c8e9a85e8a311de96
treec537d8d80b16703e2884ecfb88366d04f84cfbd2
parent0e2ab4f884e549d7fb21d0227bf5ee61f9f7958a
Fix #2377870 : NPE in Dock settings

If the Dock settings is launched after reboot but before it is docked,
the settings screen crashes because the dock status is not available.

This fixes the case where there was never a pending intent for dock status.
src/com/android/settings/DockSettings.java