commit | a93a0fb9321999773962359ff60ea8ff01a57170 | [log] [tgz] |
---|---|---|
author | Louis Pullen-Freilich <lpf@google.com> | Thu Jun 18 00:32:22 2020 +0000 |
committer | Louis Pullen-Freilich <lpf@google.com> | Thu Jun 18 00:46:16 2020 +0000 |
tree | ea98f0286690e5d06cc0c109bbc141707823ae7f | |
parent | 81de5e4370895ad812876fe51f3469402e1324fc [diff] |
Use activity context to get display in CtsPreferenceTestCases ag/11867297 seems to have caused crashes due to getting the display from a context not associated with a display. Using the Activity here instead should avoid crashes. Bug: b/159243084 Change-Id: I0c49f226f60bb81d71acfbf3a41a8834a720eb2b Test: CtsPreferenceTestCases