手术后大便拉不出来时屏幕上名字没了,为何人还不出来

vivo的手机屏幕上为什么会有一个联系人的名字_百度知道如何将损坏屏幕的手机里的通讯录(通讯人名字与手机号码)导出_百度知道电脑这是怎么回事时间语言都没了屏幕变长了,倾斜了,上面浏览器名字也看不到了跑上面去了,桌面图标也跑_百度知道切换语言后,桌面上的快捷方式名称没有切换到当前语言
这个是google默认设计,如果要修改的话,请按照以下步骤操作:
1、请修改LauncherModel.java的loadWorkspace()方法,修改为如下:
&&&&&&&&&&&&&&&&&&&&&&&&&&&& if (itemType == LauncherSettings.Favorites.ITEM_TYPE_APPLICATION) {
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& info = getShortcutInfo(manager, intent, context, c, iconIndex,
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& titleIndex, mLabelCache);
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& } else {
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& info = getShortcutInfo(c, context, iconTypeIndex,
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& iconPackageIndex, iconResourceIndex, iconIndex,
&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&titleIndex);
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&//mtk add begin
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& CharSequence title = getShortcutTitle(manager, intent);
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& if(title != null ){
&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&& info.title =
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& }
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& //mtk add end
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& // App shortcuts that used to be automatically added to Launcher
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&// didn't always have the correct intent flags set, so do that
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& // here
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& if (intent.getAction() != null &&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& intent.getCategories() != null &&
&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&intent.getAction().equals(Intent.ACTION_MAIN) &&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& intent.getCategories().contains(Intent.CATEGORY_LAUNCHER)) {
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& intent.addFlags(
&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&Intent.FLAG_ACTIVITY_NEW_TASK |
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED);
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& }
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& }
2、请在LauncherModel.java增加如下方法:
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&private CharSequence getShortcutTitle(PackageManager manager, Intent intent) {
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& ComponentName componentName = intent.getComponent();
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& if (componentName == null) {
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& }
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& try {
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& PackageInfo pi = manager.getPackageInfo( componentName.getPackageName(), 0);
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& if (!pi.applicationInfo.enabled) {
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& // If we return null here, the corresponding item will be
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& // removed from the launcher
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& // db and will not appear in the workspace.
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& }
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& } catch (NameNotFoundException e) {
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& Log.d(TAG, &getPackInfo failed for package & + componentName.getPackageName());
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& }
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& ResolveInfo resolveInfo = manager.resolveActivity(intent, 0);
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& if (resolveInfo != null) {
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& return resolveInfo.activityInfo.loadLabel(manager);
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& }
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& }
PS:标注为黄色的代码即为修改的代码
参考知识库
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:10271次
排名:千里之外
转载:15篇
(1)(5)(2)(5)(5)(1)(1)(1)(1)小屏幕电脑创建人物时看不见名字怎么办_百度知道}

我要回帖

更多关于 包皮手术后撸不出来 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信