potter: Abandon TARGET_UNIFIED_DEVICE flag

* Override the unified properties using vendor init

Change-Id: Ia9f780793e06ed37ac26d6de395c73ee6e37f6c1
This commit is contained in:
Bruno Martins
2017-06-16 14:35:54 +01:00
committed by Shreps
parent c2878efbc3
commit a53cd8cdc8
2 changed files with 12 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
#
# Copyright (C) 2016 The CyanogenMod Project
# Copyright (C) 2017 The LineageOS Project
# 2017 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -168,3 +168,4 @@ BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_qcwcn
WIFI_DRIVER_FW_PATH_AP := "ap"
WIFI_DRIVER_FW_PATH_STA := "sta"
WPA_SUPPLICANT_VERSION := VER_0_8_X

View File

@@ -68,7 +68,7 @@ void vendor_load_properties()
return;
std::string sku = property_get("ro.boot.hardware.sku");
property_set("ro.product.model", sku.c_str());
property_override("ro.product.model", sku.c_str());
// rmt_storage
std::string device = property_get("ro.boot.device");