Loading core/src/main/kotlin/foundation/e/accountmanager/utils/AccountHelper.kt +5 −5 Original line number Diff line number Diff line Loading @@ -80,11 +80,11 @@ object AccountHelper { context.sendBroadcast(intent, ACCOUNT_EVENTS_PERMISSION) } fun notifyAccountRemoved(context: Context, intent: Intent) { val intent = Intent(ACTION_ACCOUNT_REMOVED) intent.addFlags(Intent.FLAG_INCLUDE_STOPPED_PACKAGES) intent.putExtras(intent) context.sendBroadcast(intent, ACCOUNT_EVENTS_PERMISSION) fun notifyAccountRemoved(context: Context, sourceIntent: Intent) { val broadcastIntent = Intent(ACTION_ACCOUNT_REMOVED) broadcastIntent.addFlags(Intent.FLAG_INCLUDE_STOPPED_PACKAGES) broadcastIntent.putExtras(sourceIntent) context.sendBroadcast(broadcastIntent, ACCOUNT_EVENTS_PERMISSION) } fun scheduleSyncWithDelay(context: Context) { Loading Loading
core/src/main/kotlin/foundation/e/accountmanager/utils/AccountHelper.kt +5 −5 Original line number Diff line number Diff line Loading @@ -80,11 +80,11 @@ object AccountHelper { context.sendBroadcast(intent, ACCOUNT_EVENTS_PERMISSION) } fun notifyAccountRemoved(context: Context, intent: Intent) { val intent = Intent(ACTION_ACCOUNT_REMOVED) intent.addFlags(Intent.FLAG_INCLUDE_STOPPED_PACKAGES) intent.putExtras(intent) context.sendBroadcast(intent, ACCOUNT_EVENTS_PERMISSION) fun notifyAccountRemoved(context: Context, sourceIntent: Intent) { val broadcastIntent = Intent(ACTION_ACCOUNT_REMOVED) broadcastIntent.addFlags(Intent.FLAG_INCLUDE_STOPPED_PACKAGES) broadcastIntent.putExtras(sourceIntent) context.sendBroadcast(broadcastIntent, ACCOUNT_EVENTS_PERMISSION) } fun scheduleSyncWithDelay(context: Context) { Loading