public static String [ ] getSupportedAbis ( ) { if ( Build . VERSION . SDK_INT < Build . VERSION_CODES . LOLLIPOP ) { return new String [ ] { Build . CPU_ABI , Build . CPU_ABI2 } ; } else { return LollipopSysdeps . getSupportedAbis ( ) ; } }
Return an list of ABIs we supported on this device ordered according to preference . Use a separate inner class to isolate the version - dependent call where it won t cause the whole class to fail preverification .