Skip to content

Commit

Permalink
Merge branch 'master' into TIMOB-27248
Browse files Browse the repository at this point in the history
  • Loading branch information
sgtcoolguy committed Jul 26, 2019
2 parents c79da12 + 5cce76e commit 2de0368
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion android/cli/commands/_build.js
Original file line number Diff line number Diff line change
Expand Up @@ -3901,7 +3901,7 @@ AndroidBuilder.prototype.generateAndroidManifest = function generateAndroidManif
// Must be done last so app developer can override manifest settings such as <activity/>, <receiver/>, etc.
finalAndroidManifest.merge(tiappAndroidManifest);

if (this.realTargetSDK >= 24 && !finalAndroidManifest.application.hasOwnProperty('resizeableActivity')) {
if (this.realTargetSDK >= 24 && !Object.prototype.hasOwnProperty.call(finalAndroidManifest.application, 'resizeableActivity')) {
finalAndroidManifest.application.resizeableActivity = true;
}

Expand Down
5 changes: 4 additions & 1 deletion iphone/Classes/CalendarModule.m
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,10 @@ - (void)requestAuthorization:(JSValue *)callback forEntityType:(EKEntityType)ent
} else {
propertiesDict = [TiUtils dictionaryWithCode:[error code] message:[TiUtils messageFromError:error]];
}
[callback callWithArguments:@[ propertiesDict ]];
TiThreadPerformOnMainThread(^{
[callback callWithArguments:@[ propertiesDict ]];
},
[NSThread isMainThread]);
}];
},
NO);
Expand Down

0 comments on commit 2de0368

Please sign in to comment.