Merge "WifiManagerTest: allow NetworkStack to grant network permissions"