Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3264e167 authored by Mark Harman's avatar Mark Harman
Browse files

Photos don't get TAG_MAKE etc on Android 7.1 emulator either.

parent 46da52a9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -9475,7 +9475,7 @@ public class MainActivityTest extends ActivityInstrumentationTestCase2<MainActiv
        }
        assertNotNull(exif.getAttribute(ExifInterface.TAG_ORIENTATION));
        if( !(isEmulator() && Build.VERSION.SDK_INT <= Build.VERSION_CODES.M) ) {
        if( !( isEmulator() && Build.VERSION.SDK_INT <= Build.VERSION_CODES.N_MR1 ) ) {
            // older Android emulator versions don't store exif info in photos
            assertNotNull(exif.getAttribute(ExifInterface.TAG_MAKE));
            assertNotNull(exif.getAttribute(ExifInterface.TAG_MODEL));