2727
2828import mirror .android .app .ActivityManagerNative ;
2929import mirror .android .app .IActivityManager ;
30+ import mirror .com .android .internal .content .ReferrerIntent ;
3031
3132
3233/**
@@ -73,6 +74,16 @@ public void handlePauseActivity(IBinder token, boolean finished, boolean userLea
7374 originalHandler .handlePauseActivity (token , finished , userLeaving , configChanges , pendingActions , reason );
7475 }
7576
77+ @ Override
78+ public void handleDestroyActivity (ActivityClientRecord r , boolean finishing , int configChanges , boolean getNonConfigInstance , String reason ) {
79+ originalHandler .handleDestroyActivity (r , finishing , configChanges , getNonConfigInstance , reason );
80+ }
81+
82+ @ Override
83+ public void handlePauseActivity (ActivityClientRecord r , boolean finished , boolean userLeaving , int configChanges , PendingTransactionActions pendingActions , String reason ) {
84+ originalHandler .handlePauseActivity (r , finished , userLeaving , configChanges , pendingActions , reason );
85+ }
86+
7687 @ Override
7788 public void handleResumeActivity (IBinder token , boolean finalStateRequest , boolean isForward , String reason ) {
7889 originalHandler .handleResumeActivity (token , finalStateRequest , isForward , reason );
@@ -93,6 +104,11 @@ public void handleStopActivity(IBinder token, int configChanges, PendingTransact
93104 originalHandler .handleStopActivity (token , configChanges , pendingActions , finalStateRequest , reason );
94105 }
95106
107+ @ Override
108+ public void handleStopActivity (ActivityClientRecord r , int configChanges , PendingTransactionActions pendingActions , boolean finalStateRequest , String reason ) {
109+ originalHandler .handleStopActivity (r , configChanges , pendingActions , finalStateRequest , reason );
110+ }
111+
96112 @ Override
97113 public void reportStop (PendingTransactionActions pendingActions ) {
98114 originalHandler .reportStop (pendingActions );
@@ -103,16 +119,31 @@ public void performRestartActivity(IBinder token, boolean start) {
103119 originalHandler .performRestartActivity (token , start );
104120 }
105121
122+ @ Override
123+ public void performRestartActivity (ActivityClientRecord r , boolean start ) {
124+ originalHandler .performRestartActivity (r , start );
125+ }
126+
106127 @ Override
107128 public void handleActivityConfigurationChanged (IBinder activityToken , Configuration overrideConfig , int displayId ) {
108129 originalHandler .handleActivityConfigurationChanged (activityToken , overrideConfig , displayId );
109130 }
110131
132+ @ Override
133+ public void handleActivityConfigurationChanged (ActivityClientRecord r , Configuration overrideConfig , int displayId ) {
134+ originalHandler .handleActivityConfigurationChanged (r , overrideConfig , displayId );
135+ }
136+
111137 @ Override
112138 public void handleSendResult (IBinder token , List results , String reason ) {
113139 originalHandler .handleSendResult (token , results , reason );
114140 }
115141
142+ @ Override
143+ public void handleSendResult (ActivityClientRecord r , List results , String reason ) {
144+ originalHandler .handleSendResult (r , results , reason );
145+ }
146+
116147 @ Override
117148 public void handleMultiWindowModeChanged (IBinder token , boolean isInMultiWindowMode , Configuration overrideConfig ) {
118149 originalHandler .handleMultiWindowModeChanged (token , isInMultiWindowMode , overrideConfig );
@@ -133,6 +164,11 @@ public void handlePictureInPictureRequested(IBinder token) {
133164 originalHandler .handlePictureInPictureRequested (token );
134165 }
135166
167+ @ Override
168+ public void handlePictureInPictureRequested (ActivityClientRecord r ) {
169+ originalHandler .handlePictureInPictureRequested (r );
170+ }
171+
136172 @ Override
137173 public void handlePictureInPictureStateChanged (ActivityClientRecord r , Parcelable pipState ) {
138174 originalHandler .handlePictureInPictureStateChanged (r , pipState );
@@ -307,4 +343,10 @@ public void countLaunchingActivities(int num) {
307343 public void handleNewIntent (IBinder token , List intents ) {
308344 originalHandler .handleNewIntent (token , intents );
309345 }
346+
347+ @ Override
348+ public void handleNewIntent (ActivityClientRecord r , List <ReferrerIntent > intents ) {
349+ originalHandler .handleNewIntent (r , intents );
350+ }
351+
310352}
0 commit comments