diff options
author | 2023-10-16 16:04:30 -0700 | |
---|---|---|
committer | 2023-10-23 22:36:55 +0000 | |
commit | 157a391419962f794ffa86dd3b13ac06b180068b (patch) | |
tree | 73c452fda63b35c784d6e680ec9990e12f4539d7 /api/api.go | |
parent | 8f74745e0a069c53bab4217baf4d4ec96e049c7b (diff) |
DMS: check cached mode for user apps only
Android Studio uses adb to launch a process for screen mirroring. This
kind of processes is not managed by AMS and run with uid shell or root.
In such a case, that process behaves like a gone Android app so it will
miss display events. This won't impact any normal Android apps.
Check if the uid belongs to an Android app for Android Studio.
Bug: 303684492
Test: Enable display mirroring in Android Studio and check logs
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:380b3932bda7ad87f3180b8f1949d7b2b710b9d6)
Merged-In: I3fb20327979eca8774f7ddf143b2b8f2386e6b56
Change-Id: I3fb20327979eca8774f7ddf143b2b8f2386e6b56
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions