Friday 21 November 2014

Active App Lollipop fix

Lollipop stopped the getRecentTasks API from working. Fortunately, they made a replacement this time as detailed here. It's not exactly the same, and it's a little bit more work/code to figure out the most recent app. Anyway, it works again! Hooray!

Llama.1.2014.11.20.2330

  • Active app condition works again
Download

Tuesday 18 November 2014

Lollipop Silent Fix

So it appears that Android's audio APIs have gone completely wonky in Lollipop. Vibrate mode seems to be basically dead... it must now be up to individual apps as to whether they want to vibrate or not, rather than having a system-level override/setting for apps to check. And silent mode has the bug discussed in the previous post.

Anyhew, this is a temporary(?) fix that no longer uses the Ringer Mode API to set the device to Silent. Lollipop treats that as 'priority notifications mode'. Instead, Llama now just sets the volume levels to zero.

Llama.1.2014.11.18.2216

  • Llama now sets volume levels to zero for your silent profile, rather than activating silent mode. Meh.

You probably don't need to install this if you aren't running Lollipop :)

Download

Monday 17 November 2014

Lollipop Llama Lameness

Another Android update, another load of stuff that behaves weird or doesn't work any more. These aren't fixed yet, and probably can't be fixed until someone figures out a workaround or another hack.

  • When changing screen lock password to blank, Lollipop will still show you the numeric keypad and you need to press enter. This was always a bit of a hack, but it's probably an oversight that it doesn't show the slide lock... the Android security settings screen thinks it is in slide lock mode, but the lock screen doesn't.
  • Llama's notification appears on the lockscreen. You can set Llama to 'on going notification no icon', which hides it from the lock screen, but also hides the icon which you might be using to see what profile is active. It'd be nice if notifications had a flag saying "this really isn't exciting enough to appear on a lock screen, but should still show an icon".
  • Silent profiles put the device in priority notification mode, but setting the profile back to normal does not change the notification priority mode. This one appears to be a bug.
  • Airplane mode... yep, still can't be changed by apps... probably requires root still. (╯°□°)╯︵ ┻━┻)
  • Mobile data... also broken, Llama has always been naughty by using an API that it shouldn't be using anyway. Fortunately, there's a shortcut/locale-plugin if your phone is rooted.
  • UPDATE 20th Nov - getRecentTasks no longer works in Lollipop. This means the Active App condition won't work any more for security reasons. Fine, but what about those of us that like to automate our phones? Meh. There might be hope though!

I'll keep my eye on things, but don't expect a fix any time soon. I'm not sure I want to put Lollipop on my main device yet... I've grown far too attached to Xposed modules, and the changes in Lollipop don't excite me enough to give those up!