Skip to content

Commit 233dead

Browse files
kaibolaylfkellogg
authored andcommitted
./gradlew :firebase-appdistribution:test-app:ktfmtFormat (#4387)
1 parent 4441c12 commit 233dead

File tree

5 files changed

+291
-301
lines changed

5 files changed

+291
-301
lines changed

firebase-appdistribution/test-app/src/main/java/com/googletest/firebase/appdistribution/testapp/AppDistroTestApplication.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ package com.googletest.firebase.appdistribution.testapp
33
import android.app.Application
44

55
class AppDistroTestApplication : Application() {
6-
override fun onCreate() {
7-
super.onCreate()
6+
override fun onCreate() {
7+
super.onCreate()
88

9-
// The shake detection feedback trigger can optionally be enabled application-wide here
10-
// ShakeDetectionFeedbackTrigger.enable(this)
11-
}
9+
// The shake detection feedback trigger can optionally be enabled application-wide here
10+
// ShakeDetectionFeedbackTrigger.enable(this)
11+
}
1212
}

firebase-appdistribution/test-app/src/main/java/com/googletest/firebase/appdistribution/testapp/CustomNotificationFeedbackTrigger.kt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ object CustomNotificationFeedbackTrigger {
3131

3232
var activityToScreenshot: Activity? = null
3333

34-
3534
/**
3635
* Show an ongoing notification that the user can tap to take a screenshot of the current activity
3736
* and send feedback to the developer.
@@ -57,9 +56,7 @@ object CustomNotificationFeedbackTrigger {
5756
)
5857
channel.description =
5958
activity.getString(R.string.feedbackTriggerNotificationChannelDescription)
60-
activity
61-
.getSystemService(NotificationManager::class.java)
62-
.createNotificationChannel(channel)
59+
activity.getSystemService(NotificationManager::class.java).createNotificationChannel(channel)
6360
}
6461

6562
val intent = Intent(activity, CustomNotificationTakeScreenshotActivity::class.java)

0 commit comments

Comments
 (0)