am db99a10b: Fix NPE in PhotoPage

* commit 'db99a10b6ac9296d612db8ba51e37f141fee4170':
  Fix NPE in PhotoPage