Critical AlarmManager bug
Using AlarmManager.RTC every minute does not wake the phone (from deep sleep) to trigger the alarm (which is supposed to stop PoM). Meaning that if a user sets PoM for 1 hour, the phone will stay in airplane mode after that duration until the user wakes up the phone (turning on the screen). This is critical since the user cannot receive calls for a longer duration than expected!!
To reproduce: set PoM to 5 minutes, disconnect phone charger and turn off display. If left idle, the phone cannot receive any phone calls 7 or 8 minutes later.