AutoInput tasker/autoinput not working with display off

Discussion in 'AutoApps' started by alebum, Oct 1, 2016.

  1. alebum

    alebum New Member

    Hello,
    My car's BT tries to force happiness on me by sending "Media Play" command everytime I switch to BT. It triggers my default media player and starts playing music.
    It is a bit annoying - when I change volume the music starts, when I switch between radio and BT - the music starts...

    I've created this script in tasker/autoinput that partially solves the problem:
    Code (Text):

    Profile: Media Play (6)
        State: Media Button [ Button:Play Held Down:Off Grab:Off Stop Event:Off ]
    Enter: Blokada Grania (3)
        A1: AutoInput Modes [ Configuration:Key Suppress: Enable
    Keys: Media Play Timeout (Seconds):2 ]
    However it works only with the display ON. When the screen is off (and mostly is while I'm driving) the scripts doesn't work.
    Both tasker and autoinput are excluded from baterry saving.
    Android 7 on Nexus 5X, no root.

    Hope I'll find help here :)
     
    Last edited: Oct 1, 2016
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Unfortunately AutoInput ins't able to intercept keys while the screen is off. It's an Android limitation. Sorry, wish I could help!
     
  3. alebum

    alebum New Member

    yeah, I've foud it yesterday in my desperate longing of solving my problem :)
    Thanks anyway.
     
  4. eggsterino

    eggsterino New Member

  5. maxtag

    maxtag New Member

    Just curious if anything has changed over the years. It seems not since tasks still aren't launched when screen's off but just checkin
     
  6. joaomgcd

    joaomgcd Administrator Staff Member

    Nope, unfortunately not.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice