mirror of
https://gitea.winboll.cc/Studio/WinBoLL.git
synced 2026-08-15 05:52:10 +08:00
fix(appbase): 桌面快捷菜单仅beta版显示
setupShortcuts()添加包名判断,仅当应用包名为 "cc.winboll.studio.appbase.beta"时才注册邮件设置快捷菜单
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
#Created by .winboll/winboll_app_build.gradle
|
#Created by .winboll/winboll_app_build.gradle
|
||||||
#Tue Jul 21 13:37:58 HKT 2026
|
#Tue Jul 21 13:53:47 HKT 2026
|
||||||
stageCount=2
|
stageCount=2
|
||||||
libraryProject=libappbase
|
libraryProject=libappbase
|
||||||
baseVersion=15.21
|
baseVersion=15.21
|
||||||
publishVersion=15.21.1
|
publishVersion=15.21.1
|
||||||
buildCount=9
|
buildCount=11
|
||||||
baseBetaVersion=15.21.2
|
baseBetaVersion=15.21.2
|
||||||
|
|||||||
@@ -71,6 +71,10 @@ public class MainActivity extends Activity {
|
|||||||
* 长按桌面图标后显示快捷菜单,点击可直接打开异常邮件接收设置页面
|
* 长按桌面图标后显示快捷菜单,点击可直接打开异常邮件接收设置页面
|
||||||
*/
|
*/
|
||||||
private void setupShortcuts() {
|
private void setupShortcuts() {
|
||||||
|
if (!"cc.winboll.studio.appbase.beta".equals(getPackageName())) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
ShortcutManager shortcutManager = getSystemService(ShortcutManager.class);
|
ShortcutManager shortcutManager = getSystemService(ShortcutManager.class);
|
||||||
if (shortcutManager == null) {
|
if (shortcutManager == null) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
#Created by .winboll/winboll_app_build.gradle
|
#Created by .winboll/winboll_app_build.gradle
|
||||||
#Tue Jul 21 13:37:58 HKT 2026
|
#Tue Jul 21 13:53:47 HKT 2026
|
||||||
stageCount=2
|
stageCount=2
|
||||||
libraryProject=libappbase
|
libraryProject=libappbase
|
||||||
baseVersion=15.21
|
baseVersion=15.21
|
||||||
publishVersion=15.21.1
|
publishVersion=15.21.1
|
||||||
buildCount=9
|
buildCount=11
|
||||||
baseBetaVersion=15.21.2
|
baseBetaVersion=15.21.2
|
||||||
|
|||||||
Reference in New Issue
Block a user