From: Matthew Netsch Date: Thu, 11 Jun 2020 22:34:39 +0000 (-0400) Subject: Fixes execServer with target API 28 X-Git-Tag: upstream/1.3.5~1255^2~22 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6a23a69a78d940661f29de84b68a17f800014cea;p=platform%2Fupstream%2FVK-GL-CTS.git Fixes execServer with target API 28 Components: Framework VK-GL-CTS Issue: 2419 Affects: com.drawelements.deqp.execserver Change-Id: I37aa175e4c782c1213b65be58a32c4c41aabe4b9 --- diff --git a/android/package/AndroidManifest.xml b/android/package/AndroidManifest.xml index 360b21a5d..53b11082f 100644 --- a/android/package/AndroidManifest.xml +++ b/android/package/AndroidManifest.xml @@ -39,6 +39,7 @@ + = Build.VERSION_CODES.O) + { + channel = "com.drawelements.deqp.execserver"; + + NotificationChannel noteChan = new NotificationChannel(channel, "dEQP ExecServer", NotificationManager.IMPORTANCE_LOW); + NotificationManager manager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE); + manager.createNotificationChannel(noteChan); + } + + Notification.Builder builder = new Notification.Builder(this, channel); Notification notification = builder.setContentIntent(pm) .setSmallIcon(R.drawable.deqp_app_small).setTicker("ExecServer is running in the background.") .setWhen(System.currentTimeMillis()).setAutoCancel(true).setContentTitle("dEQP ExecServer")