From 099101784349e7f5a541ecb7411a118bbeebb99b Mon Sep 17 00:00:00 2001 From: Paul Jensen Date: Fri, 1 Apr 2016 13:28:24 -0400 Subject: [PATCH] Control WifiManager.MulticastLock from connectivity dev app Add buttons to acquire and release the WifiManager.MulticastLock. Change-Id: I28fd7743cb3adfeec055b6bcce2c8128b15cf2d3 --- apps/Development/AndroidManifest.xml | 1 + apps/Development/res/layout/connectivity.xml | 13 +++++++++++ apps/Development/res/values/strings.xml | 2 ++ .../com/android/development/Connectivity.java | 23 ++++++++++++++++++- 4 files changed, 38 insertions(+), 1 deletion(-) diff --git a/apps/Development/AndroidManifest.xml b/apps/Development/AndroidManifest.xml index d932174d1..2379e0070 100644 --- a/apps/Development/AndroidManifest.xml +++ b/apps/Development/AndroidManifest.xml @@ -20,6 +20,7 @@ + diff --git a/apps/Development/res/layout/connectivity.xml b/apps/Development/res/layout/connectivity.xml index e5020d822..7c5c71419 100644 --- a/apps/Development/res/layout/connectivity.xml +++ b/apps/Development/res/layout/connectivity.xml @@ -42,6 +42,19 @@ android:layout_height="wrap_content" android:text="@string/disable_wifi" /> + +