Renamed another activity to fragment

pull/14/head
Tim Su 13 years ago
parent c34c1df463
commit 814bbef471

@ -61,7 +61,7 @@ import com.todoroo.astrid.ui.NumberPicker;
* @author timsu * @author timsu
* *
*/ */
public class NotificationActivity extends TaskListFragment implements OnTimeSetListener { public class NotificationFragment extends TaskListFragment implements OnTimeSetListener {
// --- constants // --- constants
@ -163,9 +163,9 @@ public class NotificationActivity extends TaskListFragment implements OnTimeSetL
LinearLayout snoozePicker; LinearLayout snoozePicker;
NumberPicker snoozeValue; NumberPicker snoozeValue;
Spinner snoozeUnits; Spinner snoozeUnits;
NotificationActivity parent; NotificationFragment parent;
public SnoozeDialog(NotificationActivity parent) { public SnoozeDialog(NotificationFragment parent) {
super(parent.getActivity()); super(parent.getActivity());
this.parent = parent; this.parent = parent;

@ -164,7 +164,7 @@ public class Notifications extends BroadcastReceiver {
Intent notifyIntent = new Intent(context, NotificationWrapperActivity.class); Intent notifyIntent = new Intent(context, NotificationWrapperActivity.class);
notifyIntent.setAction("NOTIFY" + id); //$NON-NLS-1$ notifyIntent.setAction("NOTIFY" + id); //$NON-NLS-1$
notifyIntent.putExtra(NotificationActivity.TOKEN_ID, id); notifyIntent.putExtra(NotificationFragment.TOKEN_ID, id);
notifyIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_MULTIPLE_TASK); notifyIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_MULTIPLE_TASK);
notifyIntent.putExtra(TaskListFragment.TOKEN_SOURCE, Constants.SOURCE_NOTIFICATION); notifyIntent.putExtra(TaskListFragment.TOKEN_SOURCE, Constants.SOURCE_NOTIFICATION);

Loading…
Cancel
Save