Protect permission dialog from type jack attacks

Limit the app name in the permissions dialog to prevent a
bad app with a very long name to trick the user about the
purpose of this dialog. Also wrap the label with
BidiFormatter to protect against bidi override attacks.

bug:23516019

Change-Id: Iba819d384864a004eefc2d2154dbfed3ef3b81c1
1 file changed