OSDN Git Service

Check for null tabs before acquiring the parent tab.
authorPatrick Scott <phanna@android.com>
Mon, 31 Aug 2009 13:48:37 +0000 (09:48 -0400)
committerPatrick Scott <phanna@android.com>
Mon, 31 Aug 2009 16:49:52 +0000 (12:49 -0400)
commit2a67de4059775466071da52c07b18627c51c677c
tree3ddfff22f654c875da4845900cbf41b83985dcc8
parent73b588c8e9b865aee5d416802b775a67e2e3aebb
Check for null tabs before acquiring the parent tab.

This prevents a NPE when the current tab is null. This is very rare but can
still possibly happen.
src/com/android/browser/TabControl.java