log more settings actions

airplane mode
  bluetooth
  cell data
  do not disturb

Bug: 20264417
Change-Id: I726033a126fba9f9dffc916806d636feea04033b
This commit is contained in:
Chris Wren
2015-05-08 17:10:01 -04:00
parent c0df6623a0
commit 1b6ffba9e6
7 changed files with 24 additions and 3 deletions

View File

@@ -1217,10 +1217,11 @@ public class DataUsageSummary extends HighlightingFragment implements Indexable
public void onClick(View v) {
if (mBinding) return;
final boolean dataEnabled = !mDataEnabled.isChecked();
final boolean enabled = !mDataEnabled.isChecked();
final String currentTab = mCurrentTab;
if (isMobileTab(currentTab)) {
if (dataEnabled) {
MetricsLogger.action(getContext(), MetricsLogger.ACTION_CELL_DATA_TOGGLE, enabled);
if (enabled) {
// If we are showing the Sim Card tile then we are a Multi-Sim device.
if (Utils.showSimCardTile(getActivity())) {
handleMultiSimDataDialog();