Added SIM Card Activity to Settings

+ Added SIM Card menu to Settings menu
+ Added SIM card detail dialog when selecting a SIM Card
+ Added ability to select the default SIM for Cellular data, Calls, and SMS

Bug: 16241745

Change-Id: I43437aa4c591c5097a8865d564f88726671e1b7d
This commit is contained in:
PauloftheWest
2014-06-30 10:02:36 -07:00
parent 2513851ace
commit 3815561997
17 changed files with 611 additions and 20 deletions

View File

@@ -106,6 +106,11 @@ public class DropDownPreference extends Preference {
mValues.add(value);
}
public void clearItems(){
mAdapter.clear();
mValues.clear();
}
@Override
protected void onBindView(View view) {
super.onBindView(view);
@@ -123,4 +128,4 @@ public class DropDownPreference extends Preference {
public interface Callback {
boolean onItemSelected(int pos, Object value);
}
}
}