Skip to content

Commit

Permalink
Remove references to the now defunct Google+.
Browse files Browse the repository at this point in the history
  • Loading branch information
GeoffChurch committed Jun 12, 2021
1 parent 309b19d commit 464f375
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ public class Preferences extends PreferenceActivity {
public static final String PREFERENCE_MARGIN_X = "preference_margin_x";
public static final String PREFERENCE_MARGIN_Y = "preference_margin_y";
public static final String PREFERENCE_LOCKED = "preference_locked";
private static final String PREFERENCE_GOOGLE_PLUS = "preference_google_plus";
private static final String PREFERENCE_GITHUB = "preference_github";
private static final String PREFERENCE_ABOUT = "preference_about";

Expand All @@ -71,20 +70,6 @@ public boolean onPreferenceChange(Preference preference, Object newValue) {
}
});

findPreference(PREFERENCE_GOOGLE_PLUS).setOnPreferenceClickListener(new Preference.OnPreferenceClickListener() {
@Override
public boolean onPreferenceClick(Preference preference) {
try {
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("https://plus.google.com/b/104214327962194685169/104214327962194685169/posts")));
} catch (Exception e) {
e.printStackTrace();
Toast.makeText(getApplicationContext(),
String.format(getString(R.string.error_opening_link), "Google+", e.getMessage()),
Toast.LENGTH_LONG).show();
}
return (true);
}
});
findPreference(PREFERENCE_GITHUB).setOnPreferenceClickListener(new Preference.OnPreferenceClickListener() {
@Override
public boolean onPreferenceClick(Preference preference) {
Expand Down
1 change: 0 additions & 1 deletion launcher/src/main/res/values/notrans.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

<resources>
<string name="app_name" translatable="false">Simple TV Launcher</string>
<string name="title_google_plus" translatable="false">Google+</string>
<string name="test_clock" translatable="false">00:00</string>
<string name="test_battery" translatable="false">42%</string>
<string name="test_date" translatable="false">Sunday 1, January</string>
Expand Down
4 changes: 0 additions & 4 deletions launcher/src/main/res/xml/preferences.xml
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,6 @@
<Preference
android:key="preference_about"
android:title="@string/app_name"/>
<Preference
android:key="preference_google_plus"
android:title="@string/title_google_plus">
</Preference>
<Preference
android:key="preference_github"
android:title="@string/title_github">
Expand Down

0 comments on commit 464f375

Please sign in to comment.