- public PhoneLog(final Resources res, final PersistentStore store) {
- super(res, store);
- this.store = store;
- nocalendar = res.getString(R.string.nocalendar);
- noevents = res.getString(R.string.noevents);
- last_call = res.getString(R.string.last_call);
- in_call = res.getString(R.string.in_call);
- out_call = res.getString(R.string.out_call);
- duration = res.getString(R.string.duration);
- lessthan = res.getString(R.string.lessthan);
- minutes1 = res.getString(R.string.minutes1);
- minutes2to4 = res.getString(R.string.minutes2to4);
- minutes5up = res.getString(R.string.minutes5up);
- sayWhen = new SayWhen(res);
- calendar_name = store.get("calendar_name");
- peer_name = store.get("peer_name");
- calendar_id = store.get("calendar_id");
- calendar = Calendar.builder(httpTransport, jsonFactory)
+ public PhoneLog(APIBase base) {
+ super(base);
+ nocalendar = base.res.getString(R.string.nocalendar);
+ noevents = base.res.getString(R.string.noevents);
+ last_call = base.res.getString(R.string.last_call);
+ in_call = base.res.getString(R.string.in_call);
+ out_call = base.res.getString(R.string.out_call);
+ duration = base.res.getString(R.string.duration);
+ lessthan = base.res.getString(R.string.lessthan);
+ minutes1 = base.res.getString(R.string.minutes1);
+ minutes2to4 = base.res.getString(R.string.minutes2to4);
+ minutes5up = base.res.getString(R.string.minutes5up);
+ sayWhen = new SayWhen(base.res);
+ calendar_name = base.store.get("calendar_name");
+ peer_name = base.store.get("peer_name");
+ calendar_id = base.store.get("calendar_id");
+ calendar = Calendar.builder(base.httpTransport,
+ base.jsonFactory)