mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-04-24 08:47:11 -04:00
[app] Remove code for SDK versions that we don't support anymore
This commit is contained in:
committed by
Hans-Christoph Steiner
parent
6c007e92b3
commit
d000f3fade
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user