Files
stf-DeviceFarmer/lib/util
Oğuzhan Yiğit 481f220992 stf: Device name related updates (#516)
* stf: Upstream android-device-list library to cover newer devices
* 1.2.1 version is nearly 2.5 years old so it does not cover latest android devices thus creates un-friendly device names, fixes it
* no breaking API/ABI changes
* to the latest 1.2.7 version https://github.com/pbakondy/android-device-list/blob/master/package.json#L3

Signed-off-by: sirmordred <oguzhan97yigit@gmail.com>

* stf: Allow users to override device names
* it allows to users to change device names by setting ro.stf.product.device attribute via: e.g adb shell setprop ro.stf.product.device Samsung Galaxy S9
* Not all time android-device-list library is updated, even if it is updated, it does not cover all devices
* Users must have a way to override device name so they can change it as they want (alternative is: overriding ro.product.device attribute but changing that attribute may cause some unexpected system errors because it is used by android os in device as well)
* Preserve current behavior: if stf could not find ro.stf.product.device attribute, it falls to base implementation

Signed-off-by: sirmordred <oguzhan97yigit@gmail.com>

* stf: Changed prefix of custom device name property
* some properties starts with prefixes like "ro" are not allowed to change in some phones, use "debug" instead
for more info: https://stackoverflow.com/questions/66877858/android-setprop-failed-to-set-property

Signed-off-by: sirmordred <oguzhan97yigit@gmail.com>

Co-authored-by: Karol Wrótniak <karol.wrotniak@droidsonroids.pl>
2022-04-27 19:38:39 +02:00
..
2019-06-12 10:29:07 +02:00
2019-06-12 10:29:07 +02:00
2016-08-03 20:08:30 +09:00
2019-06-12 10:29:07 +02:00
2019-06-12 10:29:07 +02:00
2014-05-13 14:54:56 +09:00
2019-06-12 10:29:07 +02:00
2021-06-01 09:46:35 +02:00
2014-04-12 15:26:49 +09:00
2016-08-03 20:08:30 +09:00
2019-06-12 10:29:07 +02:00
2016-08-03 20:08:30 +09:00
2016-01-19 23:35:45 +09:00