Skip to content

Commit

Permalink
Revert notification icon change for 2.3.
Browse files Browse the repository at this point in the history
On 2.3, the updated notification icon doesn't look too good, so
switched back to using the app icon here.
  • Loading branch information
ahmedre committed Mar 9, 2015
1 parent 292d03d commit 6d561b6
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1074,7 +1074,7 @@ appContext, REQUEST_CODE_STOP, getAudioIntent(this, ACTION_STOP),
if (mNotificationBuilder == null) {
mNotificationBuilder = new NotificationCompat.Builder(appContext);
mNotificationBuilder
.setSmallIcon(R.drawable.ic_notification)
.setSmallIcon(R.drawable.icon)
.setColor(mNotificationColor)
.setOngoing(true)
.setContentTitle(mNotificationName)
Expand All @@ -1089,7 +1089,7 @@ appContext, REQUEST_CODE_STOP, getAudioIntent(this, ACTION_STOP),
if (mPausedNotificationBuilder == null) {
mPausedNotificationBuilder = new NotificationCompat.Builder(appContext);
mPausedNotificationBuilder
.setSmallIcon(R.drawable.ic_notification)
.setSmallIcon(R.drawable.icon)
.setColor(mNotificationColor)
.setOngoing(true)
.setContentTitle(mNotificationName)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ private void showNotification(String titleString,

NotificationCompat.Builder builder =
new NotificationCompat.Builder(mAppContext);
builder.setSmallIcon(R.drawable.ic_notification)
builder.setSmallIcon(R.drawable.icon)
.setColor(mNotificationColor)
.setAutoCancel(true)
.setOngoing(isOnGoing)
Expand Down
Binary file removed app/src/main/res/drawable-xhdpi/ic_notification.png
Binary file not shown.
Binary file removed app/src/main/res/drawable-xxhdpi/ic_notification.png
Binary file not shown.

0 comments on commit 6d561b6

Please sign in to comment.