d4rken-org / sdmaid-se

SD Maid 2/SE is Android's most thorough cleaning tool.
https://play.google.com/store/apps/details?id=eu.darken.sdmse
GNU General Public License v3.0
2.77k stars 432 forks source link

AppCleaner: Fix ACS failing to match "Clear cache" on VIVO devices running Android 14 #1382

Closed d4rken closed 2 months ago

d4rken commented 2 months ago

Previous changes were apparently based on a non-standard VIVO ROM (API34).

Two logs from users with VIVO devices running Android 14 look different.

vivo/V2145_EEA/V2145:14/UP1A.231005.005/compiler08021559:user/release-keys

0: className=android.widget.FrameLayout, text='null', isClickable=false, isEnabled=true, viewIdResourceName=null, pkgName=com.android.settings, identity=5c6cb16
-1: className=android.widget.LinearLayout, text='null', isClickable=false, isEnabled=true, viewIdResourceName=null, pkgName=com.android.settings, identity=373e66d
--2: className=android.widget.FrameLayout, text='null', isClickable=false, isEnabled=true, viewIdResourceName=android:id/content, pkgName=com.android.settings, identity=ddc82a2
---3: className=android.widget.LinearLayout, text='null', isClickable=false, isEnabled=true, viewIdResourceName=com.android.settings:id/content_parent, pkgName=com.android.settings, identity=1fd2b33
----4: className=android.view.ViewGroup, text='null', isClickable=true, isEnabled=true, viewIdResourceName=com.android.settings:id/action_bar, pkgName=com.android.settings, identity=cf57c69
-----5: className=android.widget.ImageButton, text='null', isClickable=true, isEnabled=true, viewIdResourceName=null, pkgName=com.android.settings, identity=7373a1c
-----5: className=android.widget.TextView, text='Speicher', isClickable=false, isEnabled=true, viewIdResourceName=null, pkgName=com.android.settings, identity=dd5478f
-----5: className=android.widget.LinearLayout, text='null', isClickable=false, isEnabled=true, viewIdResourceName=null, pkgName=com.android.settings, identity=2a426ee
----4: className=android.widget.FrameLayout, text='null', isClickable=false, isEnabled=true, viewIdResourceName=com.android.settings:id/content_frame, pkgName=com.android.settings, identity=8671ef0
-----5: className=android.widget.LinearLayout, text='null', isClickable=false, isEnabled=true, viewIdResourceName=null, pkgName=com.android.settings, identity=3e07625
------6: className=android.widget.FrameLayout, text='null', isClickable=false, isEnabled=true, viewIdResourceName=com.android.settings:id/main_content, pkgName=com.android.settings, identity=2fc3fa
-------7: className=android.widget.LinearLayout, text='null', isClickable=false, isEnabled=true, viewIdResourceName=com.android.settings:id/container_material, pkgName=com.android.settings, identity=f68cdab
--------8: className=android.widget.FrameLayout, text='null', isClickable=false, isEnabled=true, viewIdResourceName=android:id/list_container, pkgName=com.android.settings, identity=b8bdc08
---------9: className=android.widget.LinearLayout, text='null', isClickable=false, isEnabled=true, viewIdResourceName=com.android.settings:id/nestedlayout, pkgName=com.android.settings, identity=dc74fa1
----------10: className=androidx.recyclerview.widget.RecyclerView, text='null', isClickable=false, isEnabled=true, viewIdResourceName=com.android.settings:id/recycler_view, pkgName=com.android.settings, identity=fa625c6
-----------11: className=android.widget.FrameLayout, text='null', isClickable=false, isEnabled=true, viewIdResourceName=null, pkgName=com.android.settings, identity=25e279e
------------12: className=android.widget.RelativeLayout, text='null', isClickable=false, isEnabled=true, viewIdResourceName=com.android.settings:id/entity_header, pkgName=com.android.settings, identity=45d327f
-------------13: className=android.widget.LinearLayout, text='null', isClickable=true, isEnabled=true, viewIdResourceName=com.android.settings:id/entity_header_content, pkgName=com.android.settings, identity=d43295
--------------14: className=android.widget.ImageView, text='null', isClickable=false, isEnabled=true, viewIdResourceName=com.android.settings:id/entity_header_icon, pkgName=com.android.settings, identity=4f25738
--------------14: className=android.widget.TextView, text='Instagram', isClickable=false, isEnabled=true, viewIdResourceName=com.android.settings:id/entity_header_title, pkgName=com.android.settings, identity=d9c779b
--------------14: className=android.widget.TextView, text='346.1.0.46.104', isClickable=false, isEnabled=true, viewIdResourceName=com.android.settings:id/entity_header_summary, pkgName=com.android.settings, identity=6011faa
-------------13: className=android.widget.LinearLayout, text='null', isClickable=false, isEnabled=true, viewIdResourceName=null, pkgName=com.android.settings, identity=e4b624c
-----------11: className=android.widget.LinearLayout, text='null', isClickable=false, isEnabled=true, viewIdResourceName=null, pkgName=com.android.settings, identity=f2951d9
------------12: className=android.widget.Button, text='Speicherinhalt löschen', isClickable=true, isEnabled=true, viewIdResourceName=com.android.settings:id/button1, pkgName=com.android.settings, identity=4c0f277
------------12: className=android.view.View, text='null', isClickable=false, isEnabled=true, viewIdResourceName=com.android.settings:id/divider1, pkgName=com.android.settings, identity=5298c76
------------12: className=android.widget.Button, text='Cache leeren', isClickable=true, isEnabled=true, viewIdResourceName=com.android.settings:id/button2, pkgName=com.android.settings, identity=f126311
-----------11: className=android.widget.LinearLayout, text='null', isClickable=false, isEnabled=true, viewIdResourceName=null, pkgName=com.android.settings, identity=9b82420
------------12: className=android.widget.RelativeLayout, text='null', isClickable=false, isEnabled=true, viewIdResourceName=null, pkgName=com.android.settings, identity=f11aee4
-------------13: className=android.widget.TextView, text='Belegter Speicherplatz', isClickable=false, isEnabled=true, viewIdResourceName=android:id/title, pkgName=com.android.settings, identity=6291f4d
-----------11: className=android.widget.LinearLayout, text='null', isClickable=false, isEnabled=true, viewIdResourceName=null, pkgName=com.android.settings, identity=6674723
------------12: className=android.widget.TextView, text='App-Größe', isClickable=false, isEnabled=true, viewIdResourceName=android:id/title, pkgName=com.android.settings, identity=483f13
------------12: className=android.widget.TextView, text='224 MB', isClickable=false, isEnabled=true, viewIdResourceName=android:id/summary, pkgName=com.android.settings, identity=999fa02
-----------11: className=android.widget.LinearLayout, text='null', isClickable=false, isEnabled=true, viewIdResourceName=null, pkgName=com.android.settings, identity=3ced852
------------12: className=android.widget.TextView, text='Nutzerdaten', isClickable=false, isEnabled=true, viewIdResourceName=android:id/title, pkgName=com.android.settings, identity=7756349
------------12: className=android.widget.TextView, text='176 MB', isClickable=false, isEnabled=true, viewIdResourceName=android:id/summary, pkgName=com.android.settings, identity=dacd550
-----------11: className=android.widget.LinearLayout, text='null', isClickable=false, isEnabled=true, viewIdResourceName=null, pkgName=com.android.settings, identity=ce844dd
------------12: className=android.widget.TextView, text='Cache', isClickable=false, isEnabled=true, viewIdResourceName=android:id/title, pkgName=com.android.settings, identity=6edb96f
------------12: className=android.widget.TextView, text='32,76 MB', isClickable=false, isEnabled=true, viewIdResourceName=android:id/summary, pkgName=com.android.settings, identity=4b1b44e
-----------11: className=android.widget.LinearLayout, text='null', isClickable=false, isEnabled=true, viewIdResourceName=null, pkgName=com.android.settings, identity=506b0b4
------------12: className=android.widget.TextView, text='Insgesamt', isClickable=false, isEnabled=true, viewIdResourceName=android:id/title, pkgName=com.android.settings, identity=327eb05
------------12: className=android.widget.TextView, text='433 MB', isClickable=false, isEnabled=true, viewIdResourceName=android:id/summary, pkgName=com.android.settings, identity=c91f67c
-----------11: className=android.widget.FrameLayout, text='null', isClickable=false, isEnabled=true, viewIdResourceName=null, pkgName=com.android.settings, identity=6649987
------------12: className=android.widget.LinearLayout, text='null', isClickable=false, isEnabled=true, viewIdResourceName=null, pkgName=com.android.settings, identity=c78c75a
-1: className=android.view.View, text='null', isClickable=false, isEnabled=true, viewIdResourceName=android:id/statusBarBackground, pkgName=com.android.settings, identity=87c9e84
-1: className=android.view.View, text='null', isClickable=false, isEnabled=true, viewIdResourceName=android:id/navigationBarBackground, pkgName=com.android.settings, identity=895c97