run executable action

This commit is contained in:
2022-06-02 17:41:41 +02:00
parent 88a3ab8241
commit c1809bd23c
9 changed files with 32 additions and 26 deletions

View File

@@ -42,7 +42,7 @@ public class ActivityManageActionWifi extends Activity
// if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q)
// Miscellaneous.messageBox(getResources().getString(R.string.app_name), getResources().getString(R.string.android10WifiToggleNotice), ActivityManageActionWifi.this).show();
if(BuildConfig.FLAVOR.equals(AutomationService.flavor_name_googleplay))
if(getApplicationInfo().targetSdkVersion >= Build.VERSION_CODES.Q)
tvWifiExplanation1.setVisibility(View.VISIBLE);
else
tvWifiExplanation1.setVisibility(View.GONE);