Skip to content

Commit

Permalink
just cleaned up unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff_drake committed Sep 4, 2014
1 parent 047e231 commit d7be5c6
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ public boolean onOptionsItemSelected(MenuItem item) {
public void buttonPressed(View view) {

String replyLabel = getResources().getString(R.string.app_name);

RemoteInput remoteInput = new RemoteInput.Builder(getResources().getString(R.string.EXTRA_VOICE_REPLY))
.setLabel(replyLabel)
.build();
Expand All @@ -70,7 +69,6 @@ public void buttonPressed(View view) {
PendingIntent viewPendingIntent =
PendingIntent.getActivity(this, 0, replyIntent, 0);


// Create the reply action and add the remote input
NotificationCompat.Action action =
new NotificationCompat.Action.Builder(R.drawable.ic_launcher_1b, getString(R.string.app_name), viewPendingIntent).addRemoteInput(remoteInput).build();
Expand All @@ -87,12 +85,8 @@ public void buttonPressed(View view) {
// Get an instance of the NotificationManager service
NotificationManagerCompat notificationManager =
NotificationManagerCompat.from(getApplicationContext());

// Build the notification and issues it with notification manager.
//notificationManager.notify(notificationId, notificationBuilder.build());
notificationManager.notify(notificationId, notification);

//startActivity(intent);

}
}

0 comments on commit d7be5c6

Please sign in to comment.