code: private SessionData loadSession() {
  
          synchronized (sharedLock) {
              SharedPreferences sharedPreferences = getSharedPreferences();
              String id = sharedPreferences.getString(KEY_PROFILE_ID, null);
              if (!TextUtils.isEmpty(id)) {
                  sharedLock.notifyAll();
                  return new SessionData()
                          .setProfileId(id)
                          .setSessionId(sharedPreferences.getString(KEY_SESSION_ID, null))
                          .setAccessToken(sharedPreferences.getString(KEY_ACCESS_TOKEN, null))
                          .setExpiresOn(sharedPreferences.getLong(KEY_EXPIRES_ON, 0));
              }
              sharedLock.notifyAll();
          }
  
          return null;
      }
docs: Loads active session details from internal storage.
  
  @return Loaded session details.