mirror of
				https://github.com/ImranR98/Obtainium.git
				synced 2025-10-30 21:13:28 +01:00 
			
		
		
		
	Fix BG update OS requirement
This commit is contained in:
		| @@ -393,7 +393,7 @@ class AppsProvider with ChangeNotifier { | |||||||
|         (await getInstalledInfo(app.id))?.applicationInfo?.targetSdkVersion; |         (await getInstalledInfo(app.id))?.applicationInfo?.targetSdkVersion; | ||||||
|  |  | ||||||
|     // The OS must also be new enough and the APK should target a new enough API |     // The OS must also be new enough and the APK should target a new enough API | ||||||
|     return osInfo.version.sdkInt >= 30 && |     return osInfo.version.sdkInt >= 31 && | ||||||
|         targetSDK != null && |         targetSDK != null && | ||||||
|         targetSDK >= // https://developer.android.com/reference/android/content/pm/PackageInstaller.SessionParams#setRequireUserAction(int) |         targetSDK >= // https://developer.android.com/reference/android/content/pm/PackageInstaller.SessionParams#setRequireUserAction(int) | ||||||
|             (osInfo.version.sdkInt - 3); |             (osInfo.version.sdkInt - 3); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user