Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump com.tencent:mmkv from 2.0.1 to 2.0.2 in the maven-dependencies group across 1 directory #1081

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import com.hchen.database.HookBase;
import com.sevtinge.hyperceiler.module.base.BaseModule;
import com.sevtinge.hyperceiler.module.hook.mediaeditor.CustomWatermark;
import com.sevtinge.hyperceiler.module.hook.mediaeditor.FilterManagerAll;
import com.sevtinge.hyperceiler.module.hook.mediaeditor.UnlockAigc;
import com.sevtinge.hyperceiler.module.hook.mediaeditor.UnlockCustomPhotoFrames;
import com.sevtinge.hyperceiler.module.hook.mediaeditor.UnlockDisney;
Expand All @@ -37,7 +36,6 @@ public class MediaEditor extends BaseModule {
public void handleLoadPackage() {
// 基础
initHook(UnlockMinimumCropLimit2.INSTANCE, mPrefsMap.getBoolean("mediaeditor_unlock_minimum_crop_limit"));
initHook(FilterManagerAll.INSTANCE, mPrefsMap.getBoolean("mediaeditor_filter_manager"));
initHook(UnlockLeicaFilter.INSTANCE, mPrefsMap.getBoolean("mediaeditor_unlock_leica_filter"));
initHook(CustomWatermark.INSTANCE, !Objects.equals(mPrefsMap.getString("mediaeditor_custom_watermark", ""), ""));
// AI 创作
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ object UnlockCustomPhotoFrames : BaseHook() {
private val frames by lazy {
mPrefsMap.getStringAsInt("mediaeditor_unlock_custom_photo_frames", 0)
}
private val isOpenSpring by lazy {
mPrefsMap.getBoolean("mediaeditor_unlock_spring")
}
private val isNewMediaeditor by lazy {
// 以 1.7.5.0.4 为新旧版本分界线
getPackageVersionCode(lpparam) >= 4658180
Expand Down Expand Up @@ -116,13 +113,13 @@ object UnlockCustomPhotoFrames : BaseHook() {
other(method)
}

if (isOpenSpring && publicC.isNotEmpty()) {
/*if (isOpenSpring && publicC.isNotEmpty()) {
publicC.forEach { method ->
other(method)
// 1.6.0.5.2 新增限时新春定制画框
// 后续版本已移除,其实可以删掉的,但还是留着吧,兴许后面可能还有用
}
}
}*/
}

private fun xiaomi(name: Method) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
*/
package com.sevtinge.hyperceiler.module.hook.systemui.statusbar.icon.all;

import static com.sevtinge.hyperceiler.utils.devicesdk.SystemSDKKt.isMoreHyperOSVersion;

import android.annotation.SuppressLint;
import android.content.Context;
import android.content.res.Resources;
Expand Down Expand Up @@ -58,7 +60,11 @@ public class StatusBarIconPositionAdjust extends BaseHook {
@Override
public void init() {

mStatusBarIconList = findClassIfExists("com.android.systemui.statusbar.phone.ui.StatusBarIconList");
if (isMoreHyperOSVersion(2f)) {
mStatusBarIconList = findClassIfExists("com.android.systemui.statusbar.phone.ui.StatusBarIconList");
} else {
mStatusBarIconList = findClassIfExists("com.android.systemui.statusbar.phone.StatusBarIconList");
}
mSystemUIApplication = findClassIfExists("com.android.systemui.SystemUIApplication");
mMiuiDripLeftStatusBarIconControllerImpl = findClassIfExists("com.android.systemui.statusbar.phone.MiuiDripLeftStatusBarIconControllerImpl");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
import com.sevtinge.hyperceiler.R;
import com.sevtinge.hyperceiler.ui.fragment.dashboard.DashboardFragment;

import java.util.Objects;

import fan.preference.DropDownPreference;

public class SystemUIOtherSettings extends DashboardFragment {
Expand Down Expand Up @@ -88,7 +90,7 @@ public void initPrefs() {
(preference, o) -> {
ComponentName componentName = new ComponentName("miui.systemui.plugin",
"miui.systemui.volume.VolumeDialogPlugin");
PackageManager packageManager = getContext().getPackageManager();
PackageManager packageManager = requireContext().getPackageManager();
if ((boolean) o) {
packageManager.setComponentEnabledSetting(componentName,
PackageManager.COMPONENT_ENABLED_STATE_DISABLED,
Expand All @@ -107,7 +109,7 @@ public void initPrefs() {
public boolean onPreferenceChange(@NonNull Preference preference, Object o) {
ComponentName componentName = new ComponentName("miui.systemui.plugin",
"miui.systemui.globalactions.GlobalActionsPlugin");
PackageManager packageManager = getContext().getPackageManager();
PackageManager packageManager = requireContext().getPackageManager();
if ((boolean) o) {
packageManager.setComponentEnabledSetting(componentName,
PackageManager.COMPONENT_ENABLED_STATE_DISABLED,
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values-ar-rSA/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1493,7 +1493,6 @@
<string name="mediaeditor_unlock_custom_photo_frames_title">تخصيص نوع الإطار</string>
<string name="mediaeditor_unlock_leica_filter_title">فتح فلتر لايكا</string>
<string name="mediaeditor_unlock_leica_filter_desc">يتم دعم بعض الإصدارات فقط</string>
<string name="mediaeditor_filter_manager">فتح مدير الفلاتر</string>
<string name="mediaeditor_unlock_aigc">فتح AIGC</string>
<!--Mi Share-->
<string name="mishare">مشاركة شاومي</string>
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values-es-rES/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1283,7 +1283,6 @@ aplicaciones del sistema</string>
<string name="mediaeditor_unlock_custom_photo_frames_title">Personalizar el tipo de marco</string>
<string name="mediaeditor_unlock_leica_filter_title">Desbloquear filtros de Leica</string>
<string name="mediaeditor_unlock_leica_filter_desc">Solo en algunas versiones se funciona</string>
<string name="mediaeditor_filter_manager">Desbloquear filtros de maestro</string>
<!--Mi Share-->
<string name="mishare">Mi Share</string>
<string name="mishare_disable_mishare_auto_off">No se permite el cierre automático de Mi Share</string>
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values-in-rID/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1279,7 +1279,6 @@
<string name="mediaeditor_unlock_custom_photo_frames_title">Sesuaikan jenis bingkai</string>
<string name="mediaeditor_unlock_leica_filter_title">Buka kunci filter Leica</string>
<string name="mediaeditor_unlock_leica_filter_desc">Hanya beberapa versi yang didukung</string>
<string name="mediaeditor_filter_manager">Buka kunci manajer filter</string>
<!--Mi Share-->
<string name="mishare">Mi Share</string>
<string name="mishare_disable_mishare_auto_off">Nonaktifkan penutupan otomatis Mi Share</string>
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values-it-rIT/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1249,7 +1249,6 @@
<string name="mediaeditor_unlock_custom_photo_frames_title">Personalizza il tipo di cornice</string>
<string name="mediaeditor_unlock_leica_filter_title">Sblocca il filtro Leica</string>
<string name="mediaeditor_unlock_leica_filter_desc">Sono supportate solo alcune versioni</string>
<string name="mediaeditor_filter_manager">Sblocca la gestione filtri</string>
<!--Mi Share-->
<string name="mishare">Mi Share</string>
<string name="mishare_disable_mishare_auto_off">Disabilita la chiusura automatica di Mi Share</string>
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values-ja-rJP/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1454,7 +1454,6 @@
<string name="mediaeditor_unlock_custom_photo_frames_title">フレームの種類をカスタマイズ</string>
<string name="mediaeditor_unlock_leica_filter_title">Leica フィルターをアンロック</string>
<string name="mediaeditor_unlock_leica_filter_desc">一部のバージョンにのみ対応しています</string>
<string name="mediaeditor_filter_manager">フィルターマネージャーをアンロック</string>
<string name="mediaeditor_unlock_aigc">AIGC をアンロック</string>
<!--Mi Share-->
<string name="mishare">Mi シェア</string>
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values-pl-rPL/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1494,7 +1494,6 @@
<string name="mediaeditor_unlock_custom_photo_frames_title">Dostosuj typ ramki</string>
<string name="mediaeditor_unlock_leica_filter_title">Odblokuj filtr Leica</string>
<string name="mediaeditor_unlock_leica_filter_desc">Obsługiwane są tylko niektóre wersje</string>
<string name="mediaeditor_filter_manager">Odblokuj menedżera filtrów</string>
<string name="mediaeditor_unlock_aigc">Odblokuj AIGC</string>
<!--Mi Share-->
<string name="mishare">Mi Share</string>
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values-pt-rBR/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1494,7 +1494,6 @@
<string name="mediaeditor_unlock_custom_photo_frames_title">Personalizar tipo de moldura</string>
<string name="mediaeditor_unlock_leica_filter_title">Desbloquear filtro Leica</string>
<string name="mediaeditor_unlock_leica_filter_desc">Apenas algumas versões são suportadas</string>
<string name="mediaeditor_filter_manager">Desbloquear gerenciador de filtros</string>
<string name="mediaeditor_unlock_aigc">Desbloquear AIGC</string>
<!--Mi Share-->
<string name="mishare">Xiaomi Share</string>
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values-ru-rRU/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1494,7 +1494,6 @@
<string name="mediaeditor_unlock_custom_photo_frames_title">Изменить тип фрейма</string>
<string name="mediaeditor_unlock_leica_filter_title">Разблокировать фильтр Leica</string>
<string name="mediaeditor_unlock_leica_filter_desc">Поддерживаются только некоторые версии</string>
<string name="mediaeditor_filter_manager">Менеджер фильтров</string>
<string name="mediaeditor_unlock_aigc">Разблокировать AIGC</string>
<!--Mi Share-->
<string name="mishare">Mi Share</string>
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values-tr-rTR/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1269,7 +1269,6 @@
<string name="mediaeditor_unlock_custom_photo_frames_title">Çerçeve türünü özelleştirin</string>
<string name="mediaeditor_unlock_leica_filter_title">Leica filtresinin kilidini açın</string>
<string name="mediaeditor_unlock_leica_filter_desc">Sadece bazı sürümler destekleniyor</string>
<string name="mediaeditor_filter_manager">Filtre yöneticisinin kilidini açın</string>
<!--Mi Share-->
<string name="mishare">Mi Paylaşım</string>
<string name="mishare_disable_mishare_auto_off">Mi Paylaşımının otomatik kapanmasını devre dışı bırak</string>
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values-vi-rVN/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1500,7 +1500,6 @@ Chức năng này là chức năng thử nghiệm có độ ổn định cao</st
<string name="mediaeditor_unlock_custom_photo_frames_title">Tùy chỉnh loại khung hình</string>
<string name="mediaeditor_unlock_leica_filter_title">Mở khóa bộ lọc Leica</string>
<string name="mediaeditor_unlock_leica_filter_desc">Chỉ hỗ trợ một số phiên bản</string>
<string name="mediaeditor_filter_manager">Mở khóa bộ lọc chính</string>
<string name="mediaeditor_unlock_aigc">Mở khóa AIGC</string>
<!--Mi Share-->
<string name="mishare">Mi Share</string>
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values-zh-rCN/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1587,7 +1587,6 @@
<string name="mediaeditor_unlock_custom_photo_frames_title">定制画框类型</string>
<string name="mediaeditor_unlock_leica_filter_title">解锁 Leica 滤镜</string>
<string name="mediaeditor_unlock_leica_filter_desc">仅支持部分版本</string>
<string name="mediaeditor_filter_manager">解锁大师滤镜</string>
<string name="mediaeditor_unlock_aigc">解锁 AIGC</string>
<!--小米互传-->
<string name="mishare">小米互传</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-zh-rHK/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1356,7 +1356,7 @@
<string name="mediaeditor_unlock_custom_photo_frames_title">訂製画框類型</string>
<string name="mediaeditor_unlock_leica_filter_title">解鎖 Leica 濾鏡</string>
<string name="mediaeditor_unlock_leica_filter_desc">僅支援部分版本</string>
<string name="mediaeditor_filter_manager">解鎖大師濾鏡</string>
<string name="mediaeditor_unlock_aigc">解鎖 AIGC</string>
<!--Mi Share-->
<string name="mishare">小米互傳</string>
<string name="mishare_disable_mishare_auto_off">禁用自動關閉小米互傳</string>
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values-zh-rTW/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1494,7 +1494,6 @@
<string name="mediaeditor_unlock_custom_photo_frames_title">訂製畫框類型</string>
<string name="mediaeditor_unlock_leica_filter_title">解鎖 Leica 濾鏡</string>
<string name="mediaeditor_unlock_leica_filter_desc">僅支援部分版本</string>
<string name="mediaeditor_filter_manager">解鎖大師濾鏡</string>
<string name="mediaeditor_unlock_aigc">解鎖 AIGC</string>
<!--Mi Share-->
<string name="mishare">小米互傳</string>
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1574,7 +1574,6 @@
<string name="mediaeditor_unlock_custom_photo_frames_title">Customize the frame type</string>
<string name="mediaeditor_unlock_leica_filter_title">Unlock the Leica filter</string>
<string name="mediaeditor_unlock_leica_filter_desc">Only some versions are supported</string>
<string name="mediaeditor_filter_manager">Unlock the filter manager</string>
<string name="mediaeditor_unlock_aigc">Unlock AIGC</string>
<!--Mi Share-->
<string name="mishare">Xiaomi Share</string>
Expand Down
9 changes: 2 additions & 7 deletions app/src/main/res/xml/mediaeditor.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@
android:summary="@string/mediaeditor_unlock_leica_filter_desc"
android:title="@string/mediaeditor_unlock_leica_filter_title" />

<SwitchPreference
android:defaultValue="false"
android:key="prefs_key_mediaeditor_filter_manager"
android:title="@string/mediaeditor_filter_manager" />

<EditTextPreference
android:title="@string/camera_custom_watermark"
android:key="prefs_key_mediaeditor_custom_watermark"
Expand All @@ -50,11 +45,11 @@
</PreferenceCategory>

<PreferenceCategory android:title="@string/mediaeditor_ai_authoring">
<SwitchPreference
<!--<SwitchPreference
android:defaultValue="false"
android:key="prefs_key_mediaeditor_unlock_spring"
android:summary="@string/mediaeditor_unlock_spring_desc"
android:title="@string/mediaeditor_unlock_spring_title" />
android:title="@string/mediaeditor_unlock_spring_title" />-->

<fan.preference.DropDownPreference
android:defaultValue="0"
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ ezxhelper = "2.2.0"
hiddenapibypass = "4.3"
hooktool = "v.1.1.4"
lyricGetterApi = "6.0.0"
mmkv = "2.0.1"
mmkv = "2.0.2"

[libraries]
annotation = { module = "androidx.annotation:annotation", version.ref = "annotation" }
Expand Down
Loading