AutoTools Custom Setting "Reading Mode"

Discussion in 'AutoApps' started by Ashen, Jun 26, 2019.

  1. Ashen

    Ashen New Member

    Joined:
    Jun 5, 2019
    Messages:
    5
    Likes Received:
    1
    On OnePlus 6T trying to change the reading mode status from 0 to 1.
    I run it trough a "Custom Setting".
    Tried with toggle, int and string...

    When I want to run it I get this error:


    14.03.37/E FIRE PLUGIN: AutoTools Secure Settings / com.twofortyfouram.locale.intent.action.FIRE_SETTING: 6 bundle keys
    14.03.37/E AutoTools Secure Settings: plugin comp: com.joaomgcd.autotools/com.joaomgcd.autotools.broadcastreceiver.IntentServiceFire
    14.03.37/E add wait type Plugin2 time 60
    14.03.37/E add wait type Plugin2 done
    14.03.37/E handlePluginFinish: taskExeID: 2 result 3
    14.03.37/E pending result code
    14.03.37/E add wait task
    14.03.37/E Error: 1185377229
    14.03.37/E Can't change setting on this device: You cannot keep your settings in the secure settings.


    Task:
    <TaskerData sr="" dvi="1" tv="5.7.2">
    <Task sr="task26">
    <cdate>1561549818259</cdate>
    <edate>1561550872873</edate>
    <id>26</id>
    <nme>Black And White</nme>
    <pri>100</pri>
    <Action sr="act0" ve="7">
    <code>1646792910</code>
    <se>false</se>
    <Bundle sr="arg0">
    <Vals sr="val">
    <com.twofortyfouram.locale.intent.extra.BLURB>Setting Type: System
    Name: reading_mode_status
    Input Type: Toggle
    Value: 3
    Read Setting: true</com.twofortyfouram.locale.intent.extra.BLURB>
    <com.twofortyfouram.locale.intent.extra.BLURB-type>java.lang.String</com.twofortyfouram.locale.intent.extra.BLURB-type>
    <net.dinglisch.android.tasker.JSON_ENCODED_KEYS>parameters</net.dinglisch.android.tasker.JSON_ENCODED_KEYS>
    <net.dinglisch.android.tasker.JSON_ENCODED_KEYS-type>java.lang.String</net.dinglisch.android.tasker.JSON_ENCODED_KEYS-type>
    <net.dinglisch.android.tasker.RELEVANT_VARIABLES>&lt;StringArray sr=""&gt;&lt;_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES0&gt;%reading_mode_status
    Custom Setting
    Custom Setting&lt;/_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES0&gt;&lt;_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES1&gt;%err
    Error Code
    Only available if you select &amp;lt;b&amp;gt;Continue Task After Error&amp;lt;/b&amp;gt; and the action ends in error&lt;/_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES1&gt;&lt;_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES2&gt;%errmsg
    Error Message
    Only available if you select &amp;lt;b&amp;gt;Continue Task After Error&amp;lt;/b&amp;gt; and the action ends in error&lt;/_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES2&gt;&lt;/StringArray&gt;</net.dinglisch.android.tasker.RELEVANT_VARIABLES>
    <net.dinglisch.android.tasker.RELEVANT_VARIABLES-type>[Ljava.lang.String;</net.dinglisch.android.tasker.RELEVANT_VARIABLES-type>
    <net.dinglisch.android.tasker.extras.VARIABLE_REPLACE_KEYS>parameters plugininstanceid plugintypeid </net.dinglisch.android.tasker.extras.VARIABLE_REPLACE_KEYS>
    <net.dinglisch.android.tasker.extras.VARIABLE_REPLACE_KEYS-type>java.lang.String</net.dinglisch.android.tasker.extras.VARIABLE_REPLACE_KEYS-type>
    <net.dinglisch.android.tasker.subbundled>true</net.dinglisch.android.tasker.subbundled>
    <net.dinglisch.android.tasker.subbundled-type>java.lang.Boolean</net.dinglisch.android.tasker.subbundled-type>
    <parameters>{"inputServices":{"settingsAccessibilityServices":"","settingsChangeAccessibility":false,"settingsChangeNotificationListeners":false,"settingsChangeQuickSettingsTiles":false,"settingsNotificationListeners":"","settingsQuickSettingsTiles":""},"settingsCustom":{"customSettingInputType":"4","customSettingName":"reading_mode_status","customSettingRead":true,"customSettingType":"2","customSettingValue":"3"},"settingsNotifications":{},"settingsRead":"","settingsScreen":{},"systemAnimations":{},"generatedValues":{}}</parameters>
    <parameters-type>java.lang.String</parameters-type>
    <plugininstanceid>d498ee56-ebe7-4a84-916a-7d7a9ce1501e</plugininstanceid>
    <plugininstanceid-type>java.lang.String</plugininstanceid-type>
    <plugintypeid>com.joaomgcd.autotools.intent.Intentsettings</plugintypeid>
    <plugintypeid-type>java.lang.String</plugintypeid-type>
    </Vals>
    </Bundle>
    <Str sr="arg1" ve="3">com.joaomgcd.autotools</Str>
    <Str sr="arg2" ve="3">com.joaomgcd.autotools.activity.ActivityConfigsettings</Str>
    <Int sr="arg3" val="60"/>
    </Action>
    </Task>
    </TaskerData>
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    8,355
    Likes Received:
    711
    Try using the Custom Setting action in Tasker which replaces this and enhances it :)
     

Share This Page