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

Commit 94469b4a 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: If437d0944f8dc45107d67252ccf1f17e8c748ca3
parents 406a4ca6 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);