diff --git a/CHANGELOG.md b/CHANGELOG.md index e9b41a2a..8cebf962 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - EdgeToEdge mode is enabled on the Easter Egg pages - Upgrade project dependencies +- Known issue fixes ### v3.3.0 (2024-12-20) diff --git a/CHANGELOG_zh.md b/CHANGELOG_zh.md index 22c69fed..053356d5 100644 --- a/CHANGELOG_zh.md +++ b/CHANGELOG_zh.md @@ -4,6 +4,7 @@ - 彩蛋相关页面开启了 EdgeToEdge 模式 - 升级项目依赖项 +- 修复已知问题 ### v3.3.0 (2024-12-20) diff --git a/basic/consumer-rules.pro b/basic/consumer-rules.pro index 993156d4..5b602b63 100644 --- a/basic/consumer-rules.pro +++ b/basic/consumer-rules.pro @@ -6,4 +6,6 @@ # EdgeToEdgeCompat -keep class androidx.activity.EdgeToEdgeImpl { *; } -keep class * extends androidx.activity.EdgeToEdgeImpl { *; } --keep class com.google.android.material.internal.EdgeToEdgeUtils { *; } +-keep class com.google.android.material.internal.EdgeToEdgeUtils { + public static ; +} diff --git a/core/shortcut/src/main/java/com/dede/android_eggs/views/main/util/EasterEggShortcutsHelp.kt b/core/shortcut/src/main/java/com/dede/android_eggs/views/main/util/EasterEggShortcutsHelp.kt index d2b97dc7..92fb384c 100644 --- a/core/shortcut/src/main/java/com/dede/android_eggs/views/main/util/EasterEggShortcutsHelp.kt +++ b/core/shortcut/src/main/java/com/dede/android_eggs/views/main/util/EasterEggShortcutsHelp.kt @@ -132,12 +132,16 @@ object EasterEggShortcutsHelp { val shortcutId = FORMAT_PIN_SHORTCUT_ID.format(egg.apiLevel) val shortcut = createShortcutInfo(context, shortcutId, egg, true) val callback = PinShortcutReceiver.registerCallbackWithTimeout(context) - ShortcutManagerCompat.requestPinShortcut(context, shortcut, callback) + cachedExecutor.execute { + ShortcutManagerCompat.requestPinShortcut(context, shortcut, callback) + } } fun autoReportShortcutUsed(context: Context, intent: Intent) { val shortcutId = intent.getStringExtra(EXTRA_SHORTCUT_ID) ?: return - ShortcutManagerCompat.reportShortcutUsed(context, shortcutId) + cachedExecutor.execute { + ShortcutManagerCompat.reportShortcutUsed(context, shortcutId) + } } private class PinShortcutReceiver : BroadcastReceiver() { diff --git a/fastlane/metadata/android/en-US/changelogs/58.txt b/fastlane/metadata/android/en-US/changelogs/58.txt index 33979a55..95ea7c79 100644 --- a/fastlane/metadata/android/en-US/changelogs/58.txt +++ b/fastlane/metadata/android/en-US/changelogs/58.txt @@ -1,2 +1,3 @@ - EdgeToEdge mode is enabled on the Easter Egg pages -- Upgrade project dependencies \ No newline at end of file +- Upgrade project dependencies +- Known issue fixes \ No newline at end of file diff --git a/fastlane/metadata/android/zh-CN/changelogs/58.txt b/fastlane/metadata/android/zh-CN/changelogs/58.txt index 51f20ebb..fed90145 100644 --- a/fastlane/metadata/android/zh-CN/changelogs/58.txt +++ b/fastlane/metadata/android/zh-CN/changelogs/58.txt @@ -1,2 +1,3 @@ - 彩蛋相关页面开启了 EdgeToEdge 模式 -- 升级项目依赖项 \ No newline at end of file +- 升级项目依赖项 +- 修复已知问题 \ No newline at end of file