diff options
| author | 2023-05-22 14:29:27 -0700 | |
|---|---|---|
| committer | 2023-05-22 14:34:55 -0700 | |
| commit | a5ad327f45c741738ecec9cf17c9c71c0ce4bbf5 (patch) | |
| tree | ca06ef03877654c64b8df0ec539de07d803c54f5 /libs/androidfw/FileStream.cpp | |
| parent | b03c480d4baa2deb47c50aa27e7edc5f0e2e67b6 (diff) | |
Cache the Binder call for PlaybackState
It's rare but possible that the 2nd Binder call returns a different
value than the 1st one, fix the potential NPE by caching the return
value of MediaController#getPlaybackState
Bug: 283583998
Test: N/A
Change-Id: I9e8f456f3817f68dd98f637a1ee4a7d6d109801e
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions