Skip to content

Commit

Permalink
Version_info cleanup
Browse files Browse the repository at this point in the history
Issue #618
  • Loading branch information
mendhak committed Feb 11, 2018
1 parent 406fa3e commit 8319235
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ public void onCreate(Bundle savedInstanceState) {
try {

aboutInfo.setTitle("GPSLogger version " + getActivity().getPackageManager().getPackageInfo(getActivity().getPackageName(), 0).versionName);
aboutInfo.setOnPreferenceClickListener(this);
} catch (PackageManager.NameNotFoundException e) {
}
}
Expand Down Expand Up @@ -147,16 +146,6 @@ public boolean onPreferenceClick(Preference preference) {
return true;
}

if (preference.getKey().equals("about_version_info")) {
aboutClickCounter++;

if (aboutClickCounter == 3) {
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("vnd.youtube://dQw4w9WgXcQ"));
intent.putExtra("force_fullscreen",true);
startActivity(intent);
}

}
return false;
}

Expand Down

0 comments on commit 8319235

Please sign in to comment.