store "App Label" for Installed Apps, to show in Local Repo setup
authorHans-Christoph Steiner <hans@eds.org>
Wed, 7 May 2014 03:13:59 +0000 (23:13 -0400)
committerHans-Christoph Steiner <hans@eds.org>
Wed, 7 May 2014 23:16:45 +0000 (19:16 -0400)
commit584152d2fa25b32c304e7e5899a0d0b2365bbfb3
tree326a6979574ec8c4397e3131fa9d8864a234b2b2
parent3c005006ce2f9f608430bd5860729ab4799c5ecd
store "App Label" for Installed Apps, to show in Local Repo setup

Most people are going to know the "label" i.e. the display name rather than
the packageName/id.  So also store the label in the database and make it
accessible via InstalledAppsProvider so SelectLocalAppsFragment can show a
list of friendly names rather than packageNames.
src/org/fdroid/fdroid/PackageAddedReceiver.java
src/org/fdroid/fdroid/PackageUpgradedReceiver.java
src/org/fdroid/fdroid/data/DBHelper.java
src/org/fdroid/fdroid/data/InstalledAppCacheUpdater.java
src/org/fdroid/fdroid/data/InstalledAppProvider.java
src/org/fdroid/fdroid/views/fragments/SelectLocalAppsFragment.java
test/src/org/fdroid/fdroid/FDroidProviderTest.java