summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--base/mac/foundation_util.mm4
1 files changed, 1 insertions, 3 deletions
diff --git a/base/mac/foundation_util.mm b/base/mac/foundation_util.mm
index 7ea2b3a..7a777dd 100644
--- a/base/mac/foundation_util.mm
+++ b/base/mac/foundation_util.mm
@@ -63,9 +63,7 @@ bool IsBackgroundOnlyProcess() {
// at the actual running .app's Info.plist to access its LSBackgroundOnly
// property.
NSDictionary* info_dictionary = [[NSBundle mainBundle] infoDictionary];
-// return [[info_dictionary objectForKey:@"LSBackgroundOnly"] boolValue] != NO;
- return ([[info_dictionary objectForKey:@"LSBackgroundOnly"] boolValue] != NO) ||
- ([[info_dictionary objectForKey:@"MMForDemo"] boolValue] != NO);
+ return [[info_dictionary objectForKey:@"LSBackgroundOnly"] boolValue] != NO;
}
// No threading worries since NSBundle isn't thread safe.