sdm660-common: vendor_init: make ro.setupwizard.rotation_locked always false
* as rom with vendor_gms repo will set this as true and locks the orientation for setup * that is not so good for tablet type device * override this prop in vendor_init to make it always landscape available Signed-off-by: pix106 <sbordenave@gmail.com>
This commit is contained in:
parent
14aa292b1a
commit
552671d365
1 changed files with 1 additions and 0 deletions
|
@ -113,6 +113,7 @@ void vendor_load_persist_properties() {
|
||||||
std::string hw_device;
|
std::string hw_device;
|
||||||
char const* hw_id_file = "/sys/devices/virtual/graphics/fb0/msm_fb_panel_info";
|
char const* hw_id_file = "/sys/devices/virtual/graphics/fb0/msm_fb_panel_info";
|
||||||
|
|
||||||
|
property_override("ro.setupwizard.rotation_locked", "false");
|
||||||
property_override_triple("ro.product.name", "ro.product.system.name",
|
property_override_triple("ro.product.name", "ro.product.system.name",
|
||||||
"ro.product.vendor.name", "clover");
|
"ro.product.vendor.name", "clover");
|
||||||
ReadFileToString(hw_id_file, &hw_device);
|
ReadFileToString(hw_id_file, &hw_device);
|
||||||
|
|
Loading…
Reference in a new issue