OSDN Git Service

DO NOT MERGE. Truncate and ellipsize app name if too long for dialog.
authorMichael Wright <michaelwr@google.com>
Mon, 24 Aug 2015 23:00:05 +0000 (00:00 +0100)
committerThe Android Automerger <android-build@android.com>
Tue, 1 Sep 2015 21:20:48 +0000 (14:20 -0700)
commitb3145760db5d58a107fd1ffd8eeec67d983d45f3
treed1f2a746231675957ea4b35f4bb5e669baf805f3
parentd4d3181d013f8d9b96de8e396b029f8a418894a7
DO NOT MERGE. Truncate and ellipsize app name if too long for dialog.

If the given app name is too long for the permissions dialog, then
it can push the warning that the application will be able to record
the screen below the fold, letting the app basically set its own
dialog message in a way that a user would be difficult to detect as
fraudulant.

Bug: 23345192
Change-Id: If5881ca75d5c155ef5174351d245dbc3abdaa584
packages/SystemUI/src/com/android/systemui/media/MediaProjectionPermissionActivity.java