commit | 9f71403e1d9a84a0bbe7cf7a870c2dab3efa0804 | [log] [tgz] |
---|---|---|
author | Andrei Litvin <andreilitvin@google.com> | Thu Apr 16 15:57:36 2020 -0400 |
committer | Andrei Litvin <andreilitvin@google.com> | Fri Apr 17 08:38:26 2020 -0400 |
tree | c36f1721ae94412d3fd6855f1a0cdaa9285c49c3 | |
parent | 2b80990bbcadd557b0c4cfe45d410d2aaeae3dee [diff] |
Fix unit test for TVRemoteProviderWatcherTest.java. Previous submit used the wrong unit test name as a check and apparently presubmits did not catch the bug. TVRemoteProvider package loading is done in the constructor and the test needs to re-create the teste object whenever changing package configuration. Bug: 150766750 Test: atest services/tests/servicestests/src/com/android/server/tv/TvRemoteProviderWatcherTest.java Change-Id: Ide38af5490b7d88edbb893f7a1a93c7b47beca85