Merge "Tethering: Enable TETHERING_AND_P2P_GO_LOCAL_AGENT for 25Q4+" into main
This commit is contained in:
commit
3f16f0df11
1 changed files with 54 additions and 7 deletions
|
|
@ -54,4 +54,9 @@ public class SdkUtil {
|
|||
public static boolean isAtLeast25Q2() {
|
||||
return SDK_INT >= 36 || (SDK_INT == 35 && "Baklava".equals(Build.VERSION.CODENAME));
|
||||
}
|
||||
|
||||
/** Checks if the device is running on a release version of Android 25Q4 or newer */
|
||||
public static boolean isAtLeast25Q4() {
|
||||
return Build.VERSION.SDK_INT_FULL >= Build.VERSION_CODES_FULL.BAKLAVA_1;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue