commit | 143dfeff2df480491c1b5464469cb6bf1e509aac | [log] [tgz] |
---|---|---|
author | Leon Scroggins III <scroggo@google.com> | Mon Mar 30 14:03:37 2020 -0400 |
committer | Leon Scroggins III <scroggo@google.com> | Wed Apr 01 13:18:00 2020 -0400 |
tree | 0e0c5881e11b7ea7a1411a9600583ef76b2ef3ad | |
parent | 03fb4e10aac5639e9ba580da75add987d26055f1 [diff] |
Replace ImageDecoder.sApiLevel with a SystemApi helper Bug: 152322291 Test: CtsGraphicsTestCases ImageDecoder is moving to a mainline module, so the system can no longer access the @hidden sApiLevel without making it @SystemApi. Instead of promoting the existing API, provide a common class to be used by any UI rendering class that needs to access the targetSdkVersion. Switch AVD to use the new class, which is a SystemApi. Change-Id: Ie7172fb93364a1e04ab844b8fa64887bf9d8b005