Exemplo n.º 1
0
        @Override
        public void onReceive(Context context, Intent intent) {
          String id = AppBroadcaster.getFile(intent);

          if (id.contains(srtmAccess.toString()) || pendingFiles.get(id.hashCode()) != null) {
            state.ping();
          }
        }
Exemplo n.º 2
0
 @Override
 public void onReceive(Context context, Intent intent) {
   String id = AppBroadcaster.getFile(intent);
   pendingFiles.put(id.hashCode(), new ElevationUpdaterEntry(cache, id));
   state.ping();
 }