[WifiDialog] Suppress activity transition
Suppress the activity transition when finishing so that only the dialog's animation will be played. Bug: 25796672 Change-Id: I0c472313608aa46f780ce2fdb79224c0ad3a4dad
This commit is contained in:
@@ -60,6 +60,12 @@ public class WifiDialogActivity extends Activity implements WifiDialog.WifiDialo
|
|||||||
dialog.setOnDismissListener(this);
|
dialog.setOnDismissListener(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void finish() {
|
||||||
|
super.finish();
|
||||||
|
overridePendingTransition(0, 0);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onForget(WifiDialog dialog) {
|
public void onForget(WifiDialog dialog) {
|
||||||
final WifiManager wifiManager = getSystemService(WifiManager.class);
|
final WifiManager wifiManager = getSystemService(WifiManager.class);
|
||||||
|
Reference in New Issue
Block a user