am a1c69e08: Fix a small bug when granting permissions through activity results.
Merge commit 'a1c69e084b5242ad4e4a1ef2fe8d99ba259b5af4' into gingerbread-plus-aosp * commit 'a1c69e084b5242ad4e4a1ef2fe8d99ba259b5af4': Fix a small bug when granting permissions through activity results.
This commit is contained in:
@@ -203612,7 +203612,7 @@
|
||||
synchronized="true"
|
||||
static="false"
|
||||
final="false"
|
||||
deprecated="not deprecated"
|
||||
deprecated="deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
</method>
|
||||
@@ -204160,7 +204160,7 @@
|
||||
synchronized="true"
|
||||
static="false"
|
||||
final="false"
|
||||
deprecated="not deprecated"
|
||||
deprecated="deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
<parameter name="pluginsPath" type="java.lang.String">
|
||||
|
||||
@@ -2885,7 +2885,8 @@ public class ActivityStack {
|
||||
+ " res=" + resultCode + " data=" + resultData);
|
||||
if (r.info.applicationInfo.uid > 0) {
|
||||
mService.grantUriPermissionFromIntentLocked(r.info.applicationInfo.uid,
|
||||
r.packageName, resultData, r.getUriPermissionsLocked());
|
||||
resultTo.packageName, resultData,
|
||||
resultTo.getUriPermissionsLocked());
|
||||
}
|
||||
resultTo.addResultLocked(r, r.resultWho, r.requestCode, resultCode,
|
||||
resultData);
|
||||
|
||||
Reference in New Issue
Block a user