public VideoController(Activity activity, string activtyName) { try { DEFAULT_COOKIE_MANAGER = new CookieManager(); DEFAULT_COOKIE_MANAGER.SetCookiePolicy(CookiePolicy.AcceptOriginalServer); ActivityName = activtyName; ActivityContext = activity; Initialize(); } catch (Exception exception) { Crashes.TrackError(exception); } }
static PlayerActivity() { DefaultCookieManager = new CookieManager(); DefaultCookieManager.SetCookiePolicy(CookiePolicy.AcceptOriginalServer); }