Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0d01e8ab authored by Svetoslav Ganov's avatar Svetoslav Ganov Committed by android-build-merger
Browse files

Merge "Ensure app label properly bolded" into nyc-dev am: 55dbb25a

am: 94469b4a

* commit '94469b4a':
  Ensure app label properly bolded

Change-Id: Ic7bb19b7c2fe9fe9cb8c8a4215187786a89e8f2e
parents 3723e912 94469b4a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -237,8 +237,8 @@ public class GrantPermissionsActivity extends OverlayTouchActivity
                // Set the permission message as the title so it can be announced.
                setTitle(message);
                // Color the app name.
                int appLabelStart = message.toString().indexOf(appLabel.toString(), 0);
                int appLabelLength = appLabel.length();
                int appLabelStart = message.toString().indexOf(" " + appLabel.toString() + " ", 0);
                int appLabelLength = appLabel.length() + 1;
                message.setSpan(new StyleSpan(Typeface.BOLD), appLabelStart,
                        appLabelStart + appLabelLength, 0);