Esempio n. 1
0
  @Override
  public void onPostCreate(Bundle savedInstanceState) {
    super.onPostCreate(savedInstanceState);
    // Sync the toggle state after onRestoreInstanceState has occurred.
    TileCache fileSystemTileCache = this.mapView.getFileSystemTileCache();

    Log.v(
        "PERSISTENCE",
        "capacity"
            + fileSystemTileCache.getCapacity()
            + ",persistence:"
            + fileSystemTileCache.isPersistent());
    if (mDrawerToggle != null) {
      mDrawerToggle.syncState();
    }
  }