我用它来通知但我想禁用通知灯的闪烁。我是怎么做的,请指教我
Notification.Builder builder = new Notification.Builder(context);
builder.setLights(0xff00ff00, 300, 100)
.
.
.
答案 0 :(得分:1)
这个怎么样:
builder.setLights(0xff00ff00, 1000 * 60 * 60, 1); // on for one hour, off for 1ms