XashService: fix crash on api26

This commit is contained in:
mittorn 2020-07-10 09:16:11 +07:00
parent 2e5fcd45bd
commit 9f45a1e8cb

View file

@ -230,8 +230,9 @@ public class XashService extends Service
}
@Override
public Notification createNotification(Context ctx)
public Notification createNotification(Context context)
{
ctx = context;
createNotificationChannel();
builder = new Notification.Builder(ctx);