Ich verstehe nicht, warum:Wie werden Android Service Flags verwendet?
if((flags & (Service.START_FLAG_REDELIVERY |Service.START_FLAG_RETRY) != 0)
// 2 flags are present.
weil:
if((flags & (Service.START_FLAG_REDELIVERY |Service.START_FLAG_RETRY) != 0)
//it means that at least one of the 2 is present.
dass flags = XY annehmen:
if((flags & (Service.START_FLAG_REDELIVERY |Service.START_FLAG_RETRY) != 0)
//means that X!=0 or Y!=0 not X!=0 and Y!=0.