App ops: improve presentation.
Change-Id: Ia8702f9421a2cf2e27e8e24bfdc596321ace515a
This commit is contained in:
@@ -137,9 +137,9 @@ public class AppOpsDetails extends Fragment {
|
||||
}
|
||||
}
|
||||
((TextView)view.findViewById(R.id.op_name)).setText(
|
||||
entry.getBriefLabelText(mState));
|
||||
entry.getSwitchText(mState));
|
||||
((TextView)view.findViewById(R.id.op_time)).setText(
|
||||
entry.getTimeText(res));
|
||||
entry.getTimeText(res, true));
|
||||
Switch sw = (Switch)view.findViewById(R.id.switchWidget);
|
||||
final int switchOp = AppOpsManager.opToSwitch(firstOp.getOp());
|
||||
sw.setChecked(mAppOps.checkOp(switchOp, entry.getPackageOps().getUid(),
|
||||
|
Reference in New Issue
Block a user