File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
app/src/main/kotlin/li/songe/gkd/shizuku Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -137,11 +137,10 @@ class ProxyUiAutomationConnection : IUiAutomationConnection.Stub() {
137137 }
138138 }
139139 } catch (re: RemoteException ) {
140- re.rethrowAsRuntimeException()
140+ throw re.rethrowAsRuntimeException()
141141 } finally {
142142 restoreCallingIdentity(identity)
143143 }
144- return null
145144 }
146145
147146 @RequiresApi(Build .VERSION_CODES .UPSIDE_DOWN_CAKE )
@@ -161,7 +160,7 @@ class ProxyUiAutomationConnection : IUiAutomationConnection.Stub() {
161160 .build()
162161 mWindowManager.captureDisplay(DEFAULT_DISPLAY , captureArgs, listener)
163162 } catch (re: RemoteException ) {
164- re.rethrowAsRuntimeException()
163+ throw re.rethrowAsRuntimeException()
165164 } finally {
166165 restoreCallingIdentity(identity)
167166 }
@@ -186,7 +185,7 @@ class ProxyUiAutomationConnection : IUiAutomationConnection.Stub() {
186185 .build()
187186 mWindowManager.captureDisplay(displayId, captureArgs, listener)
188187 } catch (re: RemoteException ) {
189- re.rethrowAsRuntimeException()
188+ throw re.rethrowAsRuntimeException()
190189 } finally {
191190 restoreCallingIdentity(identity)
192191 }
You can’t perform that action at this time.
0 commit comments