mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-26 12:03:28 +08:00
Fix spacing, convert all tabs to spaces
This commit is contained in:
parent
4b38ccef80
commit
21614ea891
@ -33,7 +33,6 @@ import android.media.Ringtone;
|
||||
import android.media.RingtoneManager;
|
||||
import android.net.Uri;
|
||||
import android.os.Vibrator;
|
||||
import android.util.Log;
|
||||
import android.widget.EditText;
|
||||
|
||||
/**
|
||||
@ -241,8 +240,7 @@ public class Notification extends CordovaPlugin {
|
||||
dialog.dismiss();
|
||||
callbackContext.sendPluginResult(new PluginResult(PluginResult.Status.OK, 3));
|
||||
}
|
||||
}
|
||||
);
|
||||
});
|
||||
} catch (JSONException e) { }
|
||||
}
|
||||
dlg.setOnCancelListener(new AlertDialog.OnCancelListener() {
|
||||
@ -336,13 +334,11 @@ public class Notification extends CordovaPlugin {
|
||||
} catch (JSONException e) { e.printStackTrace(); }
|
||||
callbackContext.sendPluginResult(new PluginResult(PluginResult.Status.OK, result));
|
||||
}
|
||||
}
|
||||
);
|
||||
});
|
||||
} catch (JSONException e) { }
|
||||
}
|
||||
dlg.setOnCancelListener(new AlertDialog.OnCancelListener() {
|
||||
public void onCancel(DialogInterface dialog)
|
||||
{
|
||||
public void onCancel(DialogInterface dialog){
|
||||
dialog.dismiss();
|
||||
try {
|
||||
result.put("buttonIndex",0);
|
||||
|
Loading…
Reference in New Issue
Block a user