Solution 1 :
Try to set
android:isGame="true" on the application tag in your manifest file.
Solution 2 :
When I uploaded my game to Google play, it automatically worked and my problem solved.
My Samsung phone has a “GameBooster” application, it works automatically on games I download from Google Play, but I can’t run it in my own game app. Also, other Android phones (eg Xioami) have a gamemode app, how can these phones know that my application is a game?
Comment posted by Atakan Yildirim
Didn’t work for me, I think I need Play Games Services in my project