首先请到这里查看:http://docs.oracle.com/javase/tutorial/java/nutsandbolts/operators.html 这是按位或赋值运算符。 它与以下表达式相同:note.flags = note.flags | Notification.FLAG_AUTO_CANCEL;