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

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

Merge "Only honor preferUiBrandingComponentName with permission" into udc-dev...

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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23102617



Change-Id: Id3913822dc77a1f130cdb2ea3ff228bb6fa4a102
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 2b7967b8 02582322
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())