Skip to content

Commit

Permalink
OboeTester: set ADPF variable in onClickListener
Browse files Browse the repository at this point in the history
  • Loading branch information
philburk committed Oct 4, 2024
1 parent 07b79fb commit 0f3ba52
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -299,8 +299,9 @@ public void onClick(View view) {

mPerfHintBox.setOnClickListener(buttonView -> {
CheckBox checkBox = (CheckBox) buttonView;
setPerformanceHintEnabled(checkBox.isChecked());
mUseAltAdpfBox.setEnabled(!checkBox.isChecked());
mShouldUseADPF = checkBox.isChecked();
setPerformanceHintEnabled(mShouldUseADPF);
mUseAltAdpfBox.setEnabled(!mShouldUseADPF);
});

CheckBox hearWorkloadBox = (CheckBox) findViewById(R.id.hear_workload);
Expand Down

0 comments on commit 0f3ba52

Please sign in to comment.