From e7db97a472aea5f958df3058703b46a37df19a53 Mon Sep 17 00:00:00 2001 From: Herbert von Broeuschmeul Date: Wed, 19 Jan 2011 01:34:46 +0100 Subject: Change app and notification icons Used icons inspired from XlAfbk's proposition: http://forum.xda-developers.com/showpost.php?p=10277778&postcount=29 --- .../android/gps/bluetooth/provider/BlueetoothGpsManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/org/broeuschmeul/android/gps/bluetooth/provider/BlueetoothGpsManager.java') 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, -- cgit v1.1