Merge "Use Class#getSimpleName instead of KClass#getSimpleName" into rvc-dev

This commit is contained in:
Chalard Jean
2020-05-29 09:16:28 +00:00
committed by Android (Google) Code Review

View File

@@ -130,7 +130,7 @@ class TetheringNotificationUpdaterTest {
context = TestContext(InstrumentationRegistry.getInstrumentation().context)
doReturn(notificationManager).`when`(mockContext)
.getSystemService(Context.NOTIFICATION_SERVICE)
fakeTetheringThread = HandlerThread(this::class.simpleName)
fakeTetheringThread = HandlerThread(this::class.java.simpleName)
fakeTetheringThread.start()
notificationUpdater = WrappedNotificationUpdater(context, fakeTetheringThread.looper)
setupResources()