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

Commit 9f02e876 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

* commit '55dbb25a':
  Ensure app label properly bolded

Change-Id: I8a2e22a1b5efb276a36280adfa714dab9dca0186
parents c3ee9a4f 55dbb25a
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);