commit | 157a391419962f794ffa86dd3b13ac06b180068b | [log] [tgz] |
---|---|---|
author | Li Li <dualli@google.com> | Mon Oct 16 16:04:30 2023 -0700 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Mon Oct 23 22:36:55 2023 +0000 |
tree | 73c452fda63b35c784d6e680ec9990e12f4539d7 | |
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