- Set the smba custom config
interfaces = br0
bind interfaces only = yes
- Restart the smba
killall smbd
sleep 5
| @Override | |
| protected void attachBaseContext(Context newBase) { | |
| super.attachBaseContext(new ContextWrapper(newBase){ | |
| @Override | |
| public Object getSystemService(String name) { | |
| if(Context.AUDIO_SERVICE.equals(name)){ | |
| return getApplicationContext().getSystemService(name); | |
| } | |
| return super.getSystemService(name); | |
| } |
| "use strict"; | |
| Object.defineProperty(exports, "__esModule", { | |
| value: true | |
| }); | |
| exports.default = void 0; | |
| /** | |
| * Copyright (c) Facebook, Inc. and its affiliates. | |
| * |
| module.exports = { | |
| "parser": "babel-eslint", | |
| "extends": [ | |
| "eslint:recommended", | |
| "plugin:react/recommended", | |
| "prettier", | |
| "prettier/react" | |
| ], | |
| "plugins": [ | |
| "react", |
interfaces = br0
bind interfaces only = yes
killall smbd
sleep 5