Repository navigation
Android O Support [DON'T MERGE] - #13222
Closed
AndrewJack wants to merge 1 commit into
Closed
AndrewJack wants to merge 1 commit into
AndrewJack wants to merge 1 commit into
Conversation
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Add support for apps targeting Android O.
Note: I am not expecting this to be merged into a release. This is just to provide visibility, and to inform people what they need to change to test Android O.
What's changed?
In upcoming Android O the window type has changed from TYPE_SYSTEM_ALERT to TYPE_APPLICATION_OVERLAY.
https://developer.android.com/preview/behavior-changes.html#cwt
To check if we are using the O preview I am using this check
"O".equals(Build.VERSION.CODENAME)As suggested here https://commonsware.com/blog/2015/06/05/supporting-m-developer-preview-previous-versions.html
Test Plan (required)
Try my sample project https://github.com/AndrewJack/react-native-android-o