Merge "Use Class#getSimpleName instead of KClass#getSimpleName" into rvc-dev am: 88c69840cd am: 04fb018acc

Change-Id: Idfe54387a331f532040ea3986eb7948e24ea7304
This commit is contained in:
Chalard Jean
2020-05-29 09:51:14 +00:00
committed by Automerger Merge Worker

View File

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