Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public TitleAdapter(FragmentManager fm) {
- super(fm);
- // Display the Voltage Control fragment only
- // if a table is found.
- if (mVoltageExists) {
- frags[0] = new CPUSettings();
- frags[1] = new VoltageControlSettings();
- frags[2] = new Advanced();
- frags[3] = new TimeInState();
- frags[4] = new CPUInfo();
- } else {
- frags[0] = new CPUSettings();
- frags[1] = new Advanced();
- frags[2] = new TimeInState();
- frags[3] = new CPUInfo();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement