File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed
java/rectangledbmi/com/pittsburghrealtimetracker Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -460,4 +460,14 @@ public void onClickDetourInfo(MenuItem item) {
460460 public void onClickAppDetails (MenuItem item ) {
461461 openPermissionsPage ();
462462 }
463+
464+ private void openNoBusesWebpage () {
465+ Uri url = Uri .parse ("https://github.com/rectangle-dbmi/Realtime-Port-Authority/wiki/Port-Authority-Server-Downtimes" );
466+ Intent internetBrowser = new Intent (Intent .ACTION_VIEW , url );
467+ startActivity (internetBrowser );
468+ }
469+
470+ public void onClickNoBuses (MenuItem item ) {
471+ openNoBusesWebpage ();
472+ }
463473}
Original file line number Diff line number Diff line change 2323 android : title =" @string/action_about"
2424 android : orderInCategory =" 400"
2525 appcompat : showAsAction =" never" />
26+ <item android : id =" @+id/no_buses"
27+ android : title =" @string/servers_down_title"
28+ android : orderInCategory =" 500"
29+ appcompat : showAsAction =" never"
30+ android : onClick =" onClickNoBuses" />
2631
2732</menu >
You can’t perform that action at this time.
0 commit comments