@Override
 public void onReceive(Context context, Intent intent) {
   final LauncherApplication app = (LauncherApplication) context.getApplicationContext();
   final LauncherProvider provider = app.getLauncherProvider();
   if (provider != null) {
     String name = intent.getStringExtra(EXTRA_WORKSPACE_NAME);
     final int workspaceResId =
         !TextUtils.isEmpty(name)
             ? context.getResources().getIdentifier(name, "xml", "com.android.launcher")
             : 0;
     if (LOGD) {
       Log.d(TAG, "workspace name: " + name + " id: " + workspaceResId);
     }
     new Thread(
             new Runnable() {
               @Override
               public void run() {
                 provider.loadDefaultFavoritesIfNecessary(workspaceResId);
               }
             })
         .start();
   }
 }