This is the solution to fix the StartingAlertService Wakelock
To reproduce the problem (or the fix) modify calendar settings to notify events in status bar, create a an event and add a reminder inmediatly, so a notificantion is triggered an...
After study Phone.apk and ClockPackage.apk I've found how to disable properly the autorotation:
Disable autorotation in Phone.apk (only in callscreen)
Locate method onCo...
Lol no. Use something else for that.
After understand the problem I have decompiled the apk and add the permission to the manifest, but we have a few problems.
If you read this article: https://www.xda-developers.com/android-3-2-code-inadverte...
ok, the real StartingAlertService Wakelock fix is replace the handleMessage function in AlertService$ServiceHandler.smali in TouchWizCalendar.apk with:
# virtual methods
.method public handleMessage(Landroid/os/Message;)V
It occured again (after about 40 minutes after enabling dt2w), managed to make a screen recording:
But I could not display any dmesg messages
(maybe I have the wrong app: https://play.google.com...