Loading packages/SystemUI/src/com/android/systemui/qs/tiles/HotspotTile.java +7 −1 Original line number Diff line number Diff line Loading @@ -16,6 +16,9 @@ package com.android.systemui.qs.tiles; import android.content.BroadcastReceiver; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.os.UserManager; Loading @@ -37,6 +40,9 @@ import com.android.systemui.statusbar.policy.HotspotController; /** Quick settings tile: Hotspot **/ public class HotspotTile extends QSTile<QSTile.AirplaneBooleanState> { static final Intent TETHER_SETTINGS = new Intent().setComponent(new ComponentName( "com.android.settings", "com.android.settings.TetherSettings")); private final AnimationIcon mEnable = new AnimationIcon(R.drawable.ic_hotspot_enable_animation, R.drawable.ic_hotspot_disable); Loading Loading @@ -94,7 +100,7 @@ public class HotspotTile extends QSTile<QSTile.AirplaneBooleanState> { @Override public Intent getLongClickIntent() { return new Intent(Settings.ACTION_WIRELESS_SETTINGS); return new Intent(TETHER_SETTINGS); } @Override Loading Loading
packages/SystemUI/src/com/android/systemui/qs/tiles/HotspotTile.java +7 −1 Original line number Diff line number Diff line Loading @@ -16,6 +16,9 @@ package com.android.systemui.qs.tiles; import android.content.BroadcastReceiver; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.os.UserManager; Loading @@ -37,6 +40,9 @@ import com.android.systemui.statusbar.policy.HotspotController; /** Quick settings tile: Hotspot **/ public class HotspotTile extends QSTile<QSTile.AirplaneBooleanState> { static final Intent TETHER_SETTINGS = new Intent().setComponent(new ComponentName( "com.android.settings", "com.android.settings.TetherSettings")); private final AnimationIcon mEnable = new AnimationIcon(R.drawable.ic_hotspot_enable_animation, R.drawable.ic_hotspot_disable); Loading Loading @@ -94,7 +100,7 @@ public class HotspotTile extends QSTile<QSTile.AirplaneBooleanState> { @Override public Intent getLongClickIntent() { return new Intent(Settings.ACTION_WIRELESS_SETTINGS); return new Intent(TETHER_SETTINGS); } @Override Loading