diff options
author | Daichi Hirono <hirono@google.com> | 2015-04-15 14:33:52 +0900 |
---|---|---|
committer | Daichi Hirono <hirono@google.com> | 2015-04-15 14:33:52 +0900 |
commit | e4db58edd4a0f02b3ad0051fb7cc50829771528e (patch) | |
tree | c20070e0df32b67f0c39b5b9589c7368f5ddc7db | |
parent | c96e494ac73e11dfd34a2df39c80d673474c4d44 (diff) | |
download | frameworks_base-e4db58edd4a0f02b3ad0051fb7cc50829771528e.zip frameworks_base-e4db58edd4a0f02b3ad0051fb7cc50829771528e.tar.gz frameworks_base-e4db58edd4a0f02b3ad0051fb7cc50829771528e.tar.bz2 |
DocumentsUI: Use system cancel string resources.
BUG=None
Change-Id: I989e28ad4729176d66b1b333f242470129d139fa
-rw-r--r-- | packages/DocumentsUI/src/com/android/documentsui/CopyService.java | 2 |
1 files changed, 1 insertions, 1 deletions
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. |