1<?xml version="1.0" encoding="utf-8"?> 2<manifest 3 xmlns:android="http://schemas.android.com/apk/res/android" 4 package="com.google.snippet.wifi.aware"> 5 <!-- Declare the minimum Android SDK version and internet permission, 6 which are required by Mobly Snippet Lib since it uses network socket. --> 7 <uses-sdk android:minSdkVersion="30" /> 8 <uses-permission android:name="android.permission.INTERNET" /> 9 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> 10 <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" /> 11 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> 12 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> 13 <uses-permission android:name="android.permission.NEARBY_WIFI_DEVICES" 14 android:usesPermissionFlags="neverForLocation" /> 15 <application> 16 <!-- Add any classes that implement the Snippet interface as meta-data, whose 17 value is a comma-separated string, each section being the package path 18 of a snippet class --> 19 <meta-data 20 android:name="mobly-snippets" 21 android:value="com.google.snippet.wifi.aware.WifiAwareSnippet" /> 22 </application> 23 <!-- Add an instrumentation tag so that the app can be launched through an 24 instrument command. The runner `com.google.android.mobly.snippet.SnippetRunner` 25 is derived from `AndroidJUnitRunner`, and is required to use the 26 Mobly Snippet Lib. --> 27 <instrumentation 28 android:name="com.google.android.mobly.snippet.SnippetRunner" 29 android:targetPackage="com.google.snippet.wifi.aware" /> 30</manifest> 31