Skip to content

Conversation

@brarcher
Copy link

When Android experiences memory pressure it will let applications know. After this notification, Android may choose to kill applications to free up memory.

If this app receives a low memory callback, save current pedometer values so that progress is not lost. When the app is relaunched, either automatically when memory pressure is relieved or when it is manually opened, the most recent values will be loaded.

Branden Archer added 2 commits January 11, 2016 22:49
If android is encountering a low memory situation, save the
current pedometer counts. It is possible for Android to kill
the app and restart it later when memory is available.
Unless the pedometer values are saved, they will be lost.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant