| 202 | } |
| 203 | |
| 204 | bool SupportsNativeLayers(const rdcstr &deviceID) |
| 205 | { |
| 206 | rdcstr api = |
| 207 | Android::adbExecCommand(deviceID, "shell getprop ro.build.version.sdk").strStdout.trimmed(); |
| 208 | |
| 209 | int apiVersion = atoi(api.c_str()); |
| 210 | |
| 211 | // SDK 29 == Android 10.0, the first version that included layering |
| 212 | if(apiVersion >= 29) |
| 213 | return true; |
| 214 | |
| 215 | return false; |
| 216 | } |
| 217 | |
| 218 | rdcstr DetermineInstalledABI(const rdcstr &deviceID, const rdcstr &packageName) |
| 219 | { |
no test coverage detected