Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Frey committed Oct 23, 2012
1 parent c1eb8f0 commit 46504d9
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/org/mythtv/client/ui/dvr/UpcomingActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
import org.joda.time.format.DateTimeFormat;
import org.joda.time.format.DateTimeFormatter;
import org.mythtv.R;
import org.mythtv.client.MainApplication;
import org.mythtv.service.dvr.UpcomingDownloadService;
import org.mythtv.service.util.DateUtils;
import org.mythtv.service.util.RunningServiceHelper;
Expand Down Expand Up @@ -55,11 +54,7 @@ public class UpcomingActivity extends AbstractDvrActivity {
private static final String TAG = UpcomingActivity.class.getSimpleName();
private static final int REFRESH_ID = Menu.FIRST + 2;

<<<<<<< HEAD
private RunningServiceHelper mRunningServiceHelper;
=======
private MainApplication mainApplication;
>>>>>>> f218778821243ac4432be6a58b0d34c5f64c0a44

private UpcomingDownloadReceiver upcomingDownloadReceiver = new UpcomingDownloadReceiver();

Expand All @@ -73,11 +68,7 @@ protected void onCreate( Bundle savedInstanceState ) {
Log.v( TAG, "onCreate : enter" );
super.onCreate( savedInstanceState );

<<<<<<< HEAD
mRunningServiceHelper = new RunningServiceHelper( this );
=======
mainApplication = (MainApplication) getApplicationContext();
>>>>>>> f218778821243ac4432be6a58b0d34c5f64c0a44

setContentView( R.layout.activity_dvr_upcoming );

Expand Down Expand Up @@ -241,11 +232,7 @@ public CharSequence getPageTitle( int position ) {
default:
DateTimeFormatter defaultDateFormatter = DateTimeFormat.forPattern("yyyy-MM-dd");
DateTime currentDate = defaultDateFormatter.parseDateTime(fragmentHeadings.get( position ));
<<<<<<< HEAD
return DateTimeFormat.forPattern( getMainApplication().getDateFormat()).print(currentDate);
=======
return DateTimeFormat.forPattern(mainApplication.getDateFormat()).print(currentDate);
>>>>>>> f218778821243ac4432be6a58b0d34c5f64c0a44
}

}
Expand Down

0 comments on commit 46504d9

Please sign in to comment.