commit | b75a5c625592e2e64d0f8ff80bfbfcd071db4f76 | [log] [tgz] |
---|---|---|
author | Evan Severson <evanseverson@google.com> | Tue Jan 31 17:14:34 2023 -0800 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu May 18 22:15:11 2023 +0000 |
tree | 1c212a8a56a6a186f027f7f1c9df052a99dd4091 | |
parent | 3b3110b5455b9323ecc33a2283ef890b921c8e72 [diff] |
[1-time permissions] Use internal api to check proc states We need to check the proc state and the binder method has a filter that is affected by a bug that keeps a killed a proces in the "pending top" list. Using the internal api isn't affected by this filter and also is more correct for inprocess calls. Test: Install test app that requests permission and will exit immediately on granting, observe permission is no longer indefinitely held. Bug: 254736794 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e836611f3057cf9eae589a34a39fe80d0a9145f3) Merged-In: I30579090c803b231fd750abbc4ad645805f7ece2 Change-Id: I30579090c803b231fd750abbc4ad645805f7ece2