hyongbai / airfrozen Goto Github PK
View Code? Open in Web Editor NEWAn app to freeze apps
Home Page: http://t.cn/R5uNp2U
An app to freeze apps
Home Page: http://t.cn/R5uNp2U
Will be good to have per app timeout setting for auto freeze. For example - I want one app to freeze after 1 minute (app for short one-time usage), other - after 60 mins (eg Navigation app). Now there are only global setting for all apps, and it have maximum timeout - 10 mins. Is it hard to add this feature?
log如下
08-05 21:07:38.499 E/AndroidRuntime(12092): FATAL EXCEPTION: main
08-05 21:07:38.499 E/AndroidRuntime(12092): Process: me.yourbay.airfrozen, PID: 12092
08-05 21:07:38.499 E/AndroidRuntime(12092): java.lang.RuntimeException: Unable to start activity ComponentInfo{me.yourbay.airfrozen/me.yourbay.airfrozen.main.uimodule.AdapterActivity}: java.lang.NullPointerException: rhs == null
08-05 21:07:38.499 E/AndroidRuntime(12092): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2779)
08-05 21:07:38.499 E/AndroidRuntime(12092): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2857)
08-05 21:07:38.499 E/AndroidRuntime(12092): at android.app.ActivityThread.-wrap11(Unknown Source:0)
08-05 21:07:38.499 E/AndroidRuntime(12092): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1590)
08-05 21:07:38.499 E/AndroidRuntime(12092): at android.os.Handler.dispatchMessage(Handler.java:106)
08-05 21:07:38.499 E/AndroidRuntime(12092): at android.os.Looper.loop(Looper.java:164)
08-05 21:07:38.499 E/AndroidRuntime(12092): at android.app.ActivityThread.main(ActivityThread.java:6499)
08-05 21:07:38.499 E/AndroidRuntime(12092): at java.lang.reflect.Method.invoke(Native Method)
08-05 21:07:38.499 E/AndroidRuntime(12092): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
08-05 21:07:38.499 E/AndroidRuntime(12092): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
08-05 21:07:38.499 E/AndroidRuntime(12092): Caused by: java.lang.NullPointerException: rhs == null
08-05 21:07:38.499 E/AndroidRuntime(12092): at java.lang.String.compareTo(Native Method)
08-05 21:07:38.499 E/AndroidRuntime(12092): at java.lang.String.compareTo(String.java:1076)
08-05 21:07:38.499 E/AndroidRuntime(12092): at java.util.Arrays.binarySearch0(Arrays.java:2367)
08-05 21:07:38.499 E/AndroidRuntime(12092): at java.util.Arrays.binarySearch(Arrays.java:2307)
08-05 21:07:38.499 E/AndroidRuntime(12092): at me.yourbay.airfrozen.main.uimodule.AdapterActivity.onCreate(Unknown Source:31)
08-05 21:07:38.499 E/AndroidRuntime(12092): at android.app.Activity.performCreate(Activity.java:7009)
08-05 21:07:38.499 E/AndroidRuntime(12092): at android.app.Activity.performCreate(Activity.java:7000)
08-05 21:07:38.499 E/AndroidRuntime(12092): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1215)
08-05 21:07:38.499 E/AndroidRuntime(12092): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2732)
08-05 21:07:38.499 E/AndroidRuntime(12092): ... 9 more
更新beta后不能识别magisk自带的superuser,提示手机未root,不能进入软件。
详细实现步骤:系统不预先刷入任何system-less的root,下载最新magisk包(v11.1)并刷入。会自动启用自带的system-less root。下载最新的magisk manager,超级用户工具集成在app里面。再下载并打开空调狗,应该就能重现问题。
E:\platform-tools>adb shell dpm set-device-owner me.yourbay.airfrozen/.main.core.mgmt.MDeviceAdminReceiver
java.lang.SecurityException: Neither user 2000 nor current process has android.permission.BIND_DEVICE_ADMIN.
at android.os.Parcel.readException(Parcel.java:1540)
at android.os.Parcel.readException(Parcel.java:1493)
at android.app.admin.IDevicePolicyManager$Stub$Proxy.setActiveAdmin(IDevicePolicyManager.java:2943)
at com.android.commands.dpm.Dpm.runSetDeviceOwner(Dpm.java:84)
at com.android.commands.dpm.Dpm.onRun(Dpm.java:72)
at com.android.internal.os.BaseCommand.run(BaseCommand.java:47)
at com.android.commands.dpm.Dpm.main(Dpm.java:38)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:256)
冻结了i管家之后,本来没事。今天安装了一个省电软件,点击允许权限之后就重启了。之后不停地重启。
现在点击空调狗,点击后立即自动重启。
请问有没有办法在不用打开空调狗的情况下,把冻结列表解开。
可以在安全模式连接电脑,可以进入recovery
谢谢。锋
对应日志:
Broadcast com.android.launcher.action.INSTALL_SHORTCUT no longer supported. It will not be delivered
建议:
The com.android.launcher.action.INSTALL_SHORTCUT broadcast no longer has any effect on your app, because it is now a private, implicit broadcast. Instead, you should create an app shortcut by using the requestPinShortcut() method from the ShortcutManager class.
Source: https://developer.android.com/preview/behavior-changes.html
授权后没多久又不能灭屏冻结提示要免root冻结需要权限,可是已经连接电脑授权成功了啊,反复好几次,账号也都删除干净了。还是过一会就提示需要权限
应用商店里发现新版本,更新后就悲剧了。
我是魅族pro5,自带假root,旧版本可以授权使用,新版本无法授权权限,且无法打开已冻结应用,我的魅族应用商店、QQ等等都被冻结,现在无法打开,很是尴尬,希望谁能提供旧版本或者作者能尽快修复一下(算了,这个近期不报希望)
谢谢,从昨天就急死的小白。
Please add "Unfreeze all" option in menu so a user can unfreeze all apps and check GPlay for software updates.
桌面启动器被冻结了,现在只能看到壁纸。。。。怎么进去启动器
time: 1594284822663
msg: java.lang.IllegalStateException: Not allowed to start service Intent { cmp=me.yourbay.airfrozen/.main.service.FrozenService }: app is in background uid UidRecord{4e3b02e u0a339 CEM idle change:cached procs:1 seq(0,0,0)}
stacktrace: java.lang.IllegalStateException: Not allowed to start service Intent { cmp=me.yourbay.airfrozen/.main.service.FrozenService }: app is in background uid UidRecord{4e3b02e u0a339 CEM idle change:cached procs:1 seq(0,0,0)}
at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1616)
at android.app.ContextImpl.startService(ContextImpl.java:1571)
at me.yourbay.airfrozen.main.service.FrozenService.a(Unknown Source:22)
at me.yourbay.airfrozen.App.c(Unknown Source:20)
at me.yourbay.airfrozen.App.lambda$3ISrZzolJ20yaWjg94gDI_XjBz8(Unknown Source:0)
at me.yourbay.airfrozen.-$$Lambda$App$3ISrZzolJ20yaWjg94gDI_XjBz8.run(Unknown Source:2)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)
不知道是不是系统问题,我重装后还是这样,一点和白名单有关的设置就停止运行了。
8.0打开就闪退了~~
Currently I have most of my application frozen, so my battery runs for long.
However there are cases that I need to defrost few applications in order to do my work.
For example, I need Termux, Firefox, OpenVPN, Gmail, Google+, gReader. So if I have link in Gmail and Firefox is frozen I cannot open the link in the browser as the system does not see a frozen app. So I have to switch back to "desktop", then run Firefox, switch back to Gmail and then click on the link again.
All of this would be avoided if I could create a "thaw profile". The way I see it could be working like this.
It would be a really great to see tat feature in AirFrozen app.
Best regards,
Piotr
当空调狗询问Root权限时不小心碰了永久拒绝, 怎样才能恢复授权呢?
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.
I install AirFrosen without root as deviceowner.
Now I can't backup data on my phone without wipe, because of deviceowner.
I can't install root before wipe, but I need root.
I need to be able to backup before wipe.
The only way it to call from your app this:
DevicePolicyManager dpm = (DevicePolicyManager)
context.getSystemService(Context.DEVICE_POLICY_SERVICE);
dpm.clearDeviceOwnerApp(context.getPackageName());
Please give me apk with this code, signed as your app AirFrozen.
Android 7.0 .
设置密码且横屏锁定时打开软件会fc,其他时候不会
java.lang.IllegalStateException: Fragment a{f1e6ac8} not attached to Activity
at android.app.Fragment.getResources(Fragment.java:814)
at me.yourbay.airfrozen.main.g.g.a.b(Unknown Source)
at me.yourbay.airfrozen.main.g.g.a.a(Unknown Source)
at me.yourbay.airfrozen.main.g.g.f.run(Unknown Source)
at android.os.Handler.handleCallback(Handler.java:754)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:163)
at android.app.ActivityThread.main(ActivityThread.java:6315)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:877)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
The app is not compatible with the launcher and the icons used! When we freeze a program, the program name and icon return to the default state and this is not interesting at all ... Please add a part in the program that can be given to the icons of the packs or you can set the shortcut part of the program so that it can read the icons and does not change them. 🌹
@hyongbai
Hi,
please add an option to create shortcuts using widget for devices(launchers) that they dont support to create regular shortcuts by default so we can add shortcuts with widget.
Thanks.
Спасибо за очень полезное приложение. Как Вас можно отблагодарить/поддержать?
@hyongbai this is just brilliant!
How about a thaw all shortcut?
Integrate the frozen app list with "Sesame" (https://play.google.com/store/apps/details?id=ninja.sesame.app.edge).
This way we can launch the frozen app with custom launcher.
Or a widget to search for frozen app in airfrozen itself.
一直都提示这些,key没有问题的,网络也没有问题
Hi, today, I updated to 1.6.2 beta, but AirFrozen don't start anymore. What can I do to fix it without delete all my data? Thanx
Huawei 9 Lite. EMUI 8.0.0
启动应用报 已经全部冻结
Android 8 在選擇應用時會閃退
手机是三星S7E港行,没有root, 之前用key都是好好的,这次申请之后,就一直显示标题的那个错误。
重启手机也没有用
你的Q群还加人吗?
Since this morning i'getting message 'register failed please try more' When i want to unfreeze app it's not possible and i can't find them any more even in my list of application ... After ununstalling airfrozen all aplications were back but when i did reinstall it ,generated a new key as it was obsolete keep gettin register failed... Thanks for your suppor..
我是S7 Edge。去页面申请了个Developer Key结果却显示长度不对。好不容易找到http://bbs.ngacn.cc/read.php?tid=10695553
这个文章才知道要申请Enterprise的。
希望完善一下 thx
I would like to know how the "categorize apps" feature should work? Currently I do not see that this is somehow working.
My expectation would be that:
a) newly installed application could be automatically categorized and shortcut put in a proper app group in the home screen.
b) user can decide app by app where each one should be categorized when the creation of shortcut is requested.
Please explain how this feature should work. I have this option on, but I do not see the difference.
每一次 解冻 或 冻结 后,
都会 一直 挂着 root权限.
状态栏上 的 井号 一直挂着.
建议
每一次 执行完 root动作 后,
退出 root权限.
[:滑稽:]
使用设备:荣耀7,安卓6.0
设置“自动冻结”功能中的“锁屏即冻结”功能的等待时间为立即后,当手机锁屏后,无论过多长时间,空调狗都不会冻结应用。
When the "Add to freeze list on install" option is selected, then there are 2 icons created when the new application is installed:
It would be a nice to add an option to "leave only link to frozen app" when the option "Add to freeze list on install" is selected. This new option should assure that the icon 1) will be removed and only icon 2) will be left.
Hi, today, I updated to 1.6.2 beta, but AirFrozen don't start anymore. What can I do to fox it without delete all my data? Thanx
Huawei 9 Lite. EMUI 8.0.0
I froze some system apps and the phone bootloops.
How to thaw them from recovery or using adb (to fix the phone)?
之前没有root是用免root
现在root了,问一下怎么去除
但是root方案不能冻结miui自带的应用商店,希望root后也能选择使用免root方案
Does not freeze UC browser(at the output). Owner Asus ZenFone 3, Android 7.0.The program is included through the ADB.
如上
顶部切换到第二栏能看到当前运行的解冻APP,可以点击对应APP然后通过弹出的菜单选择冻结。但如果要多冻结几个时操作变得略显麻烦,所以如果能在对应APP右侧增加一个快捷的冻结按扭就方便多了呢。
删除?
不知道就是这么设计的还是有bug,处于前台的应用刚打开后台卡片界面就会立即被冻结,而不是划卡后被冻结。我用的系统是安卓p,类原生
目前里面只有一个图案密码,每次画图好麻烦,而且现在手机都支持第三方调用指纹api了吧?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.