fix(mobile): use public access modifier for onDestroy override
This commit is contained in:
parent
62c30d5762
commit
1893541864
1 changed files with 2 additions and 2 deletions
|
|
@ -26,10 +26,10 @@ public class MainActivity extends BridgeActivity {
|
|||
}
|
||||
|
||||
@Override
|
||||
protected void onDestroy() {
|
||||
super.onDestroy();
|
||||
public void onDestroy() {
|
||||
if (wakeLock != null && wakeLock.isHeld()) {
|
||||
wakeLock.release();
|
||||
}
|
||||
super.onDestroy();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue