summaryrefslogtreecommitdiffstats
path: root/src/org
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-02-18 02:30:56 +0100
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-02-18 02:30:56 +0100
commita3f27ce3233c860c395b496fae4c3aae11e0d0bc (patch)
treed855871fbc28f60675eddbedb5056d41390632e4 /src/org
parentee16badaeaf35db7d1fddf88b1866aa6de0de431 (diff)
downloadpackages_apps_ThemeChooser-a3f27ce3233c860c395b496fae4c3aae11e0d0bc.zip
packages_apps_ThemeChooser-a3f27ce3233c860c395b496fae4c3aae11e0d0bc.tar.gz
packages_apps_ThemeChooser-a3f27ce3233c860c395b496fae4c3aae11e0d0bc.tar.bz2
use F-Droid and only F-Droid for searching themes
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
Diffstat (limited to 'src/org')
-rw-r--r--src/org/cyanogenmod/theme/chooser2/ChooserActivity.java11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/org/cyanogenmod/theme/chooser2/ChooserActivity.java b/src/org/cyanogenmod/theme/chooser2/ChooserActivity.java
index 3e63dfa..6ce5abf 100644
--- a/src/org/cyanogenmod/theme/chooser2/ChooserActivity.java
+++ b/src/org/cyanogenmod/theme/chooser2/ChooserActivity.java
@@ -318,7 +318,6 @@ public class ChooserActivity extends FragmentActivity
private void lauchGetThemes() {
String playStoreUrl = getString(R.string.play_store_url);
- String wikiUrl = getString(R.string.wiki_url);
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setData(Uri.parse(playStoreUrl));
@@ -327,14 +326,8 @@ public class ChooserActivity extends FragmentActivity
if (intent.resolveActivity(getPackageManager()) != null) {
startActivity(intent);
} else {
- // If no play store, try to open wiki url
- intent.setData(Uri.parse(wikiUrl));
- if (intent.resolveActivity(getPackageManager()) != null) {
- startActivity(intent);
- } else {
- Toast.makeText(this, R.string.get_more_app_not_available,
- Toast.LENGTH_LONG).show();
- }
+ Toast.makeText(this, R.string.get_more_app_not_available,
+ Toast.LENGTH_LONG).show();
}
}