Mercurial > 510Connectbot
diff src/com/five_ten_sg/connectbot/service/ConnectionNotifier.java @ 172:cb9e359ea2bd
add switch session command from the monitor
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Tue, 01 Jul 2014 20:07:12 -0700 |
parents | 0ce5cc452d02 |
children |
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/service/ConnectionNotifier.java Sun Jun 29 12:41:26 2014 -0700 +++ b/src/com/five_ten_sg/connectbot/service/ConnectionNotifier.java Tue Jul 01 20:07:12 2014 -0700 @@ -56,7 +56,7 @@ String contentText = res.getString( R.string.notification_text, host.getNickname()); Intent notificationIntent = new Intent(context, ConsoleActivity.class); - notificationIntent.setAction("android.intent.action.VIEW"); + notificationIntent.setAction(Intent.ACTION_VIEW); notificationIntent.setData(host.getUri()); PendingIntent contentIntent = PendingIntent.getActivity(context, 0, notificationIntent, 0);