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

Commit d84c8796 authored by parsasirat's avatar parsasirat Committed by Shreerag Jayakrishnan
Browse files

Add right annotation to IActivityTaskManager#onSplashScreenViewCopyFinished

Bug: 288398263
Test: m update-api; m wear-sdk; m WearServices; atest WmTests
Defer-CP-To-Master: 288398263

Change-Id: I0449eb983348707cab18995b176428f57793caa3
parent 2ae52cdd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -328,7 +328,7 @@ interface IActivityTaskManager {
     * A splash screen view has copied.
     */
    void onSplashScreenViewCopyFinished(int taskId,
            in SplashScreenView.SplashScreenViewParcelable material);
            in @nullable SplashScreenView.SplashScreenViewParcelable material);

    /**
     * When the Picture-in-picture state has changed.
+1 −1
Original line number Diff line number Diff line
@@ -2725,7 +2725,7 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A
     * Receive the splash screen data from shell, sending to client.
     * @param parcelable The data to reconstruct the splash screen view, null mean unable to copy.
     */
    void onCopySplashScreenFinish(SplashScreenViewParcelable parcelable) {
    void onCopySplashScreenFinish(@Nullable SplashScreenViewParcelable parcelable) {
        removeTransferSplashScreenTimeout();
        final SurfaceControl windowAnimationLeash = (parcelable == null
                || mTransferringSplashScreenState != TRANSFER_SPLASH_SCREEN_COPYING
+3 −2
Original line number Diff line number Diff line
@@ -3608,7 +3608,8 @@ public class ActivityTaskManagerService extends IActivityTaskManager.Stub {
     * @hide
     */
    @Override
    public void onSplashScreenViewCopyFinished(int taskId, SplashScreenViewParcelable parcelable)
    public void onSplashScreenViewCopyFinished(int taskId,
            @Nullable SplashScreenViewParcelable parcelable)
                throws RemoteException {
        mAmInternal.enforceCallingPermission(MANAGE_ACTIVITY_TASKS,
                "copySplashScreenViewFinish()");