Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ class GradleBuildService :
val builder =
Notification
.Builder(this, BaseApplication.NOTIFICATION_GRADLE_BUILD_SERVICE)
.setSmallIcon(R.drawable.ic_launcher_fg_vector)
.setSmallIcon(R.drawable.ic_cogo_notification)
.setTicker(ticker)
.setWhen(System.currentTimeMillis())
.setContentTitle(title)
Expand Down
29 changes: 29 additions & 0 deletions resources/src/main/res/drawable/ic_cogo_notification.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="413.2"
android:viewportHeight="413.2">

<!-- Center the phone horizontally in the square viewport -->
<group android:translateX="95.375">

<!-- Phone frame: body with screen cutout via evenOdd -->
<!-- Paths from CoGoLogo-NoName-White.svg -->
<path
android:fillType="evenOdd"
android:pathData="M34.04,0 L188.41,0 A34.04,34.04 0 0,1 222.45,34.04 L222.45,379.16 A34.04,34.04 0 0,1 188.41,413.2 L34.04,413.2 A34.04,34.04 0 0,1 0,379.16 L0,34.04 A34.04,34.04 0 0,1 34.04,0z M32.81,11.06h155.7c11.9,0,21.57,9.66,21.57,21.57v337.54H11.24V32.62c0,-11.9,9.66,-21.57,21.57,-21.57Z"
android:fillColor="#FFFFFF"/>

<!-- Notch (white) -->
<path
android:pathData="M52.91,10.14h115.49c0,9.9,-8.04,17.94,-17.94,17.94h-79.62c-9.9,0,-17.94,-8.04,-17.94,-17.94h0Z"
android:fillColor="#FFFFFF"/>

<!-- Globe (white) -->
<path
android:pathData="M107.8,126.57h6.02l6.02,0.45,6.24,0.89,6.69,1.56,7.36,2.45,5.13,2.23,4.46,2.23,4.46,2.68,4.46,3.12,3.12,2.45,3.12,2.68,3.57,3.34,2.68,2.9,2.45,2.9,2.9,3.79,3.34,5.13,2.68,4.9,2.23,4.68,2.23,5.8,1.78,6.02,1.34,6.24,0.89,6.91,0.22,3.12v7.13l-0.45,5.35,-0.89,6.02,-1.34,6.02,-1.78,5.8,-2.23,5.57,-2.68,5.57,-2.45,4.24,-1.78,2.68,-2.68,3.79,-3.12,3.79,-2.68,2.9,-4.46,4.46,-2.45,2.01,-3.34,2.68,-5.35,3.57,-3.34,2.01,-4.68,2.45,-5.8,2.45,-6.02,2.01,-5.35,1.34,-8.03,1.34,-4.9,0.45h-8.92l-6.46,-0.67,-6.46,-1.11,-5.8,-1.56,-5.8,-2.01,-5.57,-2.45,-5.57,-2.9,-4.9,-3.12,-4.68,-3.57,-2.9,-2.45,-2.9,-2.68,-3.34,-3.34,-1.56,-1.78,-2.9,-3.57,-2.9,-4.01,-2.9,-4.68,-2.9,-5.35,-2.68,-6.24,-2.23,-6.69,-1.56,-6.69,-0.89,-5.57,-0.45,-4.9v-8.92l0.67,-7.13,1.34,-7.13,1.56,-5.35,2.23,-6.24,2.45,-5.57,2.68,-4.9,2.01,-3.12,3.12,-4.46,2.01,-2.45,2.45,-2.9,3.12,-3.34,1.78,-1.78,2.45,-2.01,2.01,-1.78,3.57,-2.68,4.01,-2.68,3.79,-2.23,5.13,-2.68,6.46,-2.68,5.57,-1.78,6.69,-1.56,6.02,-0.89,5.57,-0.45ZM106.01,135.26l-3.79,1.34,-3.57,1.78,-3.12,2.23,-2.68,2.45,-2.9,2.9,-2.23,2.9,-2.01,2.9,-2.45,4.24,-1.78,3.34,-2.68,6.24,-2.68,8.03,-1.78,6.46,-0.67,2.68v1.11l4.01,1.11,7.58,1.56,8.92,1.34,8.92,0.89,3.79,0.22,0.22,-0.22v-53.5h-1.11ZM115.82,135.26l-0.22,1.56v50.6l0.22,2.01,8.92,-0.45,6.91,-0.67,6.46,-1.11,6.69,-1.56,4.46,-1.34,0.45,-0.22,-0.45,-2.68,-2.23,-7.8,-2.23,-6.46,-3.12,-7.13,-2.23,-4.24,-2.45,-4.01,-2.23,-3.12,-2.01,-2.45,-2.45,-2.68,-1.78,-1.78,-3.12,-2.45,-3.12,-2.01,-3.34,-1.56,-2.01,-0.45h-1.11ZM139.9,141.28l1.34,2.01,2.9,4.01,2.9,4.9,2.45,4.68,2.45,5.57,2.23,6.02,2.01,6.24,1.56,6.02,1.34,-0.22,3.57,-1.78,4.24,-2.23,4.9,-3.12,1.78,-1.34,-1.11,-2.23,-3.57,-5.35,-2.9,-3.57,-2.01,-2.45,-4.46,-4.46,-1.78,-1.56,-3.34,-2.68,-3.12,-2.23,-4.24,-2.68,-4.9,-2.68,-1.78,-0.89h-0.45ZM82.16,141.28l-3.79,1.78,-4.01,2.23,-4.68,3.12,-3.79,2.9,-2.68,2.45,-1.78,1.56,-3.12,3.12,-1.56,1.78,-2.9,3.57,-2.01,2.9,-2.9,4.46,-0.22,1.11,2.9,2.23,3.34,2.01,5.13,2.68,4.68,2.01h0.67l2.01,-8.03,2.45,-7.8,2.45,-6.24,2.68,-5.8,2.45,-4.46,2.45,-3.79,2.68,-3.57,-0.45,-0.22ZM177.12,180.07l-4.46,2.68,-3.79,2.23,-5.13,2.68,-4.24,1.78,-0.22,0.89,0.22,4.01,0.22,13.15,-0.22,8.92,-0.67,7.8,-0.45,3.34,1.11,-0.22,5.57,-2.68,3.79,-2.23,3.79,-2.68,2.9,-2.45,3.79,-3.57,2.9,-2.9,0.22,-0.45v-8.25l-0.67,-6.24,-1.11,-5.8,-1.78,-6.24,-1.11,-3.57,-0.67,-0.22ZM44.71,180.29l-0.89,2.23,-1.78,5.8,-1.34,5.8,-0.67,4.9,-0.45,6.69v3.12l0.22,2.68,1.56,1.78,1.78,1.78,2.45,2.01,2.23,1.78,4.24,2.9,2.9,1.78,4.9,2.68,3.79,1.78,-0.45,-3.57,-0.67,-6.91,-0.22,-3.57v-10.03l0.67,-8.03,0.67,-5.13v-1.11l-6.24,-2.45,-4.24,-2.01,-4.01,-2.23,-3.34,-2.23,-1.11,-0.45ZM72.13,192.33l-0.45,1.56,-0.67,6.02,-0.22,3.12v12.93l0.89,8.03,1.11,6.69,0.45,0.89,4.68,1.34,6.02,1.34,7.8,1.11,4.9,0.45,4.01,0.22h6.46v-38.34l-0.22,-0.22,-12.48,-1.11,-9.36,-1.34,-8.03,-1.56,-4.46,-1.11h-0.45ZM150.6,192.77l-7.58,2.01,-8.47,1.56,-8.03,0.89,-10.7,0.67v37.67l4.24,-0.22,10.7,-1.11,8.69,-1.34,8.25,-1.78,1.11,-0.45,0.67,-1.56,0.89,-5.13,0.67,-6.91,0.22,-4.68v-11.81l-0.22,-7.8h-0.45ZM179.8,224.88l-3.12,2.45,-4.68,3.12,-5.35,2.9,-6.46,2.68,-3.79,1.34,-1.11,3.57,-1.34,4.46,-2.23,5.8,-2.45,5.35,-2.01,3.79,-2.23,3.57,-2.68,3.79,-2.9,3.57,-0.67,0.67v0.45l1.11,-0.22,4.24,-2.01,5.35,-3.12,3.57,-2.45,4.01,-3.12,2.9,-2.68,2.23,-2.01,2.01,-2.23,2.23,-2.45,3.34,-4.46,2.45,-3.79,2.01,-3.57,1.78,-3.57,2.23,-5.35,2.01,-6.02v-0.45h-0.45ZM42.26,225.54l0.67,2.45,1.56,4.68,2.01,4.46,1.78,3.57,2.01,3.57,2.45,3.57,2.01,2.68,2.01,2.45,2.01,2.23,1.11,1.34h0.45l0.45,0.89h0.45v0.45l1.78,1.56,2.45,2.23,3.79,2.9,4.01,2.68,4.68,2.68,3.57,1.78,2.01,0.89,-0.45,-1.11,-1.78,-2.01,-2.9,-4.01,-2.45,-4.01,-2.01,-3.57,-1.78,-3.57,-1.78,-3.79,-2.01,-5.35,-1.78,-5.35,-0.67,-1.78,-6.91,-2.9,-3.57,-1.78,-4.68,-2.45,-5.35,-3.34,-2.68,-2.01h-0.45ZM146.36,240.03l-8.25,1.56,-10.03,1.34,-12.26,1.11v33.88l1.34,-0.22,3.79,-2.01,3.12,-2.01,3.57,-2.68,2.9,-2.68,2.9,-2.9,2.9,-3.79,3.12,-4.68,2.9,-5.35,2.01,-4.68,1.56,-4.01,0.67,-2.01,-0.22,-0.89ZM75.92,241.15l0.67,2.23,2.23,5.35,2.68,5.57,2.9,4.9,2.45,3.57,2.45,3.12,2.01,2.23,1.56,1.78,1.56,1.56,2.45,2.01,3.12,2.23,3.34,1.78,3.34,1.34h0.45v-34.33l-9.36,-0.22,-8.03,-0.67,-7.13,-1.11,-5.35,-1.11,-1.34,-0.22Z"
android:fillColor="#FFFFFF"/>

</group>

</vector>
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ class AdbPairingService : Service() {
NOTIFICATION_ID,
Notification
.Builder(this, NOTIFICATION_CHANNEL)
.setSmallIcon(R.drawable.ic_launcher_fg_vector)
.setSmallIcon(R.drawable.ic_cogo_notification)
.setContentTitle(title)
.setContentText(text)
.build(),
Expand Down Expand Up @@ -350,7 +350,7 @@ class AdbPairingService : Service() {
private val searchingNotification by unsafeLazy {
Notification
.Builder(this, NOTIFICATION_CHANNEL)
.setSmallIcon(R.drawable.ic_launcher_fg_vector)
.setSmallIcon(R.drawable.ic_cogo_notification)
.setContentTitle(getString(R.string.notification_adb_pairing_searching_for_service_title))
.addAction(stopNotificationAction)
.build()
Expand All @@ -360,15 +360,15 @@ class AdbPairingService : Service() {
Notification
.Builder(this, NOTIFICATION_CHANNEL)
.setContentTitle(getString(R.string.notification_adb_pairing_service_found_title))
.setSmallIcon(R.drawable.ic_launcher_fg_vector)
.setSmallIcon(R.drawable.ic_cogo_notification)
.addAction(replyNotificationAction(port))
.build()

private val workingNotification by unsafeLazy {
Notification
.Builder(this, NOTIFICATION_CHANNEL)
.setContentTitle(getString(R.string.notification_adb_pairing_working_title))
.setSmallIcon(R.drawable.ic_launcher_fg_vector)
.setSmallIcon(R.drawable.ic_cogo_notification)
.build()
}
}
Loading