import com.owncloud.android.operations.SynchronizeFolderOperation;\r
import com.owncloud.android.operations.UpdateOCVersionOperation;\r
import com.owncloud.android.operations.RemoteOperationResult.ResultCode;\r
-import com.owncloud.android.ui.activity.ExplanationActivity;\r
+import com.owncloud.android.ui.activity.GenericExplanationActivity;\r
import android.accounts.Account;\r
import android.app.Notification;\r
import android.app.NotificationManager;\r
notification.flags |= Notification.FLAG_AUTO_CANCEL;\r
\r
/// includes a pending intent in the notification showing a more detailed explanation\r
- Intent explanationIntent = new Intent(getContext(), ExplanationActivity.class);\r
+ Intent explanationIntent = new Intent(getContext(), GenericExplanationActivity.class);\r
String message = String.format(getContext().getString(R.string.sync_foreign_files_forgotten_explanation), getContext().getString(R.string.app_name), getAccount().name);\r
- explanationIntent.putExtra(ExplanationActivity.MESSAGE, message);\r
+ explanationIntent.putExtra(GenericExplanationActivity.MESSAGE, message);\r
ArrayList<String> remotePaths = new ArrayList<String>();\r
ArrayList<String> localPaths = new ArrayList<String>();\r
for (String remote : mForgottenLocalFiles.keySet()) {\r
remotePaths.add(getContext().getString(R.string.sync_foreign_files_forgotten_remote_prefix) + remote);\r
localPaths.add(getContext().getString(R.string.sync_foreign_files_forgotten_local_prefix) + mForgottenLocalFiles.get(remote));\r
}\r
- explanationIntent.putExtra(ExplanationActivity.EXTRA_LIST, localPaths);\r
- explanationIntent.putExtra(ExplanationActivity.EXTRA_LIST_2, remotePaths); \r
+ explanationIntent.putExtra(GenericExplanationActivity.EXTRA_LIST, localPaths);\r
+ explanationIntent.putExtra(GenericExplanationActivity.EXTRA_LIST_2, remotePaths); \r
explanationIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);\r
\r
notification.contentIntent = PendingIntent.getActivity(getContext().getApplicationContext(), (int)System.currentTimeMillis(), explanationIntent, 0);\r