diff options
| author | 2020-06-01 06:43:13 +0000 | |
|---|---|---|
| committer | 2020-06-01 06:43:13 +0000 | |
| commit | f3022ca483ac8e163dba319e5534ab8514a793e9 (patch) | |
| tree | 939a1994c107c589b91809216d9b2e3d3791f5d4 | |
| parent | fdcd5625291d8edeeeaee8039223db65d2eccdf1 (diff) | |
| parent | 7293a504f23963f77d5edc0db2ec102bd9900504 (diff) | |
Merge "Use Class#getSimpleName instead of KClass#getSimpleName"
| -rw-r--r-- | packages/Tethering/tests/unit/src/com/android/networkstack/tethering/TetheringNotificationUpdaterTest.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/TetheringNotificationUpdaterTest.kt b/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/TetheringNotificationUpdaterTest.kt index 745468fdf378..7d5471f7703d 100644 --- a/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/TetheringNotificationUpdaterTest.kt +++ b/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/TetheringNotificationUpdaterTest.kt @@ -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() |