Merge pull request #24 from termux/appname-change

change the application name back to Termux:X11 due to various reasons can't be named as Termux:Wayland
This commit is contained in:
marcusz 2021-08-29 19:32:22 +08:00 committed by GitHub
commit 3754b3b5b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -20,5 +20,5 @@ jobs:
- name: Store generated APK file - name: Store generated APK file
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: termux-wayland name: termux-x11
path: ./app/build/outputs/apk/debug path: ./app/build/outputs/apk/debug

View File

@ -109,7 +109,7 @@ public class LorieService extends Service {
NotificationManager notificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE); NotificationManager notificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
String channelId = Build.VERSION.SDK_INT >= Build.VERSION_CODES.O ? getNotificationChannel(notificationManager) : ""; String channelId = Build.VERSION.SDK_INT >= Build.VERSION_CODES.O ? getNotificationChannel(notificationManager) : "";
Notification notification = new NotificationCompat.Builder(this, channelId) Notification notification = new NotificationCompat.Builder(this, channelId)
.setContentTitle("Termux:Wayland") .setContentTitle("Termux:X11")
.setSmallIcon(R.drawable.ic_x11_icon) .setSmallIcon(R.drawable.ic_x11_icon)
.setContentText("Pull down to show options") .setContentText("Pull down to show options")
.setContentIntent(pendingIntent) .setContentIntent(pendingIntent)

View File

@ -1,3 +1,3 @@
<resources> <resources>
<string name="app_name">Termux:Wayland</string> <string name="app_name">Termux:X11</string>
</resources> </resources>