mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
XashService: fix crash on api26
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user