mirror of
https://github.com/Genymobile/scrcpy.git
synced 2024-09-12 05:21:18 +02:00
Add log
This commit is contained in:
parent
29c305ca5f
commit
3d93a099b7
1 changed files with 3 additions and 1 deletions
|
@ -328,7 +328,9 @@ public final class Workarounds {
|
|||
static Context retrieveSystemContext() {
|
||||
try {
|
||||
Method getSystemContextMethod = activityThreadClass.getDeclaredMethod("getSystemContext");
|
||||
return (Context) getSystemContextMethod.invoke(activityThread);
|
||||
Context ctx = (Context) getSystemContextMethod.invoke(activityThread);
|
||||
Ln.i("===== " + ctx);
|
||||
return ctx;
|
||||
} catch (Exception e) {
|
||||
Ln.e("Cannot retrieve system context", e);
|
||||
return null;
|
||||
|
|
Loading…
Reference in a new issue