-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TIMOB-23802] Android: expose sustainedPerformancemode for future development #8709
Closed
Closed
Changes from 4 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
7df6a43
timob-23082 expose sustained performance mode for future development
69ac9ba
timob-23802 updated doc
8a06c59
timob-23802 added sustain mode into activity and formatted window.yml
5f43a7b
timob-23802 added android min version to window.yml
115eca5
Merge branch 'master' into timob-23802
16adbe8
Merge branch 'master' into timob-23802
568c34e
Update Window.yml
8d06b34
Update Window.yml
hansemannn File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -800,6 +800,23 @@ properties: | |
since: "3.1.3" | ||
platforms: [iphone,ipad] | ||
|
||
- name: sustainedPerformanceMode | ||
summary: Maintain a sustainable level of performance. | ||
description: | | ||
Performance can fluctuate dramatically for long-running apps, because the system throttles | ||
system-on-chip engines as device components reach their temperature limits. This fluctuation | ||
presents a moving target for app developers creating high-performance, long-running apps. | ||
|
||
Setting this feature to true will set sustained performance mode for the corresponding window. | ||
If property is undefined then it defaults to false. | ||
|
||
Note: feature is only available on supported devices and functionality is experimental and | ||
subject to change in future releases. See [Android docs](https://developer.android.com/about/versions/nougat/android-7.0.html#sustained_performance_api) and [Google VR docs](https://developers.google.com/vr/android/ndk/jni/reference/com/google/vr/ndk/base/AndroidCompat.html#setSustainedPerformanceMode(Activity, boolean)) for further info. | ||
type: Boolean | ||
since: "6.1.0" | ||
platforms: [android] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you add |
||
osver: {android: {min: "7.0"}} | ||
|
||
- name: swipeToClose | ||
summary: Boolean value indicating if the user should be able to close a window using a swipe gesture. | ||
description: | | ||
|
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The lines are still too long. Example of proper line breaks:
Note that I did not break the last names, since the links cause the length there