void addCustomTile(StatusBarPanelCustomTile sbc) {
   synchronized (mTiles) {
     if (!mTiles.containsKey(sbc.getKey())) {
       mCustomTileData.add(new CustomTileData.Entry(sbc));
       mTiles.put(sbc.getKey(), new CustomQSTile(this, sbc));
       if (mCallback != null) {
         mCallback.onTilesChanged();
       }
     }
   }
 }
 void updateCustomTile(StatusBarPanelCustomTile sbc) {
   synchronized (mTiles) {
     if (mTiles.containsKey(sbc.getKey())) {
       QSTile<?> tile = mTiles.get(sbc.getKey());
       if (tile instanceof CustomQSTile) {
         CustomQSTile qsTile = (CustomQSTile) tile;
         qsTile.update(sbc);
       }
     }
   }
 }