Loading packages/SystemUI/aconfig/systemui.aconfig +0 −10 Original line number Diff line number Diff line Loading @@ -1976,16 +1976,6 @@ flag { bug: "411746510" } flag { name: "ui_rich_ongoing_aod_skeleton_bg_inflation" namespace: "systemui" description: "Offload AOD Skeleton inflation to the background thread" bug: "416714129" metadata { purpose: PURPOSE_BUGFIX } } flag { name: "ongoing_activity_chips_on_dream" namespace: "systemui" Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/promoted/AODPromotedNotification.kt +12 −33 Original line number Diff line number Diff line Loading @@ -25,7 +25,6 @@ import android.graphics.Typeface import android.graphics.drawable.Drawable import android.util.Log import android.util.Size import android.view.LayoutInflater import android.view.NotificationHeaderView import android.view.NotificationTopLineView import android.view.View Loading Loading @@ -99,7 +98,6 @@ fun AODPromotedNotification( val content = viewModel.content ?: return val audiblyAlertedIconVisible = viewModel.audiblyAlertedIconVisible if (com.android.systemui.Flags.uiRichOngoingAodSkeletonBgInflation()) { val notificationView = content.notificationView if (notificationView == null) { Log.w(TAG, "not displaying promoted notif with ineligible style on AOD") Loading @@ -113,25 +111,6 @@ fun AODPromotedNotification( modifier = modifier, ) } } else { val layoutResource = content.layoutResource if (layoutResource == null) { Log.w(TAG, "not displaying promoted notif with ineligible style on AOD") return } key(content.identity) { AODPromotedNotificationView( notificationViewFactory = { context -> traceSection("$TAG.inflate") { LayoutInflater.from(context).inflate(layoutResource, /* root= */ null) } }, content = content, audiblyAlertedIconVisible = audiblyAlertedIconVisible, modifier = modifier, ) } } } @Composable Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/promoted/PromotedNotificationContentExtractor.kt +0 −2 Original line number Diff line number Diff line Loading @@ -266,8 +266,6 @@ constructor( contentBuilder: PromotedNotificationContentModel.Builder, systemUiContext: Context, ) { if (!Flags.uiRichOngoingAodSkeletonBgInflation()) return val style = contentBuilder.style ?: return val res = getLayoutSource(style) ?: return Loading Loading
packages/SystemUI/aconfig/systemui.aconfig +0 −10 Original line number Diff line number Diff line Loading @@ -1976,16 +1976,6 @@ flag { bug: "411746510" } flag { name: "ui_rich_ongoing_aod_skeleton_bg_inflation" namespace: "systemui" description: "Offload AOD Skeleton inflation to the background thread" bug: "416714129" metadata { purpose: PURPOSE_BUGFIX } } flag { name: "ongoing_activity_chips_on_dream" namespace: "systemui" Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/promoted/AODPromotedNotification.kt +12 −33 Original line number Diff line number Diff line Loading @@ -25,7 +25,6 @@ import android.graphics.Typeface import android.graphics.drawable.Drawable import android.util.Log import android.util.Size import android.view.LayoutInflater import android.view.NotificationHeaderView import android.view.NotificationTopLineView import android.view.View Loading Loading @@ -99,7 +98,6 @@ fun AODPromotedNotification( val content = viewModel.content ?: return val audiblyAlertedIconVisible = viewModel.audiblyAlertedIconVisible if (com.android.systemui.Flags.uiRichOngoingAodSkeletonBgInflation()) { val notificationView = content.notificationView if (notificationView == null) { Log.w(TAG, "not displaying promoted notif with ineligible style on AOD") Loading @@ -113,25 +111,6 @@ fun AODPromotedNotification( modifier = modifier, ) } } else { val layoutResource = content.layoutResource if (layoutResource == null) { Log.w(TAG, "not displaying promoted notif with ineligible style on AOD") return } key(content.identity) { AODPromotedNotificationView( notificationViewFactory = { context -> traceSection("$TAG.inflate") { LayoutInflater.from(context).inflate(layoutResource, /* root= */ null) } }, content = content, audiblyAlertedIconVisible = audiblyAlertedIconVisible, modifier = modifier, ) } } } @Composable Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/promoted/PromotedNotificationContentExtractor.kt +0 −2 Original line number Diff line number Diff line Loading @@ -266,8 +266,6 @@ constructor( contentBuilder: PromotedNotificationContentModel.Builder, systemUiContext: Context, ) { if (!Flags.uiRichOngoingAodSkeletonBgInflation()) return val style = contentBuilder.style ?: return val res = getLayoutSource(style) ?: return Loading