quaap/LaunchTime

Appinfo enhancements and bug

Opened this issue · 1 comments

Appinfo shows the same info for all Activities and shortcuts belonging to a package. It would be great to see the actual Activity title (instead of the application label) as title, and see if it's a shortcut or a regular launcher (I have a pull request for this).

For certain apps, the icon takes up so much space that I can hardly see the title at all (see screenshot)
LaunchTime_Appinfo_Screenshot

I can't create a pull request without weird changes to .idea/misc.xml and .idea/modules.xml (I'm surprised those aren't in gitignore.)

I just made these changes:
to strings.xml:
<string name="link_to">Shortcut to:\n%s</string>
to AppInfo.java:

            String name = pi.applicationInfo.loadLabel(main.getPackageManager()).toString();
            String link = appitem.getLinkUri();
            if (link == null) {
                itemText.setText(name);
            } else {
                itemText.setText(main.getString(R.string.link_to, name));
                data
                        .append(main.getText(R.string.link))
                        .append(":\n")
                        .append(link)
                        .append("\n\n");
            }