XashService: fix crash on api26
This commit is contained in:
parent
2e5fcd45bd
commit
9f45a1e8cb
1 changed files with 2 additions and 1 deletions
|
@ -230,8 +230,9 @@ public class XashService extends Service
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Notification createNotification(Context ctx)
|
public Notification createNotification(Context context)
|
||||||
{
|
{
|
||||||
|
ctx = context;
|
||||||
createNotificationChannel();
|
createNotificationChannel();
|
||||||
|
|
||||||
builder = new Notification.Builder(ctx);
|
builder = new Notification.Builder(ctx);
|
||||||
|
|
Loading…
Add table
Reference in a new issue