commit | c02341ab10b0fabea00f3a984254f9eb98d848fd | [log] [tgz] |
---|---|---|
author | Girish <girishshetty@google.com> | Fri Oct 13 21:26:10 2023 +0000 |
committer | Android Build Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Fri Oct 13 23:12:08 2023 +0000 |
tree | 02511e3244ce87622cec8fc9257c5794bbee544d | |
parent | 2350f79d55c7574103420ad1c6c6e297d015b870 [diff] |
Ensure secure codec resolutions are retrieved While testing mixed (secure and unsecure) codec reclaim, if the resolutions are not set by the test case, then the Activity reads the resolution only once for the unsecure codec and uses the same for the secure codec, which may not be a supported resolution by the secure codec. This change makes sure that, the resolutions are retrieved for the corresponding codec both (unsecure and secure) the cases. Bug: 305061233 Test: atest cts/tests/media/misc/src/android/media/misc/cts/ResourceManagerTest.java (cherry picked from https://android-review.googlesource.com/q/commit:79db5ee80a11ef2003432a804e249148a04e2f55) Merged-In: I0147d4b5331c0644767d8e9c3737bb691147c3b5 Change-Id: I0147d4b5331c0644767d8e9c3737bb691147c3b5