Skip to content

Commit

Permalink
Make getContext and clearUser static methods (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pezzah authored and kattrali committed Oct 26, 2016
1 parent 9194fb8 commit 7607340
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/bugsnag/android/Bugsnag.java
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public static void setAppVersion(final String appVersion) {
* Gets the context to be sent to Bugsnag.
* @return Context
*/
public String getContext() {
public static String getContext() {
return getClient().getContext();
}

Expand Down Expand Up @@ -218,7 +218,7 @@ public static void setUser(final String id, final String email, final String nam
/**
* Removes the current user data and sets it back to defaults
*/
public void clearUser() {
public static void clearUser() {
getClient().clearUser();
}

Expand Down

0 comments on commit 7607340

Please sign in to comment.