[app] Remove code for SDK versions that we don't support anymore

This commit is contained in:
Torsten Grote
2022-06-16 12:25:08 -03:00
committed by Hans-Christoph Steiner
parent 6c007e92b3
commit d000f3fade
35 changed files with 122 additions and 668 deletions

View File

@@ -141,10 +141,6 @@ final public class WifiApControl {
@TargetApi(Build.VERSION_CODES.GINGERBREAD)
private static String getDeviceName(WifiManager wifiManager) {
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.GINGERBREAD) {
Log.w(TAG, "Older device - falling back to the default device name: " + FALLBACK_DEVICE);
return FALLBACK_DEVICE;
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
Log.w(TAG, "6.0 or later, unaccessible MAC - falling back to the default device name: " + FALLBACK_DEVICE);
return FALLBACK_DEVICE;