| commit | 6d663eaab6adbe080371e2407cce383ebb3d6607 | [log] [tgz] |
|---|---|---|
| author | Dhina17 <dhinalogu@gmail.com> | Fri Jul 26 13:58:41 2024 +0530 |
| committer | Joey Huab <jhuab@edukasyon.ph> | Sun Sep 08 05:48:39 2024 +0900 |
| tree | b9e1b5571a374c890d3759b02254ffef92564f3e | |
| parent | e6ad7e1cd6c10d8176de9de4de1afffbdbf72a56 [diff] |
GameSpace: Don't add floating action if game closed too quickly We use handler.postDelayed() to draw the floating action with 500ms delay on starting game. If user opens and closes the game too quickly, the game is getting closed and called onGameLeave() before the handler.postDelayed execution so the floating action is drawn even after closing the game. Even the worse, user can't close that floating action without reboot and can create infinite floating actions. So don't draw the floating action if game closed before that. Change-Id: I7fc3748137ff6d3fdb71b8b3590580963f4d0c96 Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
chaldeaprjkt's GameSpace is an alternative to the Google's proprietary implementation of the Game Dashboard with a goals of providing basic user-interface for the Android Game Mode API.
Gamespace requires several patches to be applied on the AOSP's SystemUI and Settings :
This work is licensed under Apache 2.0 License.