I have an activity that boosts screen brightness
/* turn screen brightness up */
this.getWindow().getAttributes().screenBrightness = 1;
I found out this built in android function crashes some phones.
Is there a more universal way to boost screen brightness?