fix:修复g10上删除手动安装的应用,修复默认输入法设置问题
update:更新头像
This commit is contained in:
@@ -1310,7 +1310,11 @@ public class JGYUtils {
|
||||
//删除用户除了在应用市场的其他应用
|
||||
public void deleteOtherApp() {
|
||||
Log.e(TAG, "deleteOtherApp: " + Build.MODEL);
|
||||
if ("K106".equals(Build.MODEL)) {
|
||||
if ("K106".equalsIgnoreCase(Build.MODEL)
|
||||
||"G10".equalsIgnoreCase(Build.MODEL)
|
||||
||"G10P".equalsIgnoreCase(Build.MODEL)
|
||||
||"G10R".equalsIgnoreCase(Build.MODEL)
|
||||
) {
|
||||
return;
|
||||
}
|
||||
int locked = Settings.System.getInt(crv, JGYActions.ACTION_QCH_UNLOCK_IPAD, 0);
|
||||
@@ -2040,17 +2044,17 @@ public class JGYUtils {
|
||||
* @param pkg
|
||||
*/
|
||||
public void setDefaultDesktop(String pkg) {
|
||||
// Log.e(TAG, "setDefaultDesktop: " + pkg);
|
||||
// if (TextUtils.isEmpty(pkg)) {
|
||||
// openLauncher3();
|
||||
// } else {
|
||||
// String className = getStartClassName(pkg);
|
||||
// if (TextUtils.isEmpty(className)) {
|
||||
// openLauncher3();
|
||||
// } else {
|
||||
// setDefaultDesktop(pkg, className);
|
||||
// }
|
||||
// }
|
||||
Log.e(TAG, "setDefaultDesktop: " + pkg);
|
||||
if (TextUtils.isEmpty(pkg)) {
|
||||
openLauncher3();
|
||||
} else {
|
||||
String className = getStartClassName(pkg);
|
||||
if (TextUtils.isEmpty(className)) {
|
||||
openLauncher3();
|
||||
} else {
|
||||
setDefaultDesktop(pkg, className);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void setJxwLauncher(String pkg) {
|
||||
|
||||
Reference in New Issue
Block a user