-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(android)(8_0_X): Improved merge of "tiapp.xml" android manifest s…
…ettings (#10900) * [TIMOB-26778] Android: Improved merge of "tiapp.xml" file's android manifest settings into Titanium's default manifest settings - [TIMOB-26778] Fixed bug where overriding an <activity/> in "tiapp.xml" caused most "configChanges" values to be lost. * Would cause activity window's UI to disappear if a system config change occurred dynamically. - [TIMOB-26777] Fixed bug where connecting/disconnecting a physical keyboard to/from device caused UI to disappear. - [TIMOB-27067] Fixed bug where UI sometimes disappears on Android 9.0 or higher when batter saver turns on/off. - Added missing <activity/> "configChanges" values: * keyboard, layoutDirection, mcc, mnc, navigation, touchscreen, uiMode - Removed launchMode "singleTask" from "TiMapActivity" and "TiVideoActivity". (Not applicable to child activities.) * Android: Added new "allActivityConfigChanges" variable to be used by EJS "AndroidManifest.xml" template for [TIMOB-26778] - Fixed previous [TIMOB-26778] commit to not inject configChanges values to all activities such as those belonging to modules/AARs. * Should only be added to Titanium activities that need it. They're now injected via "allActivityConfigChanges" EJS template variable. - Removed last remnants of "Ti.Map" from build scripts. - Removed "TiVideoActivity" and "TiCameraActivity" injection code from build script. * There is no downside to always having these activities in the "AndroidManifest.xml". So, it's been simplified. * [TIMOB-27084] Android: Fixed issue where "tiapp.xml" was unable to override "AndroidManifest.xml" settings defined in AAR or "timodule.xml" - Change manifest merge order. Now merges AAR and "timodule.xml" settings first. "tiapp.xml" settings are merged last.
- Loading branch information
1 parent
f71763c
commit 2af5b74
Showing
3 changed files
with
111 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters