docs: Added missing closing parenthesis in sample code
The code sample within the "Return a Result" section of the "Allowing Other Apps to Start Your Activity" page was missing a closing parenthesis at the end of the second line. This parenthesis should now appear. Bug: 26845664 Change-Id: Iec58b86889d6e8fa6ad5327678d5e6d63d34f85f
This commit is contained in:
@@ -197,7 +197,7 @@ example:</p>
|
||||
|
||||
<pre>
|
||||
// Create intent to deliver some kind of result data
|
||||
Intent result = new Intent("com.example.RESULT_ACTION", Uri.parse("content://result_uri");
|
||||
Intent result = new Intent("com.example.RESULT_ACTION", Uri.parse("content://result_uri"));
|
||||
setResult(Activity.RESULT_OK, result);
|
||||
finish();
|
||||
</pre>
|
||||
|
||||
Reference in New Issue
Block a user