google / google/oboe

OboeTester should stop test from onPause instead of onStop if background operation is not checked

Open
#2,135 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
4.1k
Forks
639
Avg merge
2d 23h
Merged PRs (30d)
8

Description

If background operation is not selected, OboeTester should stop its test when moving to background. This happens when `onPause` is called. When `onStop` is called, it is indicating the activity is no longer visible. See activity lifecycle at https://developer.android.com/guide/components/activities/activity-lifecycle#alc

With current implementation, the test will still be running such as playing output for slightly longer with using gesture swiping up to move the app to background.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.