Skip to content

Instantly share code, notes, and snippets.

@jezinka
Created August 18, 2018 11:37
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 jezinka/f58fbcf935dd8b3f2e6b2caa94c63a7d to your computer and use it in GitHub Desktop.
Save jezinka/f58fbcf935dd8b3f2e6b2caa94c63a7d to your computer and use it in GitHub Desktop.
@Override
protected void onHandleIntent(@Nullable Intent intent) {
if (intent != null) {
final String action = intent.getAction();
if (ACTION_UPDATE_WIDGET.equals(action) || ACTION_REFRESH_WIDGET.equals(action)) {
refreshWidget();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment