Merge branch 'master' of github.com:LSPosed/LSPosed

This commit is contained in:
kotori0 2021-01-29 01:39:39 +08:00
commit 4f6b35bda5
785 changed files with 748 additions and 1103 deletions

View File

@ -35,11 +35,11 @@ Magisk:
Riru: Riru:
EdXposed: LSPposed:
**相关日志/Related Logs** **相关日志/Related Logs**
<!-- <!--
为了帮助我们定位问题,请使用 debug 版 EdXposed 模块抓取日志 为了帮助我们定位问题,请使用 debug 版 LSPosed 模块抓取日志
Please capture log with debug version, otherwise it won't help us locating the issue Please capture log with debug version, otherwise it won't help us locating the issue
--> -->

View File

@ -4,9 +4,11 @@ on:
push: push:
paths-ignore: paths-ignore:
- 'app/**' - 'app/**'
- '**.md'
pull_request: pull_request:
paths-ignore: paths-ignore:
- 'app/**' - 'app/**'
- '**.md'
jobs: jobs:
build: build:
@ -31,8 +33,8 @@ jobs:
run: bash ./gradlew zipRelease zipDebug :app:assembleRelease run: bash ./gradlew zipRelease zipDebug :app:assembleRelease
- name: Prepare artifact - name: Prepare artifact
if: success() if: success()
run: unzip edxp-core/release/LSPosed-v*-release.zip -d LSPosed-release; run: unzip lspd-core/release/LSPosed-v*-release.zip -d LSPosed-release;
unzip edxp-core/release/LSPosed-v*-debug.zip -d LSPosed-debug; unzip lspd-core/release/LSPosed-v*-debug.zip -d LSPosed-debug;
- name: Upload release - name: Upload release
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
@ -49,7 +51,7 @@ jobs:
CHANNEL_ID: ${{ secrets.CHANNEL_ID }} CHANNEL_ID: ${{ secrets.CHANNEL_ID }}
BOT_TOKEN: ${{ secrets.BOT_TOKEN }} BOT_TOKEN: ${{ secrets.BOT_TOKEN }}
run: | run: |
OUTPUT="edxp-core/release/" OUTPUT="lspd-core/release/"
export release=$(find $OUTPUT -name "LSPosed-v*-release.zip") export release=$(find $OUTPUT -name "LSPosed-v*-release.zip")
export debug=$(find $OUTPUT -name "LSPosed-v*-debug.zip") export debug=$(find $OUTPUT -name "LSPosed-v*-debug.zip")
curl -v "https://api.telegram.org/bot${BOT_TOKEN}/sendMediaGroup?chat_id=${CHANNEL_ID}&media=%5B%7B%22type%22:%22document%22,%20%22media%22:%22attach://release%22%7D,%7B%22type%22:%22document%22,%20%22media%22:%22attach://debug%22%7D%5D" -F release="@$release" -F debug="@$debug" curl -v "https://api.telegram.org/bot${BOT_TOKEN}/sendMediaGroup?chat_id=${CHANNEL_ID}&media=%5B%7B%22type%22:%22document%22,%20%22media%22:%22attach://release%22%7D,%7B%22type%22:%22document%22,%20%22media%22:%22attach://debug%22%7D%5D" -F release="@$release" -F debug="@$debug"

4
.gitmodules vendored
View File

@ -1,3 +1,3 @@
[submodule "edxp-core/src/main/cpp/external/Dobby"] [submodule "core/src/main/cpp/external/Dobby"]
path = edxp-core/src/main/cpp/external/Dobby path = core/src/main/cpp/external/Dobby
url = https://github.com/jmpews/Dobby.git url = https://github.com/jmpews/Dobby.git

View File

@ -1,79 +1,53 @@
# EdXposed Framework # LSPosed Framework
[![Latest builds](https://ci.appveyor.com/api/projects/status/qu3vj1d64nqia1b8/branch/master?svg=true)](https://ci.appveyor.com/project/ElderDrivers/edxposed/branch/master) ![Android CI](https://github.com/ElderDrivers/EdXposed/workflows/Android%20CI/badge.svg) [![中文说明文档](art/README_CN.png)](README_CN.md) ![Core](https://github.com/LSPosed/LSPosed/workflows/Core/badge.svg) ![Manager](https://github.com/LSPosed/LSPosed/workflows/Manager/badge.svg)
## Introduction ## Introduction
A Riru module trying to provide an ART hooking framework (initially for Android Pie) which delivers consistent APIs with the OG Xposed, leveraging YAHFA (or SandHook) hooking framework, supports Android 8.0 ~ **11**. A Riru module trying to provide an ART hooking framework (initially for Android Pie) which delivers consistent APIs with the OG Xposed, leveraging YAHFA and SandHook hooking framework, supports Android 8.0 ~ **11**.
> Xposed is a framework for modules that can change the behavior of the system and apps without touching any APKs. That's great because it means that modules can work for different versions and even ROMs without any changes (as long as the original code was not changed too much). It's also easy to undo. As all changes are done in the memory, you just need to deactivate the module and reboot to get your original system back. There are many other advantages, but here is just one more: Multiple modules can do changes to the same part of the system or app. With modified APKs, you to decide for one. No way to combine them, unless the author builds multiple APKs with different combinations. > Xposed is a framework for modules that can change the behavior of the system and apps without touching any APKs. That's great because it means that modules can work for different versions and even ROMs without any changes (as long as the original code was not changed too much). It's also easy to undo. As all changes are done in the memory, you just need to deactivate the module and reboot to get your original system back. There are many other advantages, but here is just one more: Multiple modules can do changes to the same part of the system or app. With modified APKs, you to decide for one. No way to combine them, unless the author builds multiple APKs with different combinations.
## Supported Versions ## Supported Versions
[Wiki: Available Android versions](https://github.com/ElderDrivers/EdXposed/wiki/Available-Android-versions) Android 8.1+
## Build
[Wiki: Build](https://github.com/ElderDrivers/EdXposed/wiki/Build)
## Install ## Install
1. Install Magisk v21+ 1. Install Magisk v21+
2. Install [Riru](https://github.com/RikkaApps/Riru/releases) v23+ from Magisk repo. 2. Install [Riru](https://github.com/RikkaApps/Riru/releases) v23+ from Magisk repo.
3. [Download](#download) and install EdXposed in Magisk Manager or recovery. 3. [Download](#download) and install LSPosed in Magisk Manager
4. Install [EdXposed Manager](https://github.com/ElderDrivers/EdXposedManager). 4. Install LSPosed Manager
4. Reboot. 4. Reboot.
5. Have fun! :) 5. Have fun! :)
## Download ## Download
Edxposed has three different builds You can download LSPosed framework and LSPosed Manager from Github Action or Github Release
- StableStable version after passing the test, suitable for general users, update slowly.
***Download Stable version in Magisk Manager's [Downloads] tab***
- Alpha: Test version with multiple commits.
***Download Alpha version in [[Github Releases](https://github.com/ElderDrivers/EdXposed/releases)]***
- Canary: Debug version. Automatically build by CI.
***Download Canary version in [[EdXposed Manager](https://github.com/ElderDrivers/EdXposedManager)]***
## Useful Links ## Useful Links
- [List of Xposed Modules For Android Pie Working With EdXposed](https://forum.xda-developers.com/xposed/list-xposed-modules-android-pie-ed-t3892768) (thanks to Uraniam9 @ xda-developers) - [List of Xposed Modules For Android Pie Working With LSPosed](https://forum.xda-developers.com/xposed/list-xposed-modules-android-pie-ed-t3892768) (thanks to Uraniam9 @ xda-developers)
## Known Issues
See [Issues](https://github.com/ElderDrivers/EdXposed/issues)
## Get Help ## Get Help
- GitHub issues: [Issues](https://github.com/ElderDrivers/EdXposed/issues/) - GitHub issues: [Issues](https://github.com/LSPosed/LSPosed/issues/)
- Notice(for Chinese): In view of the low quality of issues submitted, please read the Chinese user report first[EdXposedIssuesReport_cn](http://edxp.meowcat.org/assets/EdXposedIssuesReport_cn.txt)(If you don't read the instructions, the submitted issue is likely to be closed)
## For Developers ## For Developers
Developers are welcomed to write Xposed modules with hooks based on EdXposed Framework. Module written based on EdXposed framework is fully compatible with the original Xposed Framework, so contrary a Xposed Framework-based module will work well with the EdXposed framework too. Developers are welcomed to write Xposed modules with hooks based on LSPosed Framework. Module written based on LSPosed framework is fully compatible with the original Xposed Framework, so contrary a Xposed Framework-based module will work well with the LSPosed framework too.
- [Xposed Framework API](https://api.xposed.info/) - [Xposed Framework API](https://api.xposed.info/)
We use the module repository of the original Xposed, so you simply upload the module to repository, then you can download your module in EdXposed. We use the module repository of the original Xposed, so you simply upload the module to repository, then you can download your module in LSPosed.
- [Xposed Module Repository](https://repo.xposed.info/) - [Xposed Module Repository](https://repo.xposed.info/)
## Community Discussion ## Community Discussion
- QQ Group: [855219808](http://shang.qq.com/wpa/qunwpa?idkey=fae42a3dba9dc758caf63e971be2564e67bf7edd751a2ff1c750478b0ad1ca3f) - Telegram: [@LSPosed](http://t.me/LSPosed)
- Telegram: [@Code_of_MeowCat](http://t.me/Code_of_MeowCat)
Notice: These community group don't accept any bug report, please use [Get help](#get-help) to report. Notice: These community group don't accept any bug report, please use [Get help](#get-help) to report.
## Contribute
- Apparently this framework is far from stable and all kinds of PRs are welcome. :)
- [Buy me a coffee](https://www.paypal.me/givin2u) if you like my work.
## Credits ## Credits
- [YAHFA](https://github.com/rk700/YAHFA): the core ART hooking framework - [YAHFA](https://github.com/rk700/YAHFA): the core ART hooking framework
@ -83,3 +57,4 @@ Notice: These community group don't accept any bug report, please use [Get help]
- [dexmaker](https://github.com/linkedin/dexmaker) and [dalvikdx](https://github.com/JakeWharton/dalvik-dx): to dynamiclly generate YAHFA hooker classes - [dexmaker](https://github.com/linkedin/dexmaker) and [dalvikdx](https://github.com/JakeWharton/dalvik-dx): to dynamiclly generate YAHFA hooker classes
- [SandHook](https://github.com/ganyao114/SandHook/): ART hooking framework for SandHook variant - [SandHook](https://github.com/ganyao114/SandHook/): ART hooking framework for SandHook variant
- [Dobby](https://github.com/jmpews/Dobby): used for inline hooking - [Dobby](https://github.com/jmpews/Dobby): used for inline hooking
- [LSPosed](https://github.com/ElderDrivers/LSPosed): fork source

View File

@ -1,86 +0,0 @@
# EdXposed Framework
[![最新构建](https://ci.appveyor.com/api/projects/status/qu3vj1d64nqia1b8/branch/master?svg=true)](https://ci.appveyor.com/project/ElderDrivers/edxposed/branch/master) ![Android CI](https://github.com/ElderDrivers/EdXposed/workflows/Android%20CI/badge.svg) [![English](art/README_EN.png)](README.md)
## Introduction
基于 Riru 的 ART hook 框架 (最初用于 Android Pie) ,提供与原版 Xposed 相同的 API, 使用 YAHFA (或 SandHook) 进行 hook, supports Android 8.0 ~ **11**.
> Xposed 框架是一套开放源代码的、在Android高权限模式下运行的框架服务可以在不修改APK文件的情况下修改程序的运行基于它可以制作出许多功能强大的模块且在功能不冲突的情况下同时运作
## 支持的版本
[Wiki: 支持的 Android 版本](https://github.com/ElderDrivers/EdXposed/wiki/%E5%8F%AF%E7%94%A8%E7%9A%84-Android-%E7%89%88%E6%9C%AC)
## 构建
[Wiki: 构建](https://github.com/ElderDrivers/EdXposed/wiki/%E6%9E%84%E5%BB%BA)
## 安装
1. 安装 Magisk v21+
2. 在 Magisk 仓库中安装 [Riru](https://github.com/RikkaApps/Riru/releases) v23 或更高版本.
3. [下载](#下载)并在恢复模式(Recovery)或经由 Magisk Manager 安装 EdXposed.
4. 安装 [EdXposed Manager](https://github.com/ElderDrivers/EdXposedManager).
4. 重启手机.
5. 完成 :)
## 下载
Edxposed 拥有三个不同的版本
- Stable经过测试的稳定版, 适合一般用户,更新缓慢.
***在 [Magisk Manager] 中的 [下载] 页中下载 Stable 版本***
- Alpha: 多次提交更新的测试版.
***在 [[Github Releases](https://github.com/ElderDrivers/EdXposed/releases)] 中下载 Alpha 版本***
- Canary: 由 CI 自动生成的测试版.
***在 [[EdXposed Manager](https://github.com/ElderDrivers/EdXposedManager)] 中下载 Canary 版本***
## 外部链接
- [List of Xposed Modules For Android Pie Working With EdXposed](https://forum.xda-developers.com/xposed/list-xposed-modules-android-pie-ed-t3892768) (感谢 Uraniam9 @ xda-developers)
## 已知问题
见 [Issues](https://github.com/ElderDrivers/EdXposed/issues)
## 获取帮助
- GitHub issues: [Issues](https://github.com/ElderDrivers/EdXposed/issues/new/choose)
- 注意: 鉴于部分用户提交的Issues质量过低对于中文用户反馈请先阅读[EdXposed错误提交说明_cn](http://edxp.meowcat.org/assets/EdXposedIssuesReport_cn.txt)(不看说明提交的Issue会有很大可能被close)
## 模块开发者
欢迎开发者使用 EdXposed 框架编写 Xposed 模块。基于 EdXposed 框架编写的模块与原版的 Xposed 框架兼容,相反,基于原版 Xposed 框架的模块也能很好地与 EdXposed 框架一起工作。
- [Xposed 框架 API](https://api.xposed.info/)
我们使用原版 Xposed 的模块仓库,因此您只需将模块上传至模块仓库,然后就可以在 EdXposed 中下载模块
- [Xposed 模块仓库](https://repo.xposed.info/)
## 社区交流
- QQ 群组: [855219808](http://shang.qq.com/wpa/qunwpa?idkey=fae42a3dba9dc758caf63e971be2564e67bf7edd751a2ff1c750478b0ad1ca3f)
- Telegram 电报: [@Code_of_MeowCat](http://t.me/Code_of_MeowCat)
注意: 这些社区群组不接受问题反馈, 请使用 [获取帮助](#获取帮助) 进行反馈.
## 贡献
- 显然框架还不够稳定欢迎使用PR贡献代码. :)
- 如果你愿意,可以[请我喝杯咖啡](https://www.paypal.me/givin2u).
## 鸣谢
- [YAHFA](https://github.com/rk700/YAHFA): ART hook 核心框架
- [Magisk](https://github.com/topjohnwu/Magisk/): 让一切成为可能
- [Riru](https://github.com/RikkaApps/Riru): 提供一种将代码注入 zygote 进程的方法
- [XposedBridge](https://github.com/rovo89/XposedBridge): 原版 xposed 框架的 API
- [dexmaker](https://github.com/linkedin/dexmaker) 和 [dalvikdx](https://github.com/JakeWharton/dalvik-dx): 动态生成 YAHFA hook 类
- [SandHook](https://github.com/ganyao114/SandHook/): SandHook 分支的 ART hooking 框架
- [Dobby](https://github.com/jmpews/Dobby): 用于 hook 内联方法

View File

@ -10,7 +10,7 @@ android {
} }
defaultConfig { defaultConfig {
applicationId "org.meowcat.edxposed.manager" applicationId "io.github.lsposed.manager"
minSdkVersion androidMinSdkVersion.toInteger() minSdkVersion androidMinSdkVersion.toInteger()
targetSdkVersion androidTargetSdkVersion.toInteger() targetSdkVersion androidTargetSdkVersion.toInteger()
versionCode rootProject.ext.versionCode versionCode rootProject.ext.versionCode

View File

@ -19,5 +19,5 @@
# If you keep the line number information, uncomment this to # If you keep the line number information, uncomment this to
# hide the original source file name. # hide the original source file name.
#-renamesourcefileattribute SourceFile #-renamesourcefileattribute SourceFile
-keep class org.meowcat.edxposed.manager.util.json.** {public *; } -keep class io.github.lsposed.manager.util.json.** {public *; }
-keep class org.meowcat.edxposed.manager.Constants { *; } -keep class io.github.lsposed.manager.Constants { *; }

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
package="org.meowcat.edxposed.manager"> package="io.github.lsposed.manager">
<uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" /> <uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" />
<uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES" /> <uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES" />

View File

@ -1,4 +1,4 @@
package org.meowcat.edxposed.manager; package io.github.lsposed.manager;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;
import android.app.Application; import android.app.Application;
@ -9,10 +9,10 @@ import android.os.Looper;
import androidx.preference.PreferenceManager; import androidx.preference.PreferenceManager;
import org.meowcat.edxposed.manager.ui.activity.CrashReportActivity; import io.github.lsposed.manager.ui.activity.CrashReportActivity;
import org.meowcat.edxposed.manager.util.CompileUtil; import io.github.lsposed.manager.util.CompileUtil;
import org.meowcat.edxposed.manager.util.NotificationUtil; import io.github.lsposed.manager.util.NotificationUtil;
import org.meowcat.edxposed.manager.util.RebootUtil; import io.github.lsposed.manager.util.RebootUtil;
import java.io.File; import java.io.File;
import java.io.PrintWriter; import java.io.PrintWriter;
@ -24,7 +24,7 @@ import rikka.sui.Sui;
import static android.content.pm.PackageManager.PERMISSION_GRANTED; import static android.content.pm.PackageManager.PERMISSION_GRANTED;
public class App extends Application { public class App extends Application {
public static final String TAG = "EdXposedManager"; public static final String TAG = "LSPosedManager";
@SuppressLint("StaticFieldLeak") @SuppressLint("StaticFieldLeak")
private static App instance = null; private static App instance = null;
private static Thread uiThread; private static Thread uiThread;

View File

@ -1,4 +1,4 @@
package org.meowcat.edxposed.manager; package io.github.lsposed.manager;
import android.util.Log; import android.util.Log;

View File

@ -1,4 +1,4 @@
package org.meowcat.edxposed.manager.adapters; package io.github.lsposed.manager.adapters;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;
import android.content.SharedPreferences; import android.content.SharedPreferences;
@ -29,10 +29,10 @@ import androidx.recyclerview.widget.RecyclerView;
import com.bumptech.glide.request.target.CustomTarget; import com.bumptech.glide.request.target.CustomTarget;
import com.bumptech.glide.request.transition.Transition; import com.bumptech.glide.request.transition.Transition;
import org.meowcat.edxposed.manager.App; import io.github.lsposed.manager.App;
import org.meowcat.edxposed.manager.R; import io.github.lsposed.manager.R;
import org.meowcat.edxposed.manager.ui.activity.AppListActivity; import io.github.lsposed.manager.ui.activity.AppListActivity;
import org.meowcat.edxposed.manager.util.GlideApp; import io.github.lsposed.manager.util.GlideApp;
import java.text.DateFormat; import java.text.DateFormat;
import java.text.SimpleDateFormat; import java.text.SimpleDateFormat;

View File

@ -1,4 +1,4 @@
package org.meowcat.edxposed.manager.adapters; package io.github.lsposed.manager.adapters;
import android.app.ActivityManager; import android.app.ActivityManager;
import android.content.Context; import android.content.Context;
@ -12,10 +12,10 @@ import androidx.annotation.NonNull;
import androidx.appcompat.widget.PopupMenu; import androidx.appcompat.widget.PopupMenu;
import androidx.fragment.app.FragmentManager; import androidx.fragment.app.FragmentManager;
import org.meowcat.edxposed.manager.App; import io.github.lsposed.manager.App;
import org.meowcat.edxposed.manager.Constants; import io.github.lsposed.manager.Constants;
import org.meowcat.edxposed.manager.R; import io.github.lsposed.manager.R;
import org.meowcat.edxposed.manager.util.CompileUtil; import io.github.lsposed.manager.util.CompileUtil;
import java.io.File; import java.io.File;
import java.io.IOException; import java.io.IOException;

View File

@ -1,12 +1,12 @@
package org.meowcat.edxposed.manager.adapters; package io.github.lsposed.manager.adapters;
import android.content.pm.ApplicationInfo; import android.content.pm.ApplicationInfo;
import android.widget.CompoundButton; import android.widget.CompoundButton;
import com.google.android.material.snackbar.Snackbar; import com.google.android.material.snackbar.Snackbar;
import org.meowcat.edxposed.manager.R; import io.github.lsposed.manager.R;
import org.meowcat.edxposed.manager.ui.activity.AppListActivity; import io.github.lsposed.manager.ui.activity.AppListActivity;
import java.util.List; import java.util.List;

View File

@ -1,13 +1,13 @@
package org.meowcat.edxposed.manager.adapters; package io.github.lsposed.manager.adapters;
import android.content.pm.ApplicationInfo; import android.content.pm.ApplicationInfo;
import android.widget.CompoundButton; import android.widget.CompoundButton;
import com.google.android.material.snackbar.Snackbar; import com.google.android.material.snackbar.Snackbar;
import org.meowcat.edxposed.manager.R; import io.github.lsposed.manager.R;
import org.meowcat.edxposed.manager.ui.activity.AppListActivity; import io.github.lsposed.manager.ui.activity.AppListActivity;
import org.meowcat.edxposed.manager.ui.widget.MasterSwitch; import io.github.lsposed.manager.ui.widget.MasterSwitch;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;

View File

@ -1,12 +1,12 @@
package org.meowcat.edxposed.manager.receivers; package io.github.lsposed.manager.receivers;
import android.content.BroadcastReceiver; import android.content.BroadcastReceiver;
import android.content.Context; import android.content.Context;
import android.content.Intent; import android.content.Intent;
import android.net.Uri; import android.net.Uri;
import org.meowcat.edxposed.manager.util.ModuleUtil; import io.github.lsposed.manager.util.ModuleUtil;
import org.meowcat.edxposed.manager.util.NotificationUtil; import io.github.lsposed.manager.util.NotificationUtil;
public class EdServiceReceiver extends BroadcastReceiver { public class EdServiceReceiver extends BroadcastReceiver {

View File

@ -1,4 +1,4 @@
package org.meowcat.edxposed.manager.ui.activity; package io.github.lsposed.manager.ui.activity;
import android.os.Bundle; import android.os.Bundle;
import android.view.View; import android.view.View;
@ -7,11 +7,11 @@ import androidx.appcompat.app.ActionBar;
import com.bumptech.glide.Glide; import com.bumptech.glide.Glide;
import org.meowcat.edxposed.manager.BuildConfig; import io.github.lsposed.manager.BuildConfig;
import org.meowcat.edxposed.manager.R; import io.github.lsposed.manager.R;
import org.meowcat.edxposed.manager.databinding.ActivityAboutBinding; import io.github.lsposed.manager.databinding.ActivityAboutBinding;
import org.meowcat.edxposed.manager.util.GlideHelper; import io.github.lsposed.manager.util.GlideHelper;
import org.meowcat.edxposed.manager.util.NavUtil; import io.github.lsposed.manager.util.NavUtil;
public class AboutActivity extends BaseActivity { public class AboutActivity extends BaseActivity {
ActivityAboutBinding binding; ActivityAboutBinding binding;

View File

@ -1,4 +1,4 @@
package org.meowcat.edxposed.manager.ui.activity; package io.github.lsposed.manager.ui.activity;
import android.os.Bundle; import android.os.Bundle;
import android.os.Handler; import android.os.Handler;
@ -18,13 +18,13 @@ import androidx.recyclerview.widget.DividerItemDecoration;
import com.google.android.material.snackbar.Snackbar; import com.google.android.material.snackbar.Snackbar;
import org.meowcat.edxposed.manager.R; import io.github.lsposed.manager.R;
import org.meowcat.edxposed.manager.adapters.AppAdapter; import io.github.lsposed.manager.adapters.AppAdapter;
import org.meowcat.edxposed.manager.adapters.AppHelper; import io.github.lsposed.manager.adapters.AppHelper;
import org.meowcat.edxposed.manager.adapters.BlackListAdapter; import io.github.lsposed.manager.adapters.BlackListAdapter;
import org.meowcat.edxposed.manager.adapters.ScopeAdapter; import io.github.lsposed.manager.adapters.ScopeAdapter;
import org.meowcat.edxposed.manager.databinding.ActivityScopeListBinding; import io.github.lsposed.manager.databinding.ActivityScopeListBinding;
import org.meowcat.edxposed.manager.util.LinearLayoutManagerFix; import io.github.lsposed.manager.util.LinearLayoutManagerFix;
import me.zhanghai.android.fastscroll.FastScrollerBuilder; import me.zhanghai.android.fastscroll.FastScrollerBuilder;

View File

@ -1,4 +1,4 @@
package org.meowcat.edxposed.manager.ui.activity; package io.github.lsposed.manager.ui.activity;
import android.content.Context; import android.content.Context;
import android.content.DialogInterface; import android.content.DialogInterface;
@ -18,12 +18,12 @@ import androidx.core.content.ContextCompat;
import com.google.android.material.dialog.MaterialAlertDialogBuilder; import com.google.android.material.dialog.MaterialAlertDialogBuilder;
import org.meowcat.edxposed.manager.App; import io.github.lsposed.manager.App;
import org.meowcat.edxposed.manager.R; import io.github.lsposed.manager.R;
import org.meowcat.edxposed.manager.util.CompileUtil; import io.github.lsposed.manager.util.CompileUtil;
import org.meowcat.edxposed.manager.util.CustomThemeColor; import io.github.lsposed.manager.util.CustomThemeColor;
import org.meowcat.edxposed.manager.util.CustomThemeColors; import io.github.lsposed.manager.util.CustomThemeColors;
import org.meowcat.edxposed.manager.util.RebootUtil; import io.github.lsposed.manager.util.RebootUtil;
import java.util.Objects; import java.util.Objects;

View File

@ -1,4 +1,4 @@
package org.meowcat.edxposed.manager.ui.activity; package io.github.lsposed.manager.ui.activity;
import android.content.ClipData; import android.content.ClipData;
import android.content.ClipboardManager; import android.content.ClipboardManager;
@ -14,9 +14,9 @@ import androidx.appcompat.app.AppCompatActivity;
import com.google.android.material.snackbar.Snackbar; import com.google.android.material.snackbar.Snackbar;
import org.meowcat.edxposed.manager.BuildConfig; import io.github.lsposed.manager.BuildConfig;
import org.meowcat.edxposed.manager.R; import io.github.lsposed.manager.R;
import org.meowcat.edxposed.manager.databinding.ActivityCrashReportBinding; import io.github.lsposed.manager.databinding.ActivityCrashReportBinding;
import java.text.DateFormat; import java.text.DateFormat;
import java.text.SimpleDateFormat; import java.text.SimpleDateFormat;

View File

@ -1,4 +1,4 @@
package org.meowcat.edxposed.manager.ui.activity; package io.github.lsposed.manager.ui.activity;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;
import android.content.Intent; import android.content.Intent;
@ -26,13 +26,13 @@ import com.google.android.material.dialog.MaterialAlertDialogBuilder;
import com.google.android.material.snackbar.Snackbar; import com.google.android.material.snackbar.Snackbar;
import com.google.android.material.tabs.TabLayout; import com.google.android.material.tabs.TabLayout;
import org.meowcat.edxposed.manager.BuildConfig; import io.github.lsposed.manager.BuildConfig;
import org.meowcat.edxposed.manager.Constants; import io.github.lsposed.manager.Constants;
import org.meowcat.edxposed.manager.R; import io.github.lsposed.manager.R;
import org.meowcat.edxposed.manager.databinding.ActivityLogsBinding; import io.github.lsposed.manager.databinding.ActivityLogsBinding;
import org.meowcat.edxposed.manager.databinding.DialogInstallWarningBinding; import io.github.lsposed.manager.databinding.DialogInstallWarningBinding;
import org.meowcat.edxposed.manager.databinding.ItemLogBinding; import io.github.lsposed.manager.databinding.ItemLogBinding;
import org.meowcat.edxposed.manager.util.LinearLayoutManagerFix; import io.github.lsposed.manager.util.LinearLayoutManagerFix;
import java.io.File; import java.io.File;
import java.io.FileInputStream; import java.io.FileInputStream;
@ -189,7 +189,7 @@ public class LogsActivity extends BaseActivity {
private void save() { private void save() {
Calendar now = Calendar.getInstance(); Calendar now = Calendar.getInstance();
String filename = String.format( String filename = String.format(
"EdXposed_Verbose_%04d%02d%02d_%02d%02d%02d.log", "LSPosed_Verbose_%04d%02d%02d_%02d%02d%02d.log",
now.get(Calendar.YEAR), now.get(Calendar.MONTH) + 1, now.get(Calendar.YEAR), now.get(Calendar.MONTH) + 1,
now.get(Calendar.DAY_OF_MONTH), now.get(Calendar.HOUR_OF_DAY), now.get(Calendar.DAY_OF_MONTH), now.get(Calendar.HOUR_OF_DAY),
now.get(Calendar.MINUTE), now.get(Calendar.SECOND)); now.get(Calendar.MINUTE), now.get(Calendar.SECOND));

View File

@ -1,4 +1,4 @@
package org.meowcat.edxposed.manager.ui.activity; package io.github.lsposed.manager.ui.activity;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;
import android.content.Context; import android.content.Context;
@ -12,15 +12,15 @@ import androidx.core.content.ContextCompat;
import com.bumptech.glide.Glide; import com.bumptech.glide.Glide;
import org.meowcat.edxposed.manager.Constants; import io.github.lsposed.manager.Constants;
import org.meowcat.edxposed.manager.R; import io.github.lsposed.manager.R;
import org.meowcat.edxposed.manager.adapters.AppHelper; import io.github.lsposed.manager.adapters.AppHelper;
import org.meowcat.edxposed.manager.databinding.ActivityMainBinding; import io.github.lsposed.manager.databinding.ActivityMainBinding;
import org.meowcat.edxposed.manager.ui.fragment.StatusDialogBuilder; import io.github.lsposed.manager.ui.fragment.StatusDialogBuilder;
import org.meowcat.edxposed.manager.util.GlideHelper; import io.github.lsposed.manager.util.GlideHelper;
import org.meowcat.edxposed.manager.util.ModuleUtil; import io.github.lsposed.manager.util.ModuleUtil;
import org.meowcat.edxposed.manager.util.NavUtil; import io.github.lsposed.manager.util.NavUtil;
import org.meowcat.edxposed.manager.util.light.Light; import io.github.lsposed.manager.util.light.Light;
import java.util.Locale; import java.util.Locale;

View File

@ -1,4 +1,4 @@
package org.meowcat.edxposed.manager.ui.activity; package io.github.lsposed.manager.ui.activity;
import android.content.Intent; import android.content.Intent;
import android.content.pm.ApplicationInfo; import android.content.pm.ApplicationInfo;
@ -27,16 +27,16 @@ import androidx.recyclerview.widget.RecyclerView;
import com.google.android.material.dialog.MaterialAlertDialogBuilder; import com.google.android.material.dialog.MaterialAlertDialogBuilder;
import com.google.android.material.snackbar.Snackbar; import com.google.android.material.snackbar.Snackbar;
import org.meowcat.edxposed.manager.App; import io.github.lsposed.manager.App;
import org.meowcat.edxposed.manager.BuildConfig; import io.github.lsposed.manager.BuildConfig;
import org.meowcat.edxposed.manager.Constants; import io.github.lsposed.manager.Constants;
import org.meowcat.edxposed.manager.R; import io.github.lsposed.manager.R;
import org.meowcat.edxposed.manager.adapters.AppAdapter; import io.github.lsposed.manager.adapters.AppAdapter;
import org.meowcat.edxposed.manager.databinding.ActivityModulesBinding; import io.github.lsposed.manager.databinding.ActivityModulesBinding;
import org.meowcat.edxposed.manager.util.GlideApp; import io.github.lsposed.manager.util.GlideApp;
import org.meowcat.edxposed.manager.util.LinearLayoutManagerFix; import io.github.lsposed.manager.util.LinearLayoutManagerFix;
import org.meowcat.edxposed.manager.util.ModuleUtil; import io.github.lsposed.manager.util.ModuleUtil;
import org.meowcat.edxposed.manager.util.NavUtil; import io.github.lsposed.manager.util.NavUtil;
import java.io.File; import java.io.File;
import java.io.FileInputStream; import java.io.FileInputStream;

View File

@ -1,4 +1,4 @@
package org.meowcat.edxposed.manager.ui.activity; package io.github.lsposed.manager.ui.activity;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;
import android.content.Context; import android.content.Context;
@ -17,10 +17,10 @@ import androidx.preference.SwitchPreferenceCompat;
import com.takisoft.preferencex.PreferenceFragmentCompat; import com.takisoft.preferencex.PreferenceFragmentCompat;
import com.takisoft.preferencex.SimpleMenuPreference; import com.takisoft.preferencex.SimpleMenuPreference;
import org.meowcat.edxposed.manager.Constants; import io.github.lsposed.manager.Constants;
import org.meowcat.edxposed.manager.R; import io.github.lsposed.manager.R;
import org.meowcat.edxposed.manager.databinding.ActivitySettingsBinding; import io.github.lsposed.manager.databinding.ActivitySettingsBinding;
import org.meowcat.edxposed.manager.ui.widget.IntegerListPreference; import io.github.lsposed.manager.ui.widget.IntegerListPreference;
import java.io.IOException; import java.io.IOException;
import java.nio.file.Files; import java.nio.file.Files;

View File

@ -1,4 +1,4 @@
package org.meowcat.edxposed.manager.ui.fragment; package io.github.lsposed.manager.ui.fragment;
import android.app.Dialog; import android.app.Dialog;
import android.content.Context; import android.content.Context;
@ -16,11 +16,11 @@ import androidx.appcompat.app.AppCompatDialogFragment;
import com.google.android.material.dialog.MaterialAlertDialogBuilder; import com.google.android.material.dialog.MaterialAlertDialogBuilder;
import com.topjohnwu.superuser.Shell; import com.topjohnwu.superuser.Shell;
import org.meowcat.edxposed.manager.App; import io.github.lsposed.manager.App;
import org.meowcat.edxposed.manager.R; import io.github.lsposed.manager.R;
import org.meowcat.edxposed.manager.databinding.FragmentCompileDialogBinding; import io.github.lsposed.manager.databinding.FragmentCompileDialogBinding;
import org.meowcat.edxposed.manager.util.CompileUtil; import io.github.lsposed.manager.util.CompileUtil;
import org.meowcat.edxposed.manager.util.ToastUtil; import io.github.lsposed.manager.util.ToastUtil;
import java.lang.ref.WeakReference; import java.lang.ref.WeakReference;
import java.util.ArrayList; import java.util.ArrayList;

View File

@ -1,4 +1,4 @@
package org.meowcat.edxposed.manager.ui.fragment; package io.github.lsposed.manager.ui.fragment;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;
import android.content.Context; import android.content.Context;
@ -11,11 +11,11 @@ import androidx.core.content.ContextCompat;
import com.google.android.material.dialog.MaterialAlertDialogBuilder; import com.google.android.material.dialog.MaterialAlertDialogBuilder;
import org.meowcat.edxposed.manager.App; import io.github.lsposed.manager.App;
import org.meowcat.edxposed.manager.BuildConfig; import io.github.lsposed.manager.BuildConfig;
import org.meowcat.edxposed.manager.Constants; import io.github.lsposed.manager.Constants;
import org.meowcat.edxposed.manager.R; import io.github.lsposed.manager.R;
import org.meowcat.edxposed.manager.databinding.StatusInstallerBinding; import io.github.lsposed.manager.databinding.StatusInstallerBinding;
import java.io.BufferedReader; import java.io.BufferedReader;
import java.io.File; import java.io.File;

View File

@ -1,4 +1,4 @@
package org.meowcat.edxposed.manager.ui.widget; package io.github.lsposed.manager.ui.widget;
import android.content.Context; import android.content.Context;
import android.content.SharedPreferences; import android.content.SharedPreferences;

View File

@ -1,4 +1,4 @@
package org.meowcat.edxposed.manager.ui.widget; package io.github.lsposed.manager.ui.widget;
import android.content.Context; import android.content.Context;
import android.content.res.TypedArray; import android.content.res.TypedArray;
@ -15,7 +15,7 @@ import androidx.annotation.NonNull;
import androidx.annotation.Nullable; import androidx.annotation.Nullable;
import androidx.appcompat.widget.SwitchCompat; import androidx.appcompat.widget.SwitchCompat;
import org.meowcat.edxposed.manager.R; import io.github.lsposed.manager.R;
public class MasterSwitch extends FrameLayout implements View.OnClickListener, Checkable { public class MasterSwitch extends FrameLayout implements View.OnClickListener, Checkable {

View File

@ -1,4 +1,4 @@
package org.meowcat.edxposed.manager.ui.widget; package io.github.lsposed.manager.ui.widget;
import android.content.Context; import android.content.Context;
import android.graphics.Canvas; import android.graphics.Canvas;

View File

@ -1,4 +1,4 @@
package org.meowcat.edxposed.manager.ui.widget; package io.github.lsposed.manager.ui.widget;
import android.content.Context; import android.content.Context;
import android.util.AttributeSet; import android.util.AttributeSet;
@ -9,8 +9,8 @@ import com.takisoft.preferencex.ColorPickerPreference;
import com.takisoft.preferencex.ColorPickerPreferenceDialogFragmentCompat; import com.takisoft.preferencex.ColorPickerPreferenceDialogFragmentCompat;
import com.takisoft.preferencex.PreferenceFragmentCompat; import com.takisoft.preferencex.PreferenceFragmentCompat;
import org.meowcat.edxposed.manager.util.CustomThemeColor; import io.github.lsposed.manager.util.CustomThemeColor;
import org.meowcat.edxposed.manager.util.CustomThemeColors; import io.github.lsposed.manager.util.CustomThemeColors;
import java.util.Objects; import java.util.Objects;

View File

@ -1,4 +1,4 @@
package org.meowcat.edxposed.manager.util; package io.github.lsposed.manager.util;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;
import android.app.Activity; import android.app.Activity;
@ -14,9 +14,9 @@ import androidx.fragment.app.FragmentManager;
import com.google.android.material.dialog.MaterialAlertDialogBuilder; import com.google.android.material.dialog.MaterialAlertDialogBuilder;
import com.topjohnwu.superuser.Shell; import com.topjohnwu.superuser.Shell;
import org.meowcat.edxposed.manager.App; import io.github.lsposed.manager.App;
import org.meowcat.edxposed.manager.R; import io.github.lsposed.manager.R;
import org.meowcat.edxposed.manager.ui.fragment.CompileDialogFragment; import io.github.lsposed.manager.ui.fragment.CompileDialogFragment;
import java.util.List; import java.util.List;

View File

@ -3,7 +3,7 @@
* All Rights Reserved. * All Rights Reserved.
*/ */
package org.meowcat.edxposed.manager.util; package io.github.lsposed.manager.util;
import androidx.annotation.ColorRes; import androidx.annotation.ColorRes;
import androidx.annotation.NonNull; import androidx.annotation.NonNull;

View File

@ -1,9 +1,9 @@
package org.meowcat.edxposed.manager.util; package io.github.lsposed.manager.util;
import androidx.annotation.ColorRes; import androidx.annotation.ColorRes;
import androidx.annotation.NonNull; import androidx.annotation.NonNull;
import org.meowcat.edxposed.manager.R; import io.github.lsposed.manager.R;
public class CustomThemeColors { public class CustomThemeColors {

View File

@ -1,4 +1,4 @@
package org.meowcat.edxposed.manager.util; package io.github.lsposed.manager.util;
import android.content.pm.ApplicationInfo; import android.content.pm.ApplicationInfo;
import android.content.pm.PackageInfo; import android.content.pm.PackageInfo;

View File

@ -1,4 +1,4 @@
package org.meowcat.edxposed.manager.util; package io.github.lsposed.manager.util;
import android.content.Context; import android.content.Context;
import android.content.pm.PackageInfo; import android.content.pm.PackageInfo;
@ -11,7 +11,7 @@ import com.bumptech.glide.Registry;
import com.bumptech.glide.annotation.GlideModule; import com.bumptech.glide.annotation.GlideModule;
import com.bumptech.glide.module.AppGlideModule; import com.bumptech.glide.module.AppGlideModule;
import org.meowcat.edxposed.manager.R; import io.github.lsposed.manager.R;
import me.zhanghai.android.appiconloader.glide.AppIconModelLoader; import me.zhanghai.android.appiconloader.glide.AppIconModelLoader;

View File

@ -1,4 +1,4 @@
package org.meowcat.edxposed.manager.util; package io.github.lsposed.manager.util;
import android.content.Context; import android.content.Context;
import android.util.AttributeSet; import android.util.AttributeSet;

View File

@ -1,4 +1,4 @@
package org.meowcat.edxposed.manager.util; package io.github.lsposed.manager.util;
import android.content.SharedPreferences; import android.content.SharedPreferences;
import android.content.pm.ApplicationInfo; import android.content.pm.ApplicationInfo;
@ -14,10 +14,10 @@ import androidx.annotation.NonNull;
import com.google.android.material.snackbar.Snackbar; import com.google.android.material.snackbar.Snackbar;
import org.meowcat.edxposed.manager.App; import io.github.lsposed.manager.App;
import org.meowcat.edxposed.manager.Constants; import io.github.lsposed.manager.Constants;
import org.meowcat.edxposed.manager.R; import io.github.lsposed.manager.R;
import org.meowcat.edxposed.manager.adapters.AppHelper; import io.github.lsposed.manager.adapters.AppHelper;
import java.io.IOException; import java.io.IOException;
import java.io.PrintWriter; import java.io.PrintWriter;

View File

@ -1,4 +1,4 @@
package org.meowcat.edxposed.manager.util; package io.github.lsposed.manager.util;
import android.content.Context; import android.content.Context;
import android.net.Uri; import android.net.Uri;
@ -13,9 +13,9 @@ import androidx.browser.customtabs.CustomTabsIntent;
import com.google.android.material.dialog.MaterialAlertDialogBuilder; import com.google.android.material.dialog.MaterialAlertDialogBuilder;
import org.meowcat.edxposed.manager.App; import io.github.lsposed.manager.App;
import org.meowcat.edxposed.manager.R; import io.github.lsposed.manager.R;
import org.meowcat.edxposed.manager.ui.activity.BaseActivity; import io.github.lsposed.manager.ui.activity.BaseActivity;
public final class NavUtil { public final class NavUtil {

View File

@ -1,4 +1,4 @@
package org.meowcat.edxposed.manager.util; package io.github.lsposed.manager.util;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;
import android.app.NotificationManager; import android.app.NotificationManager;
@ -16,10 +16,10 @@ import androidx.core.content.ContextCompat;
import com.topjohnwu.superuser.Shell; import com.topjohnwu.superuser.Shell;
import org.meowcat.edxposed.manager.App; import io.github.lsposed.manager.App;
import org.meowcat.edxposed.manager.R; import io.github.lsposed.manager.R;
import org.meowcat.edxposed.manager.ui.activity.MainActivity; import io.github.lsposed.manager.ui.activity.MainActivity;
import org.meowcat.edxposed.manager.ui.activity.ModulesActivity; import io.github.lsposed.manager.ui.activity.ModulesActivity;
@SuppressLint("UnspecifiedImmutableFlag") @SuppressLint("UnspecifiedImmutableFlag")
public final class NotificationUtil { public final class NotificationUtil {

View File

@ -1,4 +1,4 @@
package org.meowcat.edxposed.manager.util; package io.github.lsposed.manager.util;
import android.content.Context; import android.content.Context;
import android.os.Build; import android.os.Build;
@ -8,8 +8,8 @@ import android.os.RemoteException;
import com.topjohnwu.superuser.Shell; import com.topjohnwu.superuser.Shell;
import org.meowcat.edxposed.manager.App; import io.github.lsposed.manager.App;
import org.meowcat.edxposed.manager.BuildConfig; import io.github.lsposed.manager.BuildConfig;
import rikka.shizuku.ShizukuBinderWrapper; import rikka.shizuku.ShizukuBinderWrapper;
import rikka.shizuku.ShizukuSystemProperties; import rikka.shizuku.ShizukuSystemProperties;

View File

@ -1,4 +1,4 @@
package org.meowcat.edxposed.manager.util; package io.github.lsposed.manager.util;
public abstract class Singleton<T> { public abstract class Singleton<T> {

View File

@ -1,4 +1,4 @@
package org.meowcat.edxposed.manager.util; package io.github.lsposed.manager.util;
import android.content.Context; import android.content.Context;
import android.widget.Toast; import android.widget.Toast;

View File

@ -1,4 +1,4 @@
package org.meowcat.edxposed.manager.util.light; package io.github.lsposed.manager.util.light;
import android.util.Log; import android.util.Log;

View File

@ -1,4 +1,4 @@
package org.meowcat.edxposed.manager.util.light; package io.github.lsposed.manager.util.light;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;
import android.graphics.HardwareRenderer; import android.graphics.HardwareRenderer;

View File

@ -44,7 +44,7 @@
android:layout_height="match_parent" android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior"> app:layout_behavior="@string/appbar_scrolling_view_behavior">
<org.meowcat.edxposed.manager.ui.widget.RecyclerViewBugFixed <io.github.lsposed.manager.ui.widget.RecyclerViewBugFixed
android:id="@+id/recyclerView" android:id="@+id/recyclerView"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"

View File

@ -26,7 +26,7 @@
android:orientation="vertical" android:orientation="vertical"
app:layout_behavior="@string/appbar_scrolling_view_behavior"> app:layout_behavior="@string/appbar_scrolling_view_behavior">
<org.meowcat.edxposed.manager.ui.widget.RecyclerViewBugFixed <io.github.lsposed.manager.ui.widget.RecyclerViewBugFixed
android:id="@+id/recyclerView" android:id="@+id/recyclerView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" /> android:layout_height="match_parent" />

View File

@ -26,7 +26,7 @@
app:layout_behavior="@string/appbar_scrolling_view_behavior" app:layout_behavior="@string/appbar_scrolling_view_behavior"
android:orientation="vertical"> android:orientation="vertical">
<org.meowcat.edxposed.manager.ui.widget.MasterSwitch <io.github.lsposed.manager.ui.widget.MasterSwitch
android:id="@+id/master_switch" android:id="@+id/master_switch"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_width="match_parent" android:layout_width="match_parent"
@ -42,7 +42,7 @@
android:orientation="vertical" android:orientation="vertical"
app:layout_behavior="@string/appbar_scrolling_view_behavior"> app:layout_behavior="@string/appbar_scrolling_view_behavior">
<org.meowcat.edxposed.manager.ui.widget.RecyclerViewBugFixed <io.github.lsposed.manager.ui.widget.RecyclerViewBugFixed
android:id="@+id/recyclerView" android:id="@+id/recyclerView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"

View File

@ -104,7 +104,7 @@
<string name="skip_xposedminversion_check_summ">关闭针对模块的\“LSPosed 安装状态\”检查</string> <string name="skip_xposedminversion_check_summ">关闭针对模块的\“LSPosed 安装状态\”检查</string>
<string name="not_logcat">此处仅显示 LSPosed 及模块相关日志信息\n如果您想抓取系统日志, 可以尝试我们的 Log Catcher Magisk 模块</string> <string name="not_logcat">此处仅显示 LSPosed 及模块相关日志信息\n如果您想抓取系统日志, 可以尝试我们的 Log Catcher Magisk 模块</string>
<!-- EdXp related --> <!-- LSPd related -->
<string name="white_list_mode_title">白名单模式</string> <string name="white_list_mode_title">白名单模式</string>
<string name="title_white_list">白名单</string> <string name="title_white_list">白名单</string>
<string name="title_black_list">黑名单</string> <string name="title_black_list">黑名单</string>

View File

@ -103,7 +103,7 @@
<string name="skip_xposedminversion_check_summ">關閉針對模塊的\"LSPosed 安裝狀態\"檢查</string> <string name="skip_xposedminversion_check_summ">關閉針對模塊的\"LSPosed 安裝狀態\"檢查</string>
<string name="not_logcat">此處僅顯示 LSPosed 及模塊相關日誌信息\n如果您想抓取系統日誌, 可以嘗試我們的 Log Catcher Magisk 模塊</string> <string name="not_logcat">此處僅顯示 LSPosed 及模塊相關日誌信息\n如果您想抓取系統日誌, 可以嘗試我們的 Log Catcher Magisk 模塊</string>
<!-- EdXp related --> <!-- LSPd related -->
<string name="white_list_mode_title">白名單模式</string> <string name="white_list_mode_title">白名單模式</string>
<string name="title_white_list">白名單</string> <string name="title_white_list">白名單</string>
<string name="title_black_list">黑名單</string> <string name="title_black_list">黑名單</string>

View File

@ -103,7 +103,7 @@
<string name="skip_xposedminversion_check_summ">關閉針對模組的\"LSPosed 安裝狀態\"檢查</string> <string name="skip_xposedminversion_check_summ">關閉針對模組的\"LSPosed 安裝狀態\"檢查</string>
<string name="not_logcat">此處僅顯示 LSPosed 及模組相關日誌資訊\n如果您想抓取系統日誌, 可以嘗試我們的 Log Catcher Magisk 模組</string> <string name="not_logcat">此處僅顯示 LSPosed 及模組相關日誌資訊\n如果您想抓取系統日誌, 可以嘗試我們的 Log Catcher Magisk 模組</string>
<!-- EdXp related --> <!-- LSPd related -->
<string name="white_list_mode_title">允許單模式</string> <string name="white_list_mode_title">允許單模式</string>
<string name="title_white_list">允許名單</string> <string name="title_white_list">允許名單</string>
<string name="title_black_list">封鎖名單</string> <string name="title_black_list">封鎖名單</string>

View File

@ -118,7 +118,7 @@
<string name="verified_boot_none">Could not detect Verified Boot state</string> <string name="verified_boot_none">Could not detect Verified Boot state</string>
<string name="verified_boot_active">Verified Boot is active</string> <string name="verified_boot_active">Verified Boot is active</string>
<!-- EdXp related --> <!-- LSPd related -->
<string name="white_list_mode_title">White List mode</string> <string name="white_list_mode_title">White List mode</string>
<string name="title_white_list">White List</string> <string name="title_white_list">White List</string>
<string name="title_black_list">Black List</string> <string name="title_black_list">Black List</string>

View File

@ -22,19 +22,19 @@
<PreferenceCategory <PreferenceCategory
android:title="@string/settings_group_theme" android:title="@string/settings_group_theme"
app:iconSpaceReserved="false"> app:iconSpaceReserved="false">
<org.meowcat.edxposed.manager.ui.widget.ThemeColorPreference <io.github.lsposed.manager.ui.widget.ThemeColorPreference
android:defaultValue="#1976D2" android:defaultValue="#1976D2"
android:dialogTitle="@string/primary_color" android:dialogTitle="@string/primary_color"
android:key="primary_color" android:key="primary_color"
android:title="@string/primary_color" android:title="@string/primary_color"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
<org.meowcat.edxposed.manager.ui.widget.ThemeColorPreference <io.github.lsposed.manager.ui.widget.ThemeColorPreference
android:defaultValue="#e91e63" android:defaultValue="#e91e63"
android:dialogTitle="@string/accent_color" android:dialogTitle="@string/accent_color"
android:key="accent_color" android:key="accent_color"
android:title="@string/accent_color" android:title="@string/accent_color"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
<org.meowcat.edxposed.manager.ui.widget.IntegerListPreference <io.github.lsposed.manager.ui.widget.IntegerListPreference
android:defaultValue="-1" android:defaultValue="-1"
android:entries="@array/theme_texts" android:entries="@array/theme_texts"
android:entryValues="@array/theme_values" android:entryValues="@array/theme_values"

View File

@ -8,8 +8,8 @@
android:shortcutShortLabel="@string/nav_item_modules"> android:shortcutShortLabel="@string/nav_item_modules">
<intent <intent
android:action="android.intent.action.MAIN" android:action="android.intent.action.MAIN"
android:targetClass="org.meowcat.edxposed.manager.ui.activity.ModulesActivity" android:targetClass="io.github.lsposed.manager.ui.activity.ModulesActivity"
android:targetPackage="org.meowcat.edxposed.manager" /> android:targetPackage="io.github.lsposed.manager" />
</shortcut> </shortcut>
<shortcut <shortcut
@ -20,8 +20,8 @@
android:shortcutShortLabel="@string/nav_item_download"> android:shortcutShortLabel="@string/nav_item_download">
<intent <intent
android:action="android.intent.action.MAIN" android:action="android.intent.action.MAIN"
android:targetClass="org.meowcat.edxposed.manager.ui.activity.DownloadActivity" android:targetClass="io.github.lsposed.manager.ui.activity.DownloadActivity"
android:targetPackage="org.meowcat.edxposed.manager" /> android:targetPackage="io.github.lsposed.manager" />
</shortcut> </shortcut>
</shortcuts> </shortcuts>

View File

@ -1,51 +0,0 @@
version: '0.5.1.4_{build}-{branch}'
environment:
ANDROID_HOME: C:\android-sdk-windows
install:
- cd %APPVEYOR_BUILD_FOLDER%
- git submodule update --init --recursive
- appveyor DownloadFile https://dl.google.com/android/repository/sdk-tools-windows-4333796.zip
- 7z x sdk-tools-windows-4333796.zip -oC:\android-sdk-windows > nul
- yes | C:\android-sdk-windows\tools\bin\sdkmanager.bat --licenses > nul
- C:\android-sdk-windows\tools\bin\sdkmanager.bat "platforms;android-28" > nul
- C:\android-sdk-windows\tools\bin\sdkmanager.bat "platform-tools" > nul
- C:\android-sdk-windows\tools\bin\sdkmanager.bat "build-tools;28.0.3" > nul
- C:\android-sdk-windows\tools\bin\sdkmanager.bat "cmake;3.6.4111459" > nul
- C:\android-sdk-windows\tools\bin\sdkmanager.bat "patcher;v4" > nul
- C:\android-sdk-windows\tools\bin\sdkmanager.bat "ndk;22.0.7026061" --channel=1 > nul
- set PATH=%PATH%;C:\android-sdk-windows\ndk-bundle;C:\android-sdk-windows\build-tools\28.0.3
build_script:
- gradlew.bat :edxp-core:zipYahfaRelease
- gradlew.bat :edxp-core:zipSandhookRelease
- gradlew.bat :edxp-core:zipYahfaDebug
- gradlew.bat :edxp-core:zipSandhookDebug
artifacts:
- path: 'edxp-core\release\**\*.zip'
pull_requests:
do_not_increment_build_number: true
skip_tags: true
only_commits:
files:
- dalvikdx/
- dexmaker/
- edxp-common/
- edxp-core/
- edxp-sandhook/
- edxp-service/
- edxp-yahfa/
- hiddenapi-stubs/
- sandhook-annotation/
- sandhook-hooklib/
- xposed-bridge/
- .gitmodules
- appveyor.yml
- build.gradle
- gradle.properties
- settings.gradle

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -31,7 +31,7 @@ allprojects {
ext { ext {
versionCode = buildVersionCode versionCode = buildVersionCode
versionName = buildVersionName versionName = buildVersionName
templateRootPath = project(":edxp-core").projectDir.path + "/template_override/" templateRootPath = project(":core").projectDir.path + "/template_override/"
templateSystemPath = templateRootPath + "/system/" templateSystemPath = templateRootPath + "/system/"
templateSystemx86Path = templateRootPath + "/system_x86/" templateSystemx86Path = templateRootPath + "/system_x86/"
templateFrameworkPath = templateRootPath + "/system/framework/" templateFrameworkPath = templateRootPath + "/system/framework/"
@ -39,7 +39,7 @@ allprojects {
templateLib64Path = templateRootPath + "/system/lib64/" templateLib64Path = templateRootPath + "/system/lib64/"
templateEtcPath = templateRootPath + "/system/etc/" templateEtcPath = templateRootPath + "/system/etc/"
hiddenApiStubJarFilePath = project(":hiddenapi-stubs").buildDir.absolutePath + "/libs/framework-stub.jar" hiddenApiStubJarFilePath = project(":hiddenapi-stubs").buildDir.absolutePath + "/libs/framework-stub.jar"
zipPathMagiskReleasePath = project(":edxp-core").projectDir.path + "/build/tmp/release/magisk/" zipPathMagiskReleasePath = project(":core").projectDir.path + "/build/tmp/release/magisk/"
} }
repositories { repositories {
google() google()

View File

@ -45,7 +45,7 @@ dependencies {
android { android {
compileSdkVersion androidCompileSdkVersion.toInteger() compileSdkVersion androidCompileSdkVersion.toInteger()
defaultConfig { defaultConfig {
applicationId "com.elderdrivers.riru.edxp" applicationId "io.github.lsposed.lspd"
minSdkVersion androidMinSdkVersion.toInteger() minSdkVersion androidMinSdkVersion.toInteger()
targetSdkVersion androidTargetSdkVersion.toInteger() targetSdkVersion androidTargetSdkVersion.toInteger()
multiDexEnabled false multiDexEnabled false
@ -142,7 +142,7 @@ afterEvaluate {
"${buildDir}/intermediates/dex/${variantLowered}/minify${variantCapped}WithR8" : "${buildDir}/intermediates/dex/${variantLowered}/minify${variantCapped}WithR8" :
"${buildDir}/intermediates/dex/${variantLowered}/mergeDex${variantCapped}" "${buildDir}/intermediates/dex/${variantLowered}/mergeDex${variantCapped}"
from (dexOutPath){ from (dexOutPath){
rename("classes.dex", "edxp.dex") rename("classes.dex", "lspd.dex")
} }
destinationDir file(zipPathMagiskReleasePath + "system/framework/") destinationDir file(zipPathMagiskReleasePath + "system/framework/")
outputs.upToDateWhen { false } outputs.upToDateWhen { false }
@ -174,7 +174,7 @@ afterEvaluate {
"${buildDir}/intermediates/dex/${variantLowered}/mergeDex${variantCapped}" "${buildDir}/intermediates/dex/${variantLowered}/mergeDex${variantCapped}"
copy { copy {
from (dexOutPath){ from (dexOutPath){
rename("classes.dex", "edxp.dex") rename("classes.dex", "lspd.dex")
} }
into file(zipPathMagiskReleasePath + "system/framework/") into file(zipPathMagiskReleasePath + "system/framework/")
} }
@ -196,22 +196,22 @@ afterEvaluate {
eol: FixCrLfFilter.CrLf.newInstance("lf")) eol: FixCrLfFilter.CrLf.newInstance("lf"))
} }
copy { copy {
include "libriru_edxp.so" include "libriru_lspd.so"
from "$libPathRelease/armeabi-v7a" from "$libPathRelease/armeabi-v7a"
into "$zipPathMagiskReleasePath/system/lib" into "$zipPathMagiskReleasePath/system/lib"
} }
copy { copy {
include "libriru_edxp.so" include "libriru_lspd.so"
from "$libPathRelease/arm64-v8a" from "$libPathRelease/arm64-v8a"
into "$zipPathMagiskReleasePath/system/lib64" into "$zipPathMagiskReleasePath/system/lib64"
} }
copy { copy {
include "libriru_edxp.so" include "libriru_lspd.so"
from "$libPathRelease/x86" from "$libPathRelease/x86"
into "$zipPathMagiskReleasePath/system_x86/lib" into "$zipPathMagiskReleasePath/system_x86/lib"
} }
copy { copy {
include "libriru_edxp.so" include "libriru_lspd.so"
from "$libPathRelease/x86_64" from "$libPathRelease/x86_64"
into "$zipPathMagiskReleasePath/system_x86/lib64" into "$zipPathMagiskReleasePath/system_x86/lib64"
} }

View File

@ -25,8 +25,8 @@
-keep class de.robv.android.xposed.** {*;} -keep class de.robv.android.xposed.** {*;}
-keep class android.** { *; } -keep class android.** { *; }
-keep interface com.elderdrivers.riru.common.KeepAll -keep interface io.github.lsposed.common.KeepAll
-keep interface com.elderdrivers.riru.common.KeepMembers -keep interface io.github.lsposed.common.KeepMembers
-keep class * implements com.elderdrivers.riru.common.KeepAll { *; } -keep class * implements io.github.lsposed.common.KeepAll { *; }
-keepclassmembers class * implements com.elderdrivers.riru.common.KeepMembers { *; } -keepclassmembers class * implements io.github.lsposed.common.KeepMembers { *; }

View File

@ -0,0 +1 @@
<manifest package="io.github.lsposed.lspd" />

View File

@ -65,7 +65,7 @@
#ifdef LOG_TAG #ifdef LOG_TAG
#define _LOG_TAG_INTERNAL LOG_TAG #define _LOG_TAG_INTERNAL LOG_TAG
#else #else
#define _LOG_TAG_INTERNAL "EdXposed" #define _LOG_TAG_INTERNAL "LSPosed"
#endif #endif
namespace android { namespace android {
namespace base { namespace base {

Some files were not shown because too many files have changed in this diff Show More