Apply policy transparency to HotspotCondition and WiFi settings...

...when there is an active hotspot and user restriction for disallowing
tether config is in effect. This is to avoid getting security exceptions
from WifiManager when engaging with HotspotCondition or Wifi enable switch.

Bug:27936528
Change-Id: Ib3324e853277c177966b55668758d349ffe6ecf5
This commit is contained in:
Zoltan Szatmary-Ban
2016-04-11 19:56:03 +01:00
parent 2cae2f1613
commit 3f6208170d
4 changed files with 58 additions and 9 deletions

View File

@@ -85,11 +85,13 @@
<!-- TODO: Better background -->
<View
android:id="@+id/divider"
android:layout_width="match_parent"
android:layout_height=".25dp"
android:background="@android:color/white" />
<com.android.internal.widget.ButtonBarLayout
android:id="@+id/buttonBar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="8dp"