Commit e8e5b7e
authored
android: Define 1GB-4GB Android devices as partial low-end (#9276)
Introduce a new device memory classification for Cobalt on Android TV.
Devices with 1GB to 4GB of physical memory are now considered
"mid-range" or "partial low-end" devices.
This change enables the PartialLowEndModeOnMidRangeDevices feature
for these devices, triggering optimizations such as limiting media
players to improve performance and stability on memory-constrained
Android TV hardware. The feature is enabled by default unless
an explicit low-end device mode is active.
Issue: 4881013491 parent 30df28c commit e8e5b7e
File tree
2 files changed
+21
-0
lines changed- base/system
- cobalt/android/apk/app/src/main/java/dev/cobalt/util
2 files changed
+21
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
106 | 119 | | |
107 | 120 | | |
108 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
109 | 128 | | |
110 | 129 | | |
111 | 130 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
92 | 94 | | |
93 | 95 | | |
94 | 96 | | |
| |||
0 commit comments