Added deprecated method to Session to avoid breaking changes
@@ -95,6 +95,11 @@ public final class Session extends ApplicationModule implements AmountComponent
super(context);
}
+ @Deprecated
+ public static Session getSession(final Context context) {
+ return getInstance();
+ }
+
public static Session getInstance() {
if (instance == null) {
throw new IllegalStateException(
