Loading packages/SystemUI/AndroidManifest.xml +1 −0 Original line number Diff line number Diff line Loading @@ -543,6 +543,7 @@ android:exported="false" android:finishOnCloseSystemDialogs="true" android:launchMode="singleInstance" android:showForAllUsers="true" android:theme="@style/ScreenCapture" /> <service android:name=".screenrecord.service.ScreenRecordingService" /> Loading packages/SystemUI/src/com/android/systemui/qs/tiles/ScreenRecordTile.java +3 −1 Original line number Diff line number Diff line Loading @@ -132,10 +132,12 @@ public class ScreenRecordTile extends QSTileImpl<QSTile.BooleanState> @Override protected void handleClick(@Nullable Expandable expandable) { if (mScreenCaptureRecordFeaturesInteractor.getShouldShowNewToolbar()) { UserHandle userHandle = UserHandle.of(getCurrentTileUser()); final Intent intent = new Intent(mContext, ScreenCaptureActivity.class); // TODO(b/412723197): pass actual params here. new ScreenCaptureActivityIntentParameters(ScreenCaptureType.RECORD, false, null, null, UserHandle.CURRENT, 0 userHandle, 0 ).fillIntent(intent); intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_NEW_TASK); mActivityStarter.postQSRunnableDismissingKeyguard( Loading packages/SystemUI/src/com/android/systemui/qs/tiles/impl/screenrecord/domain/interactor/ScreenRecordTileUserActionInteractor.kt +1 −2 Original line number Diff line number Diff line Loading @@ -19,7 +19,6 @@ package com.android.systemui.qs.tiles.impl.screenrecord.domain.interactor import android.content.Context import android.content.Intent import android.media.projection.StopReason import android.os.UserHandle import android.util.Log import com.android.internal.jank.InteractionJankMonitor import com.android.systemui.animation.DialogCuj Loading Loading @@ -77,7 +76,7 @@ constructor( isUserConsentRequired = false, resultReceiver = null, mediaProjection = null, hostAppUserHandle = UserHandle.CURRENT, hostAppUserHandle = user, hostAppUid = 0, ) .fillIntent(intent) Loading Loading
packages/SystemUI/AndroidManifest.xml +1 −0 Original line number Diff line number Diff line Loading @@ -543,6 +543,7 @@ android:exported="false" android:finishOnCloseSystemDialogs="true" android:launchMode="singleInstance" android:showForAllUsers="true" android:theme="@style/ScreenCapture" /> <service android:name=".screenrecord.service.ScreenRecordingService" /> Loading
packages/SystemUI/src/com/android/systemui/qs/tiles/ScreenRecordTile.java +3 −1 Original line number Diff line number Diff line Loading @@ -132,10 +132,12 @@ public class ScreenRecordTile extends QSTileImpl<QSTile.BooleanState> @Override protected void handleClick(@Nullable Expandable expandable) { if (mScreenCaptureRecordFeaturesInteractor.getShouldShowNewToolbar()) { UserHandle userHandle = UserHandle.of(getCurrentTileUser()); final Intent intent = new Intent(mContext, ScreenCaptureActivity.class); // TODO(b/412723197): pass actual params here. new ScreenCaptureActivityIntentParameters(ScreenCaptureType.RECORD, false, null, null, UserHandle.CURRENT, 0 userHandle, 0 ).fillIntent(intent); intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_NEW_TASK); mActivityStarter.postQSRunnableDismissingKeyguard( Loading
packages/SystemUI/src/com/android/systemui/qs/tiles/impl/screenrecord/domain/interactor/ScreenRecordTileUserActionInteractor.kt +1 −2 Original line number Diff line number Diff line Loading @@ -19,7 +19,6 @@ package com.android.systemui.qs.tiles.impl.screenrecord.domain.interactor import android.content.Context import android.content.Intent import android.media.projection.StopReason import android.os.UserHandle import android.util.Log import com.android.internal.jank.InteractionJankMonitor import com.android.systemui.animation.DialogCuj Loading Loading @@ -77,7 +76,7 @@ constructor( isUserConsentRequired = false, resultReceiver = null, mediaProjection = null, hostAppUserHandle = UserHandle.CURRENT, hostAppUserHandle = user, hostAppUid = 0, ) .fillIntent(intent) Loading