common: usb: Set product model for USB Gadget G2 as well.
Change-Id: Idc1ed2257294aa1e04c24cfda0d412f51a3242f5
This commit is contained in:
parent
71a954f737
commit
ab95ea06b9
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (C) 2020 Paranoid Android
|
# Copyright (C) 2021 Paranoid Android
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
|
@ -14,3 +14,4 @@
|
||||||
|
|
||||||
on boot
|
on boot
|
||||||
write /config/usb_gadget/g1/strings/0x409/product ${ro.product.model}
|
write /config/usb_gadget/g1/strings/0x409/product ${ro.product.model}
|
||||||
|
write /config/usb_gadget/g2/strings/0x409/product ${ro.product.model}
|
||||||
|
|
Loading…
Reference in New Issue