Skip to content

Commit

Permalink
Remove extra VPN background refresh waitlist code.
Browse files Browse the repository at this point in the history
  • Loading branch information
samsymons authored and quanganhdo committed Apr 4, 2024
1 parent 5799ff9 commit ae15d73
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions DuckDuckGo/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -303,12 +303,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
// Having both in `didBecomeActive` can sometimes cause the exception when running on a physical device, so registration happens here.
AppConfigurationFetch.registerBackgroundRefreshTaskHandler()

#if NETWORK_PROTECTION
if vpnFeatureVisibility.shouldKeepVPNAccessViaWaitlist() {
VPNWaitlist.shared.registerBackgroundRefreshTaskHandler()
}
#endif

RemoteMessaging.registerBackgroundRefreshTaskHandler(
bookmarksDatabase: bookmarksDatabase,
favoritesDisplayMode: AppDependencyProvider.shared.appSettings.favoritesDisplayMode
Expand Down
1 change: 0 additions & 1 deletion DuckDuckGo/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<dict>
<key>BGTaskSchedulerPermittedIdentifiers</key>
<array>
<string>com.duckduckgo.app.vpnWaitlistStatus</string>
<string>com.duckduckgo.app.configurationRefresh</string>
<string>com.duckduckgo.app.remoteMessageRefresh</string>
</array>
Expand Down

0 comments on commit ae15d73

Please sign in to comment.