Loading packages/SystemUI/src/com/android/systemui/ambientcue/data/repository/AmbientCueRepository.kt +39 −36 Original line number Diff line number Diff line Loading @@ -29,6 +29,7 @@ import android.util.Log import android.view.autofill.AutofillId import android.view.autofill.AutofillManager import androidx.annotation.VisibleForTesting import androidx.tracing.trace import com.android.systemui.LauncherProxyService import com.android.systemui.LauncherProxyService.LauncherProxyListener import com.android.systemui.ambientcue.shared.model.ActionModel Loading Loading @@ -127,6 +128,7 @@ constructor( label = title, attribution = chip.subtitle.toString(), onPerformAction = { trace("performAmbientCueAction") { val intent = chip.intent val pendingIntent = chip.pendingIntent val activityId = Loading Loading @@ -167,6 +169,7 @@ constructor( } else if (intent != null) { activityStarter.startActivity(intent, false) } } }, taskId = activityId?.taskId ?: INVALID_TASK_ID, ) Loading Loading
packages/SystemUI/src/com/android/systemui/ambientcue/data/repository/AmbientCueRepository.kt +39 −36 Original line number Diff line number Diff line Loading @@ -29,6 +29,7 @@ import android.util.Log import android.view.autofill.AutofillId import android.view.autofill.AutofillManager import androidx.annotation.VisibleForTesting import androidx.tracing.trace import com.android.systemui.LauncherProxyService import com.android.systemui.LauncherProxyService.LauncherProxyListener import com.android.systemui.ambientcue.shared.model.ActionModel Loading Loading @@ -127,6 +128,7 @@ constructor( label = title, attribution = chip.subtitle.toString(), onPerformAction = { trace("performAmbientCueAction") { val intent = chip.intent val pendingIntent = chip.pendingIntent val activityId = Loading Loading @@ -167,6 +169,7 @@ constructor( } else if (intent != null) { activityStarter.startActivity(intent, false) } } }, taskId = activityId?.taskId ?: INVALID_TASK_ID, ) Loading