Fix: "Cannot begin activity without reason string or empty reason string" (#3197)
This commit is contained in:
parent
d31254df50
commit
84195254ec
|
@ -778,7 +778,7 @@ static void removeKeRangerRansomware()
|
|||
NSApp.servicesProvider = self;
|
||||
|
||||
self.fNoNapActivity = [NSProcessInfo.processInfo beginActivityWithOptions:NSActivityUserInitiatedAllowingIdleSystemSleep
|
||||
reason:NSLocalizedString(@"No napping on the job!", nil)];
|
||||
reason:@"No napping on the job!"];
|
||||
|
||||
//register for dock icon drags (has to be in applicationDidFinishLaunching: to work)
|
||||
[[NSAppleEventManager sharedAppleEventManager] setEventHandler:self andSelector:@selector(handleOpenContentsEvent:replyEvent:)
|
||||
|
|
Loading…
Reference in New Issue