Skip to content

添加一些新功能和修复#180

Merged
Playhi merged 4 commits into
FreezeYou:masterfrom
shunf4:for_upstream
May 18, 2021
Merged

添加一些新功能和修复#180
Playhi merged 4 commits into
FreezeYou:masterfrom
shunf4:for_upstream

Conversation

@shunf4

@shunf4 shunf4 commented Mar 21, 2021

Copy link
Copy Markdown
Contributor
  • 添加“强制停止应用”功能
    • 允许在单选和多选菜单中停止应用
    • 允许创建快捷方式停止一组自选应用
    • 允许使用 "fc -d xxx com.some.app" 任务停止一个或一组应用
  • 添加更多的视图和排序方式
    • “未冻结的系统应用用户应用”视图
    • 按名称字母顺序排序
    • 按首次安装时间最新排序
  • 更多快捷方式
    • 快速查看系统预装应用、用户应用、未冻结的系统应用用户应用
    • 快速查看我的自选
    • 允许停止一组自选应用
  • 一些细节修复
    • 在应用刚启动时应该执行 TasksUtils 中的检查,避免被杀死后重新启动时未及时注册与定时任务相关的监听器等
    • apiModeAPI_FREEZEYOU_LEGACY_AUTO,执行 oneKeyAction 前应当决定一个具体的 apiMode,以便其使用 ROOT 模式的特殊处理,避免多次 su

Comment thread app/src/main/java/cf/playhi/freezeyou/utils/ApplicationLabelUtils.java Outdated
Comment thread app/src/main/java/cf/playhi/freezeyou/Main.java
Comment thread app/src/main/java/cf/playhi/freezeyou/Main.java
Comment thread app/src/main/java/cf/playhi/freezeyou/Main.java
Comment thread app/src/main/java/cf/playhi/freezeyou/ForceStop.java
Comment thread app/src/main/java/cf/playhi/freezeyou/ForceStop.java
Comment thread app/src/main/java/cf/playhi/freezeyou/ForceStopService.java Outdated
Comment thread app/src/main/java/cf/playhi/freezeyou/ForceStopService.java Outdated
@Playhi

Playhi commented Mar 26, 2021

Copy link
Copy Markdown
Member

以后要是还有在什么项目里(包括但不限于这次这个)提PR,我这边建议尽量还是每个功能分别单独提交PR吧,这样写好一个功能就能发起一个PR(更快),合并前复核的时候也更方便(每次需要检查的代码量不会太大),合并也能够更快(单个PR没问题或问题修正完毕就可以先合并进入了) 😂

<string name="sAutoFreezeApplicationList" translatable="false">New_AutoFreezeApplicationList</string>
<string name="sOneKeyUFApplicationList" translatable="false">New_OneKeyUFApplicationList</string>
<string name="forceStop">Force Stop</string>
<string name="forceStopMyCustomization">Force stop my customation</string>

@Playhi Playhi May 15, 2021

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

拼写有问题,问题不大,可以合并以后我再改,就先不针对这个问题发起新的 Request changes 了。(别的内容还需要些时间看)

@shunf4 shunf4 requested a review from Playhi May 15, 2021 16:04
@Playhi

Playhi commented May 16, 2021

Copy link
Copy Markdown
Member

有空给个称呼吧(比如 shunf4),还可以给个关联链接(比如 https://github.com/shunf4 ),后续会用在诸如感谢名单这类的地方。还有一部分内容在抽空复核,估计这两天能完成合并了,很感谢这次的 PR。 ❤️

@shunf4

shunf4 commented May 16, 2021

Copy link
Copy Markdown
Contributor Author

shunf4 和 https://github.com/shunf4 就好

@Playhi Playhi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

import 还有些多余的,不管这些了(没啥大问题),合并啦~

@Playhi Playhi merged commit 888d170 into FreezeYou:master May 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants