-
Notifications
You must be signed in to change notification settings - Fork 290
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2adbd85
commit 2e3d68d
Showing
106 changed files
with
2,770 additions
and
3,032 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
香港 | ||
记者 | ||
连任 | ||
吼啊 | ||
鸭嘴笔 | ||
董建华 | ||
张宝华 | ||
tooYoung | ||
tooSimple | ||
当然啦 | ||
上海交大 | ||
学习一个 | ||
身经百战 | ||
见得多了 | ||
谈笑风生 | ||
sometimesNaive | ||
朱物华校长 | ||
张钟俊院长 | ||
你们还是要 | ||
有事找大哥 | ||
董先生连任 | ||
搞个大新闻 | ||
applyForProfessor | ||
youMeanImADictator | ||
美国的华莱士 | ||
识得唔识得啊 | ||
跑得比谁都快 | ||
你们呀Naive | ||
苟利国家生死以 | ||
岂因祸福避趋之 | ||
不是我要钦点他 | ||
不知高到哪里去 | ||
一点人生的经验 | ||
闷声大发财 | ||
微电子工业的发展 | ||
他们这里洋文好的人多得很呐 | ||
西方的那一个国家我没有去过 | ||
你们毕竟还TooYoung明白这意思吗 | ||
能源与发展趋势的主要节能措施 | ||
搞来搞去还是图样图森破i上台拿衣服 | ||
将来如果在报道上有偏差i你们要负责 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 26 additions & 14 deletions
40
app/src/main/java/io/virtualapp/home/ShortcutAppActivity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,54 @@ | ||
package io.virtualapp.home; | ||
|
||
import androidx.appcompat.app.AppCompatActivity; | ||
import android.content.Intent; | ||
import android.os.Bundle; | ||
|
||
import io.virtualapp.R; | ||
import io.virtualapp.home.repo.XAppDataInstalled; | ||
import androidx.appcompat.app.AppCompatActivity; | ||
|
||
import com.lody.virtual.client.core.VirtualCore; | ||
import com.lody.virtual.client.ipc.VActivityManager; | ||
|
||
public class ShortcutAppActivity extends AppCompatActivity | ||
{ | ||
private static void launchActivity(String szPackageName, Integer nUserId) | ||
{ | ||
try { | ||
Intent intent = VirtualCore.get().getLaunchIntent(szPackageName, nUserId); | ||
intent.setSelector(null); | ||
VActivityManager.get().startActivity(intent, nUserId); | ||
} catch (Throwable ignored) { | ||
ignored.printStackTrace(); | ||
} | ||
} | ||
|
||
@Override | ||
protected void onCreate(Bundle savedInstanceState) | ||
{ | ||
super.onCreate(savedInstanceState); | ||
setContentView(R.layout.activity_shortcut_app); | ||
finish(); | ||
Bundle lpBundle = getIntent().getExtras(); | ||
while(lpBundle!=null) | ||
if(lpBundle!=null) | ||
{ | ||
try | ||
{ | ||
// Fix android O shortcut by Saurik QQ 384550791 | ||
String pIntentInvoke = lpBundle.getString("pArgsToLaunch"); | ||
getIntent().removeExtra("pArgsToLaunch"); | ||
if (pIntentInvoke == null) | ||
String szPackage = lpBundle.getString("pArgsToLaunch"); | ||
if (szPackage == null) | ||
{ | ||
break; | ||
throw new ClassNotFoundException("Can not found args"); | ||
} | ||
int dwUserID = lpBundle.getInt("dwUserID"); | ||
XAppDataInstalled lpAppInfo = new XAppDataInstalled(); | ||
lpAppInfo.pkgName = pIntentInvoke; | ||
LoadingActivity.launch(ShortcutAppActivity.this,pIntentInvoke,dwUserID); | ||
//XAppDataInstalled lpAppInfo = new XAppDataInstalled(); | ||
//lpAppInfo.pkgName = pIntentInvoke; | ||
// LoadingActivity.launch(ShortcutAppActivity.this,pIntentInvoke,dwUserID); | ||
launchActivity(szPackage,dwUserID); | ||
return; | ||
} | ||
catch(Throwable e) | ||
{ | ||
e.printStackTrace(); | ||
} | ||
break; | ||
} | ||
finish(); | ||
launchActivity("com.tencent.mm",0); | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,7 +48,7 @@ | |
<string name="ensurerestart">真的要重启吗?请确保已经保存好数据。</string> | ||
<string name="manualpath">手动选择路径安装</string> | ||
<string name="appInstallTip">正在安装应用,稍后请下拉桌面以刷新应用列表。</string> | ||
<string name="about_info">"特别感谢甘!##SandVXP是一个应用程序,可以让用户在非Root和非引导加载程序解锁设备上使用Xposed模块。##将应用程序和模块添加或克隆到这个应用程序中,然后在菜单的“Xposed管理器”中启用它,应用和模块就可以工作了。##QQ 384550791##邮箱: [email protected]##网址https://www.die.lu/ "</string> | ||
<string name="about_info">"特别感谢甘!##SandVXP是一个应用程序,可以让用户在非Root和非引导加载程序解锁设备上使用Xposed模块。##将应用程序和模块添加或克隆到这个应用程序中,然后在菜单的“Xposed管理器”中启用它,应用和模块就可以工作了。##QQ 2737996094##邮箱: [email protected]##网址https://www.die.lu/ "</string> | ||
<string name="launch_failed">抱歉,启动失败。</string> | ||
<string name="sys_crash">应用程序发生异常,已被捕捉,请留意。</string> | ||
<string name="rom_shortcut_tips">检测到您的机型必须手动允许快捷方式的创建,请到系统设置->应用->权限管理,找到本应用,开启快捷方式权限。</string> | ||
|
@@ -111,7 +111,7 @@ | |
<string name="sk_upgrade_localapp">默认会更新所有克隆的应用(会被更新到与本机安装版本相同),如果需要取消更新,请点击列表里面的项目。点击以后可以取消该应用的更新同步。</string> | ||
<string name="clear_data">删除数据</string> | ||
<string name="title_activity_app_data_manager">应用数据管理</string> | ||
<string name="update_tips">更新日志:加入脱壳功能,修复部分问题。</string> | ||
<string name="update_tips">更新日志:支持安卓11,修复部分问题。</string> | ||
<string name="enable_wakeup">应用唤醒设置</string> | ||
<string name="wake_up_setting">启用或者禁用程序唤醒(切断唤醒)</string> | ||
<string name="shared_to_inner_app">分享到SVXP内部的应用</string> | ||
|
Oops, something went wrong.