Skip to content

Instantly share code, notes, and snippets.

@hitherejoe
Created March 23, 2016 20:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hitherejoe/9e1bf7794fb280a7aeca to your computer and use it in GitHub Desktop.
Save hitherejoe/9e1bf7794fb280a7aeca to your computer and use it in GitHub Desktop.
Bundle bundle = RemoteInput.getResultsFromIntent(intent);
if (remoteInput != null) {
return bundle.getCharSequence(NotificationUtil.KEY_TEXT_REPLY);
}
@esilverberg
Copy link

Do you mean

if (bundle != null) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment