OSDN Git Service

Icon support comes to Notification.
authorDan Sandler <dsandler@android.com>
Wed, 6 May 2015 19:18:49 +0000 (15:18 -0400)
committerDaniel Sandler <dsandler@android.com>
Fri, 15 May 2015 12:35:21 +0000 (12:35 +0000)
commitd63f9321e62064660d426efd5abbd885c4a24652
tree96d7252ec6ba03410097d24a93abed13e52516d7
parentaee0c2ce39fe92716bb76d33d6f8cc8789467cf6
Icon support comes to Notification.

  And you may ask yourself: what is that beautiful icon?
  And you may ask yourself: where does that API go to?
  And you may ask yourself: is it a resource? is it a Bitmap?
  And you may say to yourself: my god, what have I done

(This patch fixes a number of bugs in the initial
implementation, but other than that, it's the same as it
ever was.)

Bug: 18568715
Bug: 21141842
Change-Id: I1d3f9427abd7f0bb57e533fcfac708851ff644b6
14 files changed:
api/current.txt
api/system-current.txt
core/java/android/app/Notification.java
core/java/android/app/NotificationManager.java
core/java/com/android/internal/statusbar/StatusBarIcon.java
core/java/com/android/internal/util/NotificationColorUtil.java
graphics/java/android/graphics/drawable/Icon.java
packages/SystemUI/src/com/android/systemui/screenshot/GlobalScreenshot.java
packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
packages/SystemUI/src/com/android/systemui/statusbar/StatusBarIconView.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/DemoStatusIcons.java
services/core/java/com/android/server/am/ServiceRecord.java
services/core/java/com/android/server/notification/NotificationManagerService.java
services/core/java/com/android/server/notification/NotificationRecord.java