27
27
28
28
import mirror .android .app .ActivityManagerNative ;
29
29
import mirror .android .app .IActivityManager ;
30
+ import mirror .com .android .internal .content .ReferrerIntent ;
30
31
31
32
32
33
/**
@@ -73,6 +74,16 @@ public void handlePauseActivity(IBinder token, boolean finished, boolean userLea
73
74
originalHandler .handlePauseActivity (token , finished , userLeaving , configChanges , pendingActions , reason );
74
75
}
75
76
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
+
76
87
@ Override
77
88
public void handleResumeActivity (IBinder token , boolean finalStateRequest , boolean isForward , String reason ) {
78
89
originalHandler .handleResumeActivity (token , finalStateRequest , isForward , reason );
@@ -93,6 +104,11 @@ public void handleStopActivity(IBinder token, int configChanges, PendingTransact
93
104
originalHandler .handleStopActivity (token , configChanges , pendingActions , finalStateRequest , reason );
94
105
}
95
106
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
+
96
112
@ Override
97
113
public void reportStop (PendingTransactionActions pendingActions ) {
98
114
originalHandler .reportStop (pendingActions );
@@ -103,16 +119,31 @@ public void performRestartActivity(IBinder token, boolean start) {
103
119
originalHandler .performRestartActivity (token , start );
104
120
}
105
121
122
+ @ Override
123
+ public void performRestartActivity (ActivityClientRecord r , boolean start ) {
124
+ originalHandler .performRestartActivity (r , start );
125
+ }
126
+
106
127
@ Override
107
128
public void handleActivityConfigurationChanged (IBinder activityToken , Configuration overrideConfig , int displayId ) {
108
129
originalHandler .handleActivityConfigurationChanged (activityToken , overrideConfig , displayId );
109
130
}
110
131
132
+ @ Override
133
+ public void handleActivityConfigurationChanged (ActivityClientRecord r , Configuration overrideConfig , int displayId ) {
134
+ originalHandler .handleActivityConfigurationChanged (r , overrideConfig , displayId );
135
+ }
136
+
111
137
@ Override
112
138
public void handleSendResult (IBinder token , List results , String reason ) {
113
139
originalHandler .handleSendResult (token , results , reason );
114
140
}
115
141
142
+ @ Override
143
+ public void handleSendResult (ActivityClientRecord r , List results , String reason ) {
144
+ originalHandler .handleSendResult (r , results , reason );
145
+ }
146
+
116
147
@ Override
117
148
public void handleMultiWindowModeChanged (IBinder token , boolean isInMultiWindowMode , Configuration overrideConfig ) {
118
149
originalHandler .handleMultiWindowModeChanged (token , isInMultiWindowMode , overrideConfig );
@@ -133,6 +164,11 @@ public void handlePictureInPictureRequested(IBinder token) {
133
164
originalHandler .handlePictureInPictureRequested (token );
134
165
}
135
166
167
+ @ Override
168
+ public void handlePictureInPictureRequested (ActivityClientRecord r ) {
169
+ originalHandler .handlePictureInPictureRequested (r );
170
+ }
171
+
136
172
@ Override
137
173
public void handlePictureInPictureStateChanged (ActivityClientRecord r , Parcelable pipState ) {
138
174
originalHandler .handlePictureInPictureStateChanged (r , pipState );
@@ -307,4 +343,10 @@ public void countLaunchingActivities(int num) {
307
343
public void handleNewIntent (IBinder token , List intents ) {
308
344
originalHandler .handleNewIntent (token , intents );
309
345
}
346
+
347
+ @ Override
348
+ public void handleNewIntent (ActivityClientRecord r , List <ReferrerIntent > intents ) {
349
+ originalHandler .handleNewIntent (r , intents );
350
+ }
351
+
310
352
}
0 commit comments