diff options
| author | 2018-12-05 14:03:01 +0000 | |
|---|---|---|
| committer | 2018-12-11 16:54:45 +0000 | |
| commit | 904e0e0f01e18e2b358f61df158a6beb599a4636 (patch) | |
| tree | 3a6e74c3c298c4d0c244249d2c26dca5210165d2 /libs/gui/BufferQueueThreadState.cpp | |
| parent | 5f7692f5b2cccb5226985fba22b640042508c82e (diff) | |
Fix adb bugreport and add bugreport unit tests.
Commit 58d72e2 introduced a regression, which made fullbugreport as the
default mode. This lead to 'adb bugreport SAMPLE_BR' triggering a
progress notification on the device as it inherited do_broadcast from full bugreport.
Fix the issue by separating full bugreport from default bugreport.
Add unit tests for all the cases of calling bugreport.
Bug: 119877616
Test: Verified that 'adb bugreport SAMPLE_BR' does not show any notification on the device.
Test: mmm -j frameworks/native/cmds/dumpstate/ && adb push ${OUT}/data/nativetest64/dumpstate_test* /data/nativetest64 && adb shell /data/nativetest64/dumpstate_test/dumpstate_test && printf "\n\n#### ALL TESTS PASSED ####\n"
Change-Id: I06e57454a91a3276dd89d47b3b0a04d3d85f32da
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions