Migrate away from deprecated Truth APIs.

This is a transitional step towards truth 1.0.1, where these APIs have
been completely removed.

Bug: 168765701
Test: m checkbuild
Change-Id: I76f9c37cb699ce6ab8715ffe35d11668ccbceea1
This commit is contained in:
Alexander Dorokhine
2020-09-18 15:43:47 -07:00
parent 74e3692ab9
commit 46e85a2fad
36 changed files with 138 additions and 142 deletions

View File

@@ -94,6 +94,6 @@ public class SettingsInitializeTest {
final List<ShortcutInfo> updatedShortcuts = mShortcutManager.getPinnedShortcuts();
assertThat(updatedShortcuts).hasSize(1);
assertThat(updatedShortcuts.get(0)).isSameAs(info);
assertThat(updatedShortcuts.get(0)).isSameInstanceAs(info);
}
}