Skip to content

Commit a421647

Browse files
TreeHugger RobotAndroid (Google) Code Review
authored andcommitted
Merge "Do not dismiss the dialog again when it already is" into ub-testdpc-pic
2 parents c01c2be + 7caf975 commit a421647

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app/src/main/java/com/afwsamples/testdpc/policy/wifimanagement/WifiConfigCreationDialog.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,15 +149,13 @@ public void onDismiss(DialogInterface dialog) {
149149
if (mListener != null) {
150150
mListener.onDismiss();
151151
}
152-
dismiss();
153152
}
154153

155154
@Override
156155
public void onCancel(DialogInterface dialog) {
157156
if (mListener != null) {
158157
mListener.onCancel();
159158
}
160-
dismiss();
161159
}
162160

163161
private void initialize() {

0 commit comments

Comments
 (0)