am a848d344: Merge "Fix bug in permission grant system." into gingerbread

* commit 'a848d3445090e114cbfe61f1c7449122a665fba6':
  Fix bug in permission grant system.