File tree Expand file tree Collapse file tree
app/src/main/java/net/imknown/android/forefrontinfo/ui/home/repository Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ class HomeRepository(
171171 }
172172
173173 val offset = if (isLatestStableAndroid(lld)) {
174- 0
174+ 0
175175 } else {
176176 /* * [isLatestPreviewAndroid] */
177177 250205 - 250101
@@ -1004,10 +1004,10 @@ class HomeRepository(
10041004 packageManager.getInstalledApplications(0 )
10051005 }
10061006 var systemApkList = installedApplications.filter {
1007- ( it.flags and (ApplicationInfo .FLAG_UPDATED_SYSTEM_APP or ApplicationInfo .FLAG_SYSTEM ) > 0 )
1008- && (it.targetSdkVersion < Build .VERSION .SDK_INT
1009- /* */ || (isPreviewAndroid() && it.targetSdkVersion == Build .VERSION .SDK_INT )
1010- )
1007+ val systemFlags = it.flags and (ApplicationInfo .FLAG_UPDATED_SYSTEM_APP or ApplicationInfo .FLAG_SYSTEM )
1008+ (systemFlags > 0 ) && (it.targetSdkVersion < Build .VERSION .SDK_INT
1009+ || (isPreviewAndroid() && it.targetSdkVersion == Build .VERSION .SDK_INT )
1010+ )
10111011 }
10121012
10131013 var result = MyApplication .getMyString(
You can’t perform that action at this time.
0 commit comments