aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/broeuschmeul/android/gps/bluetooth
diff options
context:
space:
mode:
authorHerbert von Broeuschmeul <Herbert.Broeuschmeul@gmail.com>2011-01-19 01:34:46 +0100
committerHerbert von Broeuschmeul <Herbert.Broeuschmeul@gmail.com>2011-01-19 01:34:46 +0100
commite7db97a472aea5f958df3058703b46a37df19a53 (patch)
treec8de0e0581d9a08569747c54a742e4f5db089ebe /src/org/broeuschmeul/android/gps/bluetooth
parente06ca130dee89b1383e3d0c1470d149776c37022 (diff)
downloadBlueGPS-e7db97a472aea5f958df3058703b46a37df19a53.zip
BlueGPS-e7db97a472aea5f958df3058703b46a37df19a53.tar.gz
BlueGPS-e7db97a472aea5f958df3058703b46a37df19a53.tar.bz2
Change app and notification icons
Used icons inspired from XlAfbk's proposition: http://forum.xda-developers.com/showpost.php?p=10277778&postcount=29
Diffstat (limited to 'src/org/broeuschmeul/android/gps/bluetooth')
-rw-r--r--src/org/broeuschmeul/android/gps/bluetooth/provider/BlueetoothGpsManager.java4
-rw-r--r--src/org/broeuschmeul/android/gps/bluetooth/provider/BluetoothGpsProviderService.java2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/org/broeuschmeul/android/gps/bluetooth/provider/BlueetoothGpsManager.java b/src/org/broeuschmeul/android/gps/bluetooth/provider/BlueetoothGpsManager.java
index 39a0bf4..1917f77 100644
--- a/src/org/broeuschmeul/android/gps/bluetooth/provider/BlueetoothGpsManager.java
+++ b/src/org/broeuschmeul/android/gps/bluetooth/provider/BlueetoothGpsManager.java
@@ -185,14 +185,14 @@ public class BlueetoothGpsManager {
parser.setLocationManager(locationManager);
connectionProblemNotification = new Notification();
- connectionProblemNotification.icon = R.drawable.icon;
+ connectionProblemNotification.icon = R.drawable.ic_stat_notify;
Intent stopIntent = new Intent(BluetoothGpsProviderService.ACTION_STOP_GPS_PROVIDER);
// PendingIntent stopPendingIntent = PendingIntent.getService(appContext, 0, stopIntent, PendingIntent.FLAG_CANCEL_CURRENT);
PendingIntent stopPendingIntent = PendingIntent.getService(appContext, 0, stopIntent, PendingIntent.FLAG_CANCEL_CURRENT);
connectionProblemNotification.contentIntent = stopPendingIntent;
serviceStoppedNotification = new Notification();
- serviceStoppedNotification.icon=R.drawable.icon;
+ serviceStoppedNotification.icon=R.drawable.ic_stat_notify;
Intent restartIntent = new Intent(BluetoothGpsProviderService.ACTION_START_GPS_PROVIDER);
PendingIntent restartPendingIntent = PendingIntent.getService(appContext, 0, restartIntent, PendingIntent.FLAG_CANCEL_CURRENT);
serviceStoppedNotification.setLatestEventInfo(appContext,
diff --git a/src/org/broeuschmeul/android/gps/bluetooth/provider/BluetoothGpsProviderService.java b/src/org/broeuschmeul/android/gps/bluetooth/provider/BluetoothGpsProviderService.java
index a2f1c8d..c896008 100644
--- a/src/org/broeuschmeul/android/gps/bluetooth/provider/BluetoothGpsProviderService.java
+++ b/src/org/broeuschmeul/android/gps/bluetooth/provider/BluetoothGpsProviderService.java
@@ -125,7 +125,7 @@ public class BluetoothGpsProviderService extends Service implements NmeaListener
}
if (enabled) {
gpsManager.enableMockLocationProvider(mockProvider);
- Notification notification = new Notification(R.drawable.icon, this.getString(R.string.foreground_gps_provider_started_notification), System.currentTimeMillis());
+ Notification notification = new Notification(R.drawable.ic_stat_notify, this.getString(R.string.foreground_gps_provider_started_notification), System.currentTimeMillis());
Intent myIntent = new Intent(this, BluetoothGpsActivity.class);
PendingIntent myPendingIntent = PendingIntent.getActivity(this, 0, myIntent, PendingIntent.FLAG_CANCEL_CURRENT);
notification.setLatestEventInfo(getApplicationContext(), this.getString(R.string.foreground_service_started_notification_title), this.getString(R.string.foreground_gps_provider_started_notification), myPendingIntent);