Skip to content
Commit aa760347 authored by Jin Seok Park's avatar Jin Seok Park
Browse files

Remove UnsupportedAppUsage from ExifInterface

UnsupportedAppUsage annotation should be removed before moving
ExifInterface to mainline.

1. Add publicAlternative param to annotation for the following
   variable so that the annotation can be removed after one
   successful main branch build (see http://shortn/_GPplGcAAB3 for
   context):
    mAttributes
2. Remove annotation for the following API since they do not
support reflection after Android P:
    sFormatter
    mFilename
    mHasThumbnail
    convertRationalLatLonToFloat(String rationalString, String ref)
3. Remove annotation and make public the following APIs:
    getDateTime()
    getDateTimeOriginal()
    getDateTimeDigitized()
    getGpsDateTime()

Bug: 159569444
Test: build &&
    atest CtsMediaTestCases:android.media.cts.ExifInterfaceTest
Change-Id: Ic2af9d53a9e7797d6c37b0367b0578dbf6e452ad
parent d5d39ae2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment