
12/21/2015
What this post added
This post details how Twitter integrated with Android 6.0 Marshmallow's Doze mode to improve notification performance. It explains how Doze mode restricts background activity and how Twitter adapted its notification delivery to work within these constraints, specifically by using the new AlarmManager.setExactAndAllowWhileIdle API to schedule notifications even when the device is in Doze mode. This allowed for more timely delivery of notifications without significantly impacting battery life.