From e4db58edd4a0f02b3ad0051fb7cc50829771528e Mon Sep 17 00:00:00 2001 From: Daichi Hirono Date: Wed, 15 Apr 2015 14:33:52 +0900 Subject: DocumentsUI: Use system cancel string resources. BUG=None Change-Id: I989e28ad4729176d66b1b333f242470129d139fa --- packages/DocumentsUI/src/com/android/documentsui/CopyService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/DocumentsUI/src/com/android/documentsui/CopyService.java b/packages/DocumentsUI/src/com/android/documentsui/CopyService.java index 337b862..d2ef3d7 100644 --- a/packages/DocumentsUI/src/com/android/documentsui/CopyService.java +++ b/packages/DocumentsUI/src/com/android/documentsui/CopyService.java @@ -190,7 +190,7 @@ public class CopyService extends IntentService { final Intent cancelIntent = new Intent(this, CopyService.class); cancelIntent.putExtra(EXTRA_CANCEL, mJobId); mProgressBuilder.addAction(R.drawable.ic_cab_cancel, - getString(R.string.cancel), PendingIntent.getService(this, 0, + getString(android.R.string.cancel), PendingIntent.getService(this, 0, cancelIntent, PendingIntent.FLAG_ONE_SHOT)); // Send an initial progress notification. -- cgit v1.1