commit | 6365bad43ff3e3e93d4e8c7e6dc22cbc96eb1aaf | [log] [tgz] |
---|---|---|
author | Doris Liu <tianliu@google.com> | Thu Jan 30 13:11:29 2014 -0800 |
committer | Doris Liu <tianliu@google.com> | Thu Jan 30 13:19:31 2014 -0800 |
tree | 43835909e26bf22a0ec7f2fbb26f8ae3204af117 | |
parent | bd5341b04a2982885d079b5f6a87a91e84603efd [diff] |
Fix NPE This NPE is caused by not having a PreviewStatusListener in photosphere module. Hooking up PreviewStatusListener in photosphere requires a refactor which is non-trivial amount of work. So for now, a null check is added here to prevent NPE and the logic of detecting and handling device flip will be added into photosphere to properly handle device flp. Part II at ag/412607 Bug: 12679997 Change-Id: I5392674e387800e6a2a3114ec3f834b439aed31e