1
0
mirror of https://github.com/danog/termux-api.git synced 2024-11-26 20:04:42 +01:00

CallLogAPI: remove options since the CallLogAPI isn't available

This commit is contained in:
Henrik Grimler 2019-08-11 16:46:55 +02:00
parent dc93861cfb
commit 6051e19c67

View File

@ -20,9 +20,6 @@ import java.util.Locale;
public class CallLogAPI { public class CallLogAPI {
static void onReceive(final Context context, final JSONObject opts) { static void onReceive(final Context context, final JSONObject opts) {
final int offset = opts.optInt("offset");
final int limit = opts.optInt("limit", 50);
ResultReturner.returnData(context, new ResultReturner.ResultJsonWriter() { ResultReturner.returnData(context, new ResultReturner.ResultJsonWriter() {
public void writeJson(JsonWriter out) throws Exception { public void writeJson(JsonWriter out) throws Exception {
out.beginObject(); out.beginObject();