diff options
author | Abhijeet Kaur <abkaur@google.com> | 2019-09-06 12:15:29 +0100 |
---|---|---|
committer | Abhijeet Kaur <abkaur@google.com> | 2019-09-27 11:05:21 +0100 |
commit | bcb384b95ad05a92e4a5e4a85c4c5326adb39cc8 (patch) | |
tree | 760727d1574ca5a4bd02909e277eda4c58e90436 /tests/Codegen/src/com/android/codegentest/SampleDataClassTest.java | |
parent | b1c0a256f2de5dafc90f791328400ead96a40e15 (diff) |
Use bugreport mode enums from BugreportParams
All callers of requestBugReport(enum) have been migrated to use
wrappers, so it's safe to switch the internal enum we use for bugreport
mode from ActivityManager constants to BugreportParams enum.
Note that in requestBugReport() we have been passing ActivityManager
constant enum for INTERACTIVE bugreport, when sending an intent to
Shell, where BugreportPramas enum was expected, but it worked fine
because they had the same value. We can stop relying on that.
Bug: 137825297
Bug: 141355059
Test: Interactive bugreports created successfully
Change-Id: I1ab5d471a6d5c70fcd201719eae90f820e17cb80
Diffstat (limited to 'tests/Codegen/src/com/android/codegentest/SampleDataClassTest.java')
0 files changed, 0 insertions, 0 deletions