My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions

Issue 1 attachment: notification-patch.diff (1.0 KB)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Index: GPSLogger/src/com/prom2m/android/gpslogger/service/GPSLoggerService.java
===================================================================
--- GPSLogger/src/com/prom2m/android/gpslogger/service/GPSLoggerService.java (revision 15)
+++ GPSLogger/src/com/prom2m/android/gpslogger/service/GPSLoggerService.java (working copy)
@@ -7,6 +7,7 @@
import java.util.GregorianCalendar;
import java.util.TimeZone;

+import com.prom2m.android.gpslogger.GPSLoggerActivity;
import com.prom2m.android.gpslogger.R;
import android.app.Notification;
import android.app.NotificationManager;
@@ -202,7 +203,7 @@
// The PendingIntent to launch our activity if the user selects this
// notification
PendingIntent contentIntent = PendingIntent.getActivity(this, 0,
- new Intent(this, GPSLoggerService.class), 0);
+ new Intent(this, GPSLoggerActivity.class), 0);

// Set the info for the views that show in the notification panel.
notification.setLatestEventInfo(this, getText(R.string.service_name),
Powered by Google Project Hosting