commit | 2a4306a4b3c019c50687473d931753a82912ac48 | [log] [tgz] |
---|---|---|
author | Wei Huang <weih@google.com> | Thu Mar 15 15:23:00 2012 -0700 |
committer | Wei Huang <weih@google.com> | Thu Mar 15 15:29:28 2012 -0700 |
tree | 17991a153425ff4e10b7e3cd12221c8de98a6265 | |
parent | 240ae3805a11a5de23f9e6405c56a52cb1662f64 [diff] |
bug #6176711: guard against null GalleryActionBar. When entering Gallery app from WallPaper picker, the activity is DialogPicker, which doesn't initialize GalleryActionbar so getGalleryActionbar() returns null. Guard against using the null object. I fixed the obvious NPE here, but Ray or Yuli should take a closer look, to see why this is broken. Change-Id: Ic6923c388ea7b72ab402131fc3b039546509e340