I included this line in manifest file
<uses-permission
android:name="android.permission.PACKAGE_USAGE_STATS"
tools:ignore="ProtectedPermissions"/>
But when I open the Grant Usage Access section with
startActivity(new Intent(Settings.ACTION_USAGE_ACCESS_SETTINGS));
My app isn't even on the list of apps to grant this access to, am I missing something?