Fixed Snap got freeze issue, when goes to background and enter foreground again.
Description
When snap progressor runs, minimise the app which make the app to enter into Background. Again click the app, which makes the app enter into foreground. There snap got freeze and it's not moving forward automatically
Motivation and Context
This change required to handle app running on background and foreground state properly like Instagram.
PR Details
Fixed Snap got freeze issue, when goes to background and enter foreground again.
Description
When snap progressor runs, minimise the app which make the app to enter into Background. Again click the app, which makes the app enter into foreground. There snap got freeze and it's not moving forward automatically
Motivation and Context
This change required to handle app running on background and foreground state properly like Instagram.