pixelstats: Filter "PRODUCT_TYPE" uevent for reporting VID/PID
gs101 has the kernel changes to report "PRODUCT_TYPE" upon plug-in. Bug: 196104058 Test: adb shell cmd stats print-logs; adb logcat | grep 105011 Signed-off-by: Badhri Jagan Sridharan <badhri@google.com> Change-Id: Ia61a3b2a693d4f2b630409dd786342743e330ef2
This commit is contained in:
parent
8144b338f0
commit
a25b4d683b
1 changed files with 2 additions and 1 deletions
|
@ -57,7 +57,8 @@ const struct SysfsCollector::SysfsPaths sysfs_paths = {
|
||||||
|
|
||||||
const struct UeventListener::UeventPaths ueventPaths = {
|
const struct UeventListener::UeventPaths ueventPaths = {
|
||||||
.AudioUevent = "/devices/virtual/amcs/amcs",
|
.AudioUevent = "/devices/virtual/amcs/amcs",
|
||||||
.WirelessChargerPtmcPath = "/sys/class/power_supply/wireless/device/ptmc_id"};
|
.WirelessChargerPtmcPath = "/sys/class/power_supply/wireless/device/ptmc_id",
|
||||||
|
.TypeCPartnerUevent = "PRODUCT_TYPE="};
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
LOG(INFO) << "starting PixelStats";
|
LOG(INFO) << "starting PixelStats";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue