Implement to log the status of enabling/disabling launcher components
Manual test:
Step 1: Download an application (Ex: Smart Launcher 6)
Step 2: m statsd_testdrive
Step 3: statsd_testdrive 863
Step 4: adb root
Step 5: adb shell pm enable --user cur ginlemon.flowerfree/ginlemon.flower.HomeScreen
Result:
metric_id: 1111
event_metrics {
data {
aggregated_atom_info {
atom {
863: {
1: 10308
2: 0
3: 1
4: 1
5: 0
}
}
elapsed_timestamp_nanos: 78968154534870
}
}
}
is_active: true
estimated_data_bytes: 136
Bug: 316916801
Test: Manual test
Change-Id: I5bfe48cf0dc81a5f4679f6c1edbce5e671469c5b
2 files changed