fix(mobile): use public access modifier for onDestroy override

This commit is contained in:
vndangkhoa 2026-01-03 00:17:36 +07:00
parent 62c30d5762
commit 1893541864

View file

@ -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();
}
}