Check DISALLOW_CONFIG_MOBILE_NETWORKS when search
If disallowed, not show mobile related search results. Bug: 358238959 Flag: EXEMPT bug fix Test: manual - search Mobile Settings Test: atest MobileNetworkSettingsSearchIndexTest Change-Id: I79b984f41f09dd9612bcd0c9942089756d5d365d
This commit is contained in:
@@ -57,7 +57,7 @@ constructor(
|
||||
private var isAirplaneModeOn = false
|
||||
|
||||
override fun getAvailabilityStatus() =
|
||||
if (SimRepository(mContext).showMobileNetworkPage()) AVAILABLE
|
||||
if (SimRepository(mContext).showMobileNetworkPageEntrance()) AVAILABLE
|
||||
else CONDITIONALLY_UNAVAILABLE
|
||||
|
||||
override fun displayPreference(screen: PreferenceScreen) {
|
||||
|
||||
Reference in New Issue
Block a user