AutoNotification BROKEN: Autonotification and "SD card encryption" notification

Discussion in 'AutoApps' started by tra999, May 4, 2017.

  1. tra999

    tra999 New Member

    Joined:
    Nov 13, 2016
    Messages:
    6
    Likes Received:
    0
    Hello,
    I'm using a Samsung Galaxy S7, recently upgraded to Nougat. I have encrypted the SD card, but now get a notification on reboot "SD card encrypted". I was trying to use Tasker and Autonotification to automatically clear the notification.
    It seems straightforward, but the notification will not clear using Autonotification. (To clear manually all I have to do is press the notification).
    All my profile does is wait 3 minutes after device boot up and then attempt to clear the notification icon. In testing the task, I can query for the correct value (either Android System or the syntax of the title). I have some flashes to show that actual data was matched.
    But when I do my last Action, which is Autonotification Actions: Intercept Action ID: %antouchaction nothing happens. (I have also tried %antouchaction(), with the same result).
    Is there an issue with Autonotification being able to click on the Android System generated notification? This works perfectly on other app notifications, for example from text and email applications.
    Thank you.
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Have you tried using the Cancel action? :)
     
  3. tra999

    tra999 New Member

    Joined:
    Nov 13, 2016
    Messages:
    6
    Likes Received:
    0
    That was it! Thank you very much.
     
  4. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Great! :)
     
  5. tra999

    tra999 New Member

    Joined:
    Nov 13, 2016
    Messages:
    6
    Likes Received:
    0
    So, this has just stopped working as of the last couple of days. All I am doing is an AutoNotification Query to capture the notification (I've tried using app name as Android System and also the original query, which was just App Title: SD card encryption). Then I use the cancel action to clear the notification. However, this no longer works (for the last several days). For testing, I've added a Flash to Display %anapp(). This comes up as blank, which seems to indicate that the query is not getting the information. Has anything changed? I noticed that Tasker recently updated (to a new look) and also that AutoInput was updated yesterday. AutoNotification was updated 2 days ago. I made no changes to my original Tasker Tasks or Profiles-it just stopped working. I've also tried simple tests to query for other notifications (Tasker or Email) and cannot get any information to Flash when I configure that. It seems that I cannot use the query to match anything and get the information. Any help is appreciated.
     
  6. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Can you please check if the notification intercept service in AutoNotification is still running? Can you try rebooting and try again? Thanks!
     
  7. tra999

    tra999 New Member

    Joined:
    Nov 13, 2016
    Messages:
    6
    Likes Received:
    0
    I have tried rebooting multiple times during my testing. In Tasker, I have a simple profile which triggers on a reboot. From there it runs a Task called "Click SD Card Notification". This task is pretty simple too:
    Step 1: Wait 3 minutes. (Just to let the system finish booting so there are no conflicts. For testing I have tried values from zero to five minutes)
    Step 2: Autonotification query step: The query simply tries to match on "Title", which is SD card encryption. I have tried to match on app (Android System) as well.
    Step 3: Autonotification cancel step: Cancel matching on the Title, SD card encryption. I've also tried cancelling based on Android System, but that fails as well.
    Again, this worked great for almost 6 months until a few days ago. I reboot the phone every couple of days, so I would have noticed. The last Verizon update for the phone was over a month ago I believe.
    Here are the logs from a reboot at about 9:48AM
    version 3.0.bf

    OS Build NRD90M.G935VVRS4BQH1
    OS Code 24
    Device SM-G935V
    Manufacturer samsung
    Product hero2qltevzw

    Notification Intercepts - 2017-09-11 10:04:45.225 - Set last update from notification from android
    Notification Intercepts - 2017-09-11 10:04:45.215 - Removed notification from android
    Notification Intercepts - 2017-09-11 10:04:42.305 - Set last update from notification from android
    Notification Intercepts - 2017-09-11 10:04:42.292 - New notification from android
    Notification Intercepts - 2017-09-11 10:04:42.291 - Set last update from notification from android
    Notification Intercepts - 2017-09-11 10:04:42.268 - New notification from android
    Notification Intercepts - 2017-09-11 10:03:45.576 - Set last update from notification from android
    Notification Intercepts - 2017-09-11 10:03:45.567 - Removed notification from android
    Notification Intercepts - 2017-09-11 10:03:29.834 - Set last update from notification from android
    Notification Intercepts - 2017-09-11 10:03:29.824 - New notification from android
    Notification Intercepts - 2017-09-11 10:03:29.812 - Set last update from notification from android
    Notification Intercepts - 2017-09-11 10:03:29.803 - New notification from android
    Notification Intercepts - 2017-09-11 10:02:15.048 - Set last update from notification from com.samsung.android.email.provider
    Notification Intercepts - 2017-09-11 10:02:15.030 - New notification from com.samsung.android.email.provider
    Notification Intercepts - 2017-09-11 09:50:36.569 - New notification from net.dinglisch.android.taskerm
    Notification Intercepts - 2017-09-11 09:50:36.464 - New notification from net.dinglisch.android.taskerm
    Notification Intercepts - 2017-09-11 09:50:21.590 - Set last update from notification from android
    Notification Intercepts - 2017-09-11 09:50:21.499 - New notification from android
    Notification Intercepts - 2017-09-11 09:50:21.471 - Set last update from notification from com.joaomgcd.autoinput
    Notification Intercepts - 2017-09-11 09:50:21.314 - New notification from com.joaomgcd.autoinput
    Notification Intercepts - 2017-09-11 09:49:14.817 - New notification from net.dinglisch.android.taskerm
    Notification Intercepts - 2017-09-11 09:48:02.467 - Set last update from notification from android
    Notification Intercepts - 2017-09-11 09:48:02.450 - Removed notification from android

    Yet the notification is still there.
    notification1.jpg
     
  8. tra999

    tra999 New Member

    Joined:
    Nov 13, 2016
    Messages:
    6
    Likes Received:
    0
    I just saw that AutoNotification had an update, so I installed it. There is an improvement, as I can now add a "Flash" notification to the Tasker task and see either App name or Title correctly displayed (it was blank before), but it will still not actually clear the SD card notification. Seems like I can now query for the notification correctly, but still cannot clear (cancel) it. I wonder if there was some change in Android that doesn't allow other apps to clear system notifications.
     
  9. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Hmm, can you cancel that notification manually, as in, can you swipe it away?
     
  10. tra999

    tra999 New Member

    Joined:
    Nov 13, 2016
    Messages:
    6
    Likes Received:
    0
    To make it go away, I can pull down the notification bar and then just tap the notification. A long press brings up the Android System app notification properties. Swiping (quickly) left or right doesn't dismiss the notification. Swiping and holding left or right brings up a "gear" symbol and tapping that brings up the App Notification page (same action as a long press).
    I also tried the new feature to block notifications from Android System, with no luck. It seems weird, like it is a persistent notification, but one that goes away with a tap. The strange thing is that this worked fine for almost 6 months and suddenly changed, which leads me to believe that either google or verizon changed something to not allow the automated dismissal. But I don't know how I'd prove that.
     
  11. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806

Share This Page