FHellmann / Uniatron

This project is part of the course Mobile Application Development at the University of Augsburg
https://play.google.com/store/apps/details?id=com.edu.uni.augsburg.uniatron
Apache License 2.0
0 stars 3 forks source link

TimeCreditShopActivity can be created multiple times on top of each other #57

Closed leonpoint closed 6 years ago

leonpoint commented 6 years ago

Describe the bug When the TimeCreditShopActivity is being started multiple times, it takes multiple presses on the back button to get back to the app

To Reproduce Steps to reproduce the behavior:

  1. have an app be blocked by the learning aid (branch dh-7-applock)
  2. repeatedly try to open the blocked app
  3. the app will be blocked and the timecreditshop will open

alternatively to 1-3 you can just start multiple intents of the shopactivity to test it

  1. open the Uniatron app
  2. press the back button and watch as you have to close multiple instances of the shop activity

Expected behavior the shop should close after pressing back once