1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-04 10:19:30 +02:00

Fix Galaxy S5's display information segfaulting by trying to use the public SDK methods first. SurfaceComposerClient's getDisplayInfo is practically unusable on Galaxy S5 due to weird memory corruption issues.

This commit is contained in:
Simo Kinnunen 2014-06-18 15:50:05 +09:00
parent 2f5a882099
commit 6bb07d7c34
16 changed files with 87 additions and 40 deletions

View file

@ -174,7 +174,7 @@ dbapi.setDevicePhoneState = function(serial, state) {
dbapi.setDeviceRotation = function(serial, rotation) {
return db.run(r.table('devices').get(serial).update({
display: {
orientation: rotation
rotation: rotation
}
}))
}