Guard against apps with no permissions

Bug: 27355802
Change-Id: Iee8d9898af0e5910319cb47218ceee8da1352554
1 file changed