diff options
Diffstat (limited to 'services/java/com')
-rw-r--r-- | services/java/com/android/server/LocationManagerService.java | 2 | ||||
-rw-r--r-- | services/java/com/android/server/am/ActivityManagerService.java | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/services/java/com/android/server/LocationManagerService.java b/services/java/com/android/server/LocationManagerService.java index bbb43d7..4c3893c 100644 --- a/services/java/com/android/server/LocationManagerService.java +++ b/services/java/com/android/server/LocationManagerService.java @@ -1315,7 +1315,7 @@ public class LocationManagerService extends ILocationManager.Stub implements Run /** * @return null if the provider does not exits - * @throw SecurityException if the provider is not allowed to be + * @throws SecurityException if the provider is not allowed to be * accessed by the caller */ public Bundle getProviderInfo(String provider) { diff --git a/services/java/com/android/server/am/ActivityManagerService.java b/services/java/com/android/server/am/ActivityManagerService.java index 65070dd..a67f714 100644 --- a/services/java/com/android/server/am/ActivityManagerService.java +++ b/services/java/com/android/server/am/ActivityManagerService.java @@ -4102,7 +4102,7 @@ public final class ActivityManagerService extends ActivityManagerNative implemen * @param resultCode Result code, if any, from this Activity. * @param resultData Result data (Intent), if any, from this Activity. * - * @result Returns true if the activity successfully finished, or false if it is still running. + * @return Returns true if the activity successfully finished, or false if it is still running. */ public final boolean finishActivity(IBinder token, int resultCode, Intent resultData) { // Refuse possible leaked file descriptors @@ -6035,6 +6035,7 @@ public final class ActivityManagerService extends ActivityManagerNative implemen } // If the target requires a specific UID, always fail for others. if (reqUid >= 0 && uid != reqUid) { + Log.w(TAG, "Permission denied: checkComponentPermission() reqUid=" + reqUid); return PackageManager.PERMISSION_DENIED; } if (permission == null) { |