hyongbai / AirFrozen

An app to freeze apps
http://t.cn/R5uNp2U
76 stars 12 forks source link

What is the command line (or activity) for Freeze All ? #43

Closed Mitezuss closed 1 year ago

Mitezuss commented 4 years ago

Hi, i wanna run from the terminal the command to freeze all.

What is the command ? (am start .....)

I need create a shortcut on Home Button Launcher (https://play.google.com/store/apps/details?id=com.dynamicg.homebuttonlauncher&hl=es) But the access to Freeze All do not appear (so need create manually and i need the command line for the terminal)

Thank.

Mitezuss commented 3 years ago

After a long time... i back to try to find how do.... and i now realise (just watching the logcat.):

LogCat: START u0 {act=ACTION_1_TAP_FREEZE_FROM_SHORTCUT flg=0x14010000 cmp=me.yourbay.airfrozen/.main.uimodule.ShortcutHandleActivity} from uid 10316

So, the command to terminal: am start -a ACTION_1_TAP_FREEZE_FROM_SHORTCUT -n me.yourbay.airfrozen/.main.uimodule.ShortcutHandleActivity

Maybe it will be useful to someone =)