Merge "Synchronize mPermissions to void NullPointerException."
am: 9e7c6b3865

Change-Id: I8cb95984bf85c6a687d20fa9cd7305b712754439