Skip to content

Instantly share code, notes, and snippets.

@udf
Last active July 15, 2023 11:58
Show Gist options
  • Save udf/96272b281315c492e2df4998bc6979a4 to your computer and use it in GitHub Desktop.
Save udf/96272b281315c492e2df4998bc6979a4 to your computer and use it in GitHub Desktop.
[Tasker] Switching LineageOS profiles (and possibly more) using reflection in Java (https://redd.it/f4v0l0)
<TaskerData sr="" dvi="1" tv="5.9.2">
<Task sr="task5">
<cdate>1581857845453</cdate>
<edate>1581877298764</edate>
<id>5</id>
<nme>Ensure Lineage Loader</nme>
<pri>100</pri>
<Action sr="act0" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">%test</Str>
<Str sr="arg1" ve="3">lineageLoader</Str>
<Str sr="arg2" ve="3">assign
{Object} ()</Str>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act1" ve="7">
<code>37</code>
<ConditionList sr="if">
<Condition sr="c0" ve="3">
<lhs>%test</lhs>
<op>4</op>
<rhs>dalvik.system.DexClassLoader</rhs>
</Condition>
</ConditionList>
</Action>
<Action sr="act10" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">paramTypes[2]</Str>
<Str sr="arg1" ve="3">temp</Str>
<Str sr="arg2" ve="3">getClass
{Class} ()</Str>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act11" ve="7">
<code>665</code>
<Int sr="arg0" val="0"/>
<Str sr="arg1" ve="3">temp</Str>
</Action>
<Action sr="act12" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">paramTypes[3]</Str>
<Str sr="arg1" ve="3">systemLoader</Str>
<Str sr="arg2" ve="3">loadClass
{Class} (String)</Str>
<Str sr="arg3" ve="3">java.lang.ClassLoader</Str>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act13" ve="7">
<code>665</code>
<Int sr="arg0" val="0"/>
<Str sr="arg1" ve="3">systemLoader</Str>
</Action>
<Action sr="act14" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">dexLoaderInit</Str>
<Str sr="arg1" ve="3">dexLoaderClass</Str>
<Str sr="arg2" ve="3">getConstructor
{Constructor} (Class[])</Str>
<Str sr="arg3" ve="3">paramTypes</Str>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3">cl</Str>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act15" ve="7">
<code>665</code>
<Int sr="arg0" val="0"/>
<Str sr="arg1" ve="3">paramTypes</Str>
</Action>
<Action sr="act16" ve="7">
<code>664</code>
<label>Construct dex loader with lineage framework</label>
<Str sr="arg0" ve="3">params</Str>
<Str sr="arg1" ve="3">Object[]</Str>
<Str sr="arg2" ve="3">new
{Object[]} (int)</Str>
<Str sr="arg3" ve="3">4</Str>
<Str sr="arg4" ve="3">4</Str>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act17" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">temp</Str>
<Str sr="arg1" ve="3">String</Str>
<Str sr="arg2" ve="3">new
{String} (String)</Str>
<Str sr="arg3" ve="3">/system/framework/org.lineageos.platform.jar</Str>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act18" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">params[0]</Str>
<Str sr="arg1" ve="3">temp</Str>
<Str sr="arg2" ve="3">assign
{String} ()</Str>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act19" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">lineageLoader</Str>
<Str sr="arg1" ve="3">dexLoaderInit</Str>
<Str sr="arg2" ve="3">newInstance
{Object} (Object[])</Str>
<Str sr="arg3" ve="3">params</Str>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act2" ve="7">
<code>137</code>
<Int sr="arg0" val="0"/>
<Str sr="arg1" ve="3"/>
</Action>
<Action sr="act20" ve="7">
<code>665</code>
<Int sr="arg0" val="0"/>
<Str sr="arg1" ve="3">temp</Str>
</Action>
<Action sr="act21" ve="7">
<code>665</code>
<Int sr="arg0" val="0"/>
<Str sr="arg1" ve="3">params</Str>
</Action>
<Action sr="act22" ve="7">
<code>665</code>
<Int sr="arg0" val="0"/>
<Str sr="arg1" ve="3">dexLoaderInit</Str>
</Action>
<Action sr="act3" ve="7">
<code>38</code>
</Action>
<Action sr="act4" ve="7">
<code>664</code>
<label>Find dex loader constructor</label>
<Str sr="arg0" ve="3">systemLoader</Str>
<Str sr="arg1" ve="3">ClassLoader</Str>
<Str sr="arg2" ve="3">getSystemClassLoader
{ClassLoader} ()</Str>
<Str sr="arg3" ve="3">profile</Str>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act5" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">dexLoaderClass</Str>
<Str sr="arg1" ve="3">systemLoader</Str>
<Str sr="arg2" ve="3">loadClass
{Class} (String)</Str>
<Str sr="arg3" ve="3">dalvik.system.DexClassLoader</Str>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act6" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">paramTypes</Str>
<Str sr="arg1" ve="3">Class[]</Str>
<Str sr="arg2" ve="3">new
{Class[]} (int)</Str>
<Str sr="arg3" ve="3">4</Str>
<Str sr="arg4" ve="3">4</Str>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act7" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">temp</Str>
<Str sr="arg1" ve="3">String</Str>
<Str sr="arg2" ve="3">new
{String} ()</Str>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act8" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">paramTypes[0]</Str>
<Str sr="arg1" ve="3">temp</Str>
<Str sr="arg2" ve="3">getClass
{Class} ()</Str>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act9" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">paramTypes[1]</Str>
<Str sr="arg1" ve="3">temp</Str>
<Str sr="arg2" ve="3">getClass
{Class} ()</Str>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
</Task>
</TaskerData>
<TaskerData sr="" dvi="1" tv="5.9.2">
<Task sr="task3">
<cdate>1581860262770</cdate>
<edate>1581875730248</edate>
<id>3</id>
<nme>Func: Set Profile</nme>
<pri>100</pri>
<Action sr="act0" ve="7">
<code>130</code>
<Str sr="arg0" ve="3">Ensure Lineage Loader</Str>
<Int sr="arg1">
<var>%priority</var>
</Int>
<Str sr="arg2" ve="3"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Int sr="arg5" val="0"/>
</Action>
<Action sr="act1" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">profmanClass</Str>
<Str sr="arg1" ve="3">lineageLoader</Str>
<Str sr="arg2" ve="3">loadClass
{Class} (String)</Str>
<Str sr="arg3" ve="3">lineageos.app.ProfileManager</Str>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act10" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">paramTypes[0]</Str>
<Str sr="arg1" ve="3">profname</Str>
<Str sr="arg2" ve="3">getClass
{Class} ()</Str>
<Str sr="arg3" ve="3">android.content.Context</Str>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act11" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">f</Str>
<Str sr="arg1" ve="3">profmanClass</Str>
<Str sr="arg2" ve="3">getMethod
{Method} (String, Class[])</Str>
<Str sr="arg3" ve="3">setActiveProfile</Str>
<Str sr="arg4" ve="3">paramTypes</Str>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act12" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">params[0]</Str>
<Str sr="arg1" ve="3">profname</Str>
<Str sr="arg2" ve="3">assign
{String} ()</Str>
<Str sr="arg3" ve="3">android.content.Context</Str>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act13" ve="7">
<code>664</code>
<Str sr="arg0" ve="3"/>
<Str sr="arg1" ve="3">f</Str>
<Str sr="arg2" ve="3">invoke
{Object} (Object, Object[])</Str>
<Str sr="arg3" ve="3">profman</Str>
<Str sr="arg4" ve="3">params</Str>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act2" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">paramTypes</Str>
<Str sr="arg1" ve="3">Class[]</Str>
<Str sr="arg2" ve="3">new
{Class[]} (int)</Str>
<Str sr="arg3" ve="3">1</Str>
<Str sr="arg4" ve="3">4</Str>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act3" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">paramTypes[0]</Str>
<Str sr="arg1" ve="3">lineageLoader</Str>
<Str sr="arg2" ve="3">loadClass
{Class} (String)</Str>
<Str sr="arg3" ve="3">android.content.Context</Str>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act4" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">f</Str>
<Str sr="arg1" ve="3">profmanClass</Str>
<Str sr="arg2" ve="3">getMethod
{Method} (String, Class[])</Str>
<Str sr="arg3" ve="3">getInstance</Str>
<Str sr="arg4" ve="3">paramTypes</Str>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act5" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">params</Str>
<Str sr="arg1" ve="3">Object[]</Str>
<Str sr="arg2" ve="3">new
{Object[]} (int)</Str>
<Str sr="arg3" ve="3">1</Str>
<Str sr="arg4" ve="3">4</Str>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act6" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">params[0]</Str>
<Str sr="arg1" ve="3">CONTEXT</Str>
<Str sr="arg2" ve="3">assign
{com.joaomgcd.taskerm.util.TaskerApp} ()</Str>
<Str sr="arg3" ve="3">android.content.Context</Str>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act7" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">profman</Str>
<Str sr="arg1" ve="3">f</Str>
<Str sr="arg2" ve="3">invoke
{Object} (Object, Object[])</Str>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3">params</Str>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act8" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">profname</Str>
<Str sr="arg1" ve="3">String</Str>
<Str sr="arg2" ve="3">new
{String} (String)</Str>
<Str sr="arg3" ve="3">%par1</Str>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act9" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">paramTypes</Str>
<Str sr="arg1" ve="3">Class[]</Str>
<Str sr="arg2" ve="3">new
{Class[]} (int)</Str>
<Str sr="arg3" ve="3">1</Str>
<Str sr="arg4" ve="3">4</Str>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
</Task>
</TaskerData>
<TaskerData sr="" dvi="1" tv="5.9.2">
<Task sr="task6">
<cdate>1581860262770</cdate>
<edate>1581877397246</edate>
<id>6</id>
<nme>PoC: Overlay adjust (service)</nme>
<pri>100</pri>
<Action sr="act0" ve="7">
<code>130</code>
<Str sr="arg0" ve="3">Ensure Lineage Loader</Str>
<Int sr="arg1">
<var>%priority</var>
</Int>
<Str sr="arg2" ve="3"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Int sr="arg5" val="0"/>
</Action>
<Action sr="act1" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">ldmanClass</Str>
<Str sr="arg1" ve="3">lineageLoader</Str>
<Str sr="arg2" ve="3">loadClass
{Class} (String)</Str>
<Str sr="arg3" ve="3">lineageos.hardware.LiveDisplayManager</Str>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act10" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">adj[0]</Str>
<Str sr="arg1" ve="3">v</Str>
<Str sr="arg2" ve="3">assign
{float} ()</Str>
<Str sr="arg3" ve="3">v</Str>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act11" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">adj[1]</Str>
<Str sr="arg1" ve="3">v</Str>
<Str sr="arg2" ve="3">assign
{float} ()</Str>
<Str sr="arg3" ve="3">v</Str>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act12" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">adj[2]</Str>
<Str sr="arg1" ve="3">v</Str>
<Str sr="arg2" ve="3">assign
{float} ()</Str>
<Str sr="arg3" ve="3">v</Str>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act13" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">params[0]</Str>
<Str sr="arg1" ve="3">adj</Str>
<Str sr="arg2" ve="3">assign
{String} ()</Str>
<Str sr="arg3" ve="3">android.content.Context</Str>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act14" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">paramTypes</Str>
<Str sr="arg1" ve="3">Class[]</Str>
<Str sr="arg2" ve="3">new
{Class[]} (int)</Str>
<Str sr="arg3" ve="3">1</Str>
<Str sr="arg4" ve="3">4</Str>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act15" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">paramTypes[0]</Str>
<Str sr="arg1" ve="3">adj</Str>
<Str sr="arg2" ve="3">getClass
{Class} ()</Str>
<Str sr="arg3" ve="3">android.content.Context</Str>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act16" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">f</Str>
<Str sr="arg1" ve="3">ldmanClass</Str>
<Str sr="arg2" ve="3">getMethod
{Method} (String, Class[])</Str>
<Str sr="arg3" ve="3">setColorAdjustment</Str>
<Str sr="arg4" ve="3">paramTypes</Str>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act17" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">%Ret</Str>
<Str sr="arg1" ve="3">f</Str>
<Str sr="arg2" ve="3">invoke
{Object} (Object, Object[])</Str>
<Str sr="arg3" ve="3">ldman</Str>
<Str sr="arg4" ve="3">params</Str>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act2" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">paramTypes</Str>
<Str sr="arg1" ve="3">Class[]</Str>
<Str sr="arg2" ve="3">new
{Class[]} (int)</Str>
<Str sr="arg3" ve="3">1</Str>
<Str sr="arg4" ve="3">4</Str>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act3" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">paramTypes[0]</Str>
<Str sr="arg1" ve="3">lineageLoader</Str>
<Str sr="arg2" ve="3">loadClass
{Class} (String)</Str>
<Str sr="arg3" ve="3">android.content.Context</Str>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act4" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">f</Str>
<Str sr="arg1" ve="3">ldmanClass</Str>
<Str sr="arg2" ve="3">getMethod
{Method} (String, Class[])</Str>
<Str sr="arg3" ve="3">getInstance</Str>
<Str sr="arg4" ve="3">paramTypes</Str>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act5" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">params</Str>
<Str sr="arg1" ve="3">Object[]</Str>
<Str sr="arg2" ve="3">new
{Object[]} (int)</Str>
<Str sr="arg3" ve="3">1</Str>
<Str sr="arg4" ve="3">4</Str>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act6" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">params[0]</Str>
<Str sr="arg1" ve="3">CONTEXT</Str>
<Str sr="arg2" ve="3">assign
{com.joaomgcd.taskerm.util.TaskerApp} ()</Str>
<Str sr="arg3" ve="3">android.content.Context</Str>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act7" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">ldman</Str>
<Str sr="arg1" ve="3">f</Str>
<Str sr="arg2" ve="3">invoke
{Object} (Object, Object[])</Str>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3">params</Str>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act8" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">adj</Str>
<Str sr="arg1" ve="3">float[]</Str>
<Str sr="arg2" ve="3">new
{float[]} (int)</Str>
<Str sr="arg3" ve="3">3</Str>
<Str sr="arg4" ve="3">4</Str>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act9" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">v</Str>
<Str sr="arg1" ve="3">Float</Str>
<Str sr="arg2" ve="3">new
{Float} (float)</Str>
<Str sr="arg3" ve="3">1</Str>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
</Task>
</TaskerData>
<TaskerData sr="" dvi="1" tv="5.9.2">
<Task sr="task2">
<cdate>1581793502031</cdate>
<edate>1581877385025</edate>
<id>2</id>
<nme>PoC: Overlay adjust (settings)</nme>
<pri>100</pri>
<Action sr="act0" ve="7">
<code>130</code>
<Str sr="arg0" ve="3">Ensure Lineage Loader</Str>
<Int sr="arg1">
<var>%priority</var>
</Int>
<Str sr="arg2" ve="3"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Int sr="arg5" val="0"/>
</Action>
<Action sr="act1" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">losSystem</Str>
<Str sr="arg1" ve="3">lineageLoader</Str>
<Str sr="arg2" ve="3">loadClass
{Class} (String)</Str>
<Str sr="arg3" ve="3">lineageos.providers.LineageSettings$System</Str>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act10" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">params[0]</Str>
<Str sr="arg1" ve="3">contentResolver</Str>
<Str sr="arg2" ve="3">assign
{String} ()</Str>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act11" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">temp</Str>
<Str sr="arg1" ve="3">String</Str>
<Str sr="arg2" ve="3">new
{String} (String)</Str>
<Str sr="arg3" ve="3">display_color_adjustment</Str>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act12" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">params[1]</Str>
<Str sr="arg1" ve="3">temp</Str>
<Str sr="arg2" ve="3">assign
{String} ()</Str>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act13" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">temp</Str>
<Str sr="arg1" ve="3">String</Str>
<Str sr="arg2" ve="3">new
{String} (String)</Str>
<Str sr="arg3" ve="3">1 1 1</Str>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act14" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">params[2]</Str>
<Str sr="arg1" ve="3">temp</Str>
<Str sr="arg2" ve="3">assign
{String} ()</Str>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act15" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">%Ret</Str>
<Str sr="arg1" ve="3">f</Str>
<Str sr="arg2" ve="3">invoke
{Object} (Object, Object[])</Str>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3">params</Str>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act2" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">paramTypes</Str>
<Str sr="arg1" ve="3">Class[]</Str>
<Str sr="arg2" ve="3">new
{Class[]} (int)</Str>
<Str sr="arg3" ve="3">3</Str>
<Str sr="arg4" ve="3">4</Str>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act3" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">paramTypes[0]</Str>
<Str sr="arg1" ve="3">lineageLoader</Str>
<Str sr="arg2" ve="3">loadClass
{Class} (String)</Str>
<Str sr="arg3" ve="3">android.content.ContentResolver</Str>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act4" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">temp</Str>
<Str sr="arg1" ve="3">String</Str>
<Str sr="arg2" ve="3">new
{String} ()</Str>
<Str sr="arg3" ve="3">1 1 1</Str>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act5" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">paramTypes[1]</Str>
<Str sr="arg1" ve="3">temp</Str>
<Str sr="arg2" ve="3">getClass
{Class} ()</Str>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act6" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">paramTypes[2]</Str>
<Str sr="arg1" ve="3">temp</Str>
<Str sr="arg2" ve="3">getClass
{Class} ()</Str>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act7" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">f</Str>
<Str sr="arg1" ve="3">losSystem</Str>
<Str sr="arg2" ve="3">getMethod
{Method} (String, Class[])</Str>
<Str sr="arg3" ve="3">putString</Str>
<Str sr="arg4" ve="3">paramTypes</Str>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act8" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">params</Str>
<Str sr="arg1" ve="3">Object[]</Str>
<Str sr="arg2" ve="3">new
{Object[]} (int)</Str>
<Str sr="arg3" ve="3">3</Str>
<Str sr="arg4" ve="3">4</Str>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
<Action sr="act9" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">contentResolver</Str>
<Str sr="arg1" ve="3">CONTEXT</Str>
<Str sr="arg2" ve="3">getContentResolver
{ContentResolver} ()</Str>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Str sr="arg9" ve="3"/>
</Action>
</Task>
</TaskerData>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment