Device brightness not set proper in android
I want to change the brightness using seekBar it changes but the notification brightness bar progress is not the same as the progress value.
public class MainActivity extends AppCompatActivity {
private SeekBar seekBright;
private TextView txtProgress;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
seekBright=findViewById(R.id.seekBright);...