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 @Override
protected void onDestroy() { public void onDestroy() {
super.onDestroy();
if (wakeLock != null && wakeLock.isHeld()) { if (wakeLock != null && wakeLock.isHeld()) {
wakeLock.release(); wakeLock.release();
} }
super.onDestroy();
} }
} }