Add a feature flag for the relaxed WifiLock
connection requirement.
Apps with the COMPANION_DEVICE_NEARBY_DEVICE_STREAMING
permission should be allowed to activate a WifiLock
if either a STA, P2P, or Aware connection is active.
Bug: 404950833
Flag: com.android.wifi.flags.wifi_lock_activated_by_p2p_or_aware
Test: atest WifiLockManagerTest
Test: Manual test - enable and disable flags using
adb shell aflags [enable|disable] [flag_name]
Change-Id: I643ebc6428ee47e8fe00e470f5d75613a3e8a756
2 files changed