Skip to content

Commit 595abb6

Browse files
pigeon [nfc]: Rename pigeon file to notification -> android_notifications
1 parent d291098 commit 595abb6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

android/app/src/main/kotlin/com/zulip/flutter/Notifications.g.kt renamed to android/app/src/main/kotlin/com/zulip/flutter/AndroidNotifications.g.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ data class StoredNotificationSound (
381381
)
382382
}
383383
}
384-
private open class NotificationsPigeonCodec : StandardMessageCodec() {
384+
private open class AndroidNotificationsPigeonCodec : StandardMessageCodec() {
385385
override fun readValueOfType(type: Byte, buffer: ByteBuffer): Any? {
386386
return when (type) {
387387
129.toByte() -> {
@@ -589,7 +589,7 @@ interface AndroidNotificationHostApi {
589589
companion object {
590590
/** The codec used by AndroidNotificationHostApi. */
591591
val codec: MessageCodec<Any?> by lazy {
592-
NotificationsPigeonCodec()
592+
AndroidNotificationsPigeonCodec()
593593
}
594594
/** Sets up an instance of `AndroidNotificationHostApi` to handle messages through the `binaryMessenger`. */
595595
@JvmOverloads

pigeon/notifications.dart renamed to pigeon/android_notifications.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import 'package:pigeon/pigeon.dart';
44
// run `tools/check pigeon --fix`.
55
@ConfigurePigeon(PigeonOptions(
66
dartOut: 'lib/host/android_notifications.g.dart',
7-
kotlinOut: 'android/app/src/main/kotlin/com/zulip/flutter/Notifications.g.kt',
7+
kotlinOut: 'android/app/src/main/kotlin/com/zulip/flutter/AndroidNotifications.g.kt',
88
kotlinOptions: KotlinOptions(package: 'com.zulip.flutter'),
99
))
1010

0 commit comments

Comments
 (0)