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

Commit 02582322 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Only honor preferUiBrandingComponentName with permission" into udc-dev am: b6699962

parents 4a712b5b b6699962
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -201,7 +201,8 @@ class GetFlowUtils {
                    ComponentName::class.java
                )
            val preferTopBrandingContent: TopBrandingContent? =
                if (preferUiBrandingComponentName == null) null
                if (!requestInfo.hasPermissionToOverrideDefault() ||
                    preferUiBrandingComponentName == null) null
                else {
                    val (displayName, icon) = getServiceLabelAndIcon(
                        context.packageManager, preferUiBrandingComponentName.flattenToString())