fdroiddata/metadata/com.manor.currentwidget/rm_one_plus.patch

40 lines
1.6 KiB
Diff
Raw Normal View History

2015-03-11 12:09:57 +00:00
diff --git a/CurrentWidgetLibrary/res/xml/prefs.xml b/CurrentWidgetLibrary/res/xml/prefs.xml
index fb7bb6a..6036b47 100644
--- a/CurrentWidgetLibrary/res/xml/prefs.xml
+++ b/CurrentWidgetLibrary/res/xml/prefs.xml
@@ -220,12 +220,6 @@
</PreferenceScreen>
</PreferenceCategory>
<PreferenceCategory android:title="About" >
- <com.manor.currentwidget.library.PlusOnePreference
- android:key="rate"
- android:selectable="true"
- android:title="Rate CurrentWidget"
- android:widgetLayout="@layout/plusone_pref" />
-
<Preference
android:key="moreApps"
android:summary="Browse for more applications"
@@ -304,4 +298,4 @@
</PreferenceScreen>
</PreferenceCategory>
-</PreferenceScreen>
\ No newline at end of file
+</PreferenceScreen>
diff --git a/CurrentWidgetLibrary/src/com/manor/currentwidget/library/CurrentWidgetConfigure.java b/CurrentWidgetLibrary/src/com/manor/currentwidget/library/CurrentWidgetConfigure.java
index da0c85f..897ed60 100644
--- a/CurrentWidgetLibrary/src/com/manor/currentwidget/library/CurrentWidgetConfigure.java
+++ b/CurrentWidgetLibrary/src/com/manor/currentwidget/library/CurrentWidgetConfigure.java
@@ -92,10 +92,6 @@ public class CurrentWidgetConfigure extends PreferenceActivity implements
super.onResume();
getPreferenceScreen().getSharedPreferences()
.registerOnSharedPreferenceChangeListener(this);
- PlusOnePreference p = ((PlusOnePreference)findPreference("rate"));
- if (p != null) {
- p.Initialize();
- }
}
@SuppressWarnings("deprecation")