Project

General

Profile

Actions

Emulator Issues #10603

closed

Android: save state & stop emulation on memory pressure kill

Added by hackbar over 6 years ago. Updated about 5 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
% Done:

0%

Operating system:
Android
Issue type:
Feature request
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:
5.0-6137

Description

If the EmulationActivity is ever killed due to memory pressure, save state and stop emulation. Then on restoration, check for this special save state and pop if present.

The semantics around when an activity is killed and what's it's allowed to do before dying is kinda tricky. In a out-of-memory situation we might not be allowed to make a save state. Thus it might make more sense to always save state when the activity is stopped.

Actions

Also available in: Atom PDF