我正在使用v13支持庫。我使用通知構建器和.setProgress構建了一個進度通知。它在4.2.2設備上工作得很好,但在2.3.5上沒有顯示。NotificationBuilder.setProgress在2.3.5上不執行任何操作
這是正常的行爲?
mNotifyManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
mBuilder = new NotificationCompat.Builder(this);
mBuilder.setContentTitle("Photo Upload")
.setContentText("Upload in progress")
.setSmallIcon(R.drawable.ic_action_upload)
.setOngoing(true);
.
.
mBuilder.setProgress(100, prog, false);
mNotifyManager.notify(sNotificationID, mBuilder.build());
有關於此的任何消息嗎? – 2015-07-01 21:36:48