For devices launching with Android Q or later, properties defined by vendor should have the prefix "vendor." Bug: 140025213 Test: Full build Test: bonito & sargo Change-Id: I67b50060241534ed987093149358b2a3d1dee4ac Signed-off-by: emilchung <emilchung@google.com>
12 lines
329 B
Bash
12 lines
329 B
Bash
#! /vendor/bin/sh
|
|
|
|
# Initialize Edge Sense.
|
|
/vendor/bin/init.edge_sense.sh
|
|
|
|
setprop vendor.qcom.devup 1
|
|
|
|
version=`grep -ao "OEM_IMAGE_VERSION_STRING[ -~]*" \
|
|
/vendor/firmware/adsp.b04 | \
|
|
sed -e s/OEM_IMAGE_VERSION_STRING=ADSP.version.// -e s/\(.*\).//`
|
|
setprop vendor.sys.adsp.firmware.version "$version"
|