Merge "[AAPM] Add advanced protection dialog according to API feedback" into main

This commit is contained in:
Azhara Assanova
2024-12-19 09:41:27 -08:00
committed by Android (Google) Code Review
7 changed files with 100 additions and 22 deletions

View File

@@ -162,10 +162,10 @@ class WepNetworksPreferenceController(context: Context, preferenceKey: String) :
emit(aapmManager?.isAdvancedProtectionEnabled ?: false) }.flowOn(Dispatchers.Default)
private fun startSupportIntent() {
aapmManager?.createSupportIntent(
AdvancedProtectionManager.createSupportIntent(
AdvancedProtectionManager.FEATURE_ID_DISALLOW_WEP,
AdvancedProtectionManager.SUPPORT_DIALOG_TYPE_DISABLED_SETTING
)?.let { mContext.startActivity(it) }
).let { mContext.startActivity(it) }
}
val wepAllowedFlow =