title: Google Maps and java.lang.SecurityException
body: <blockquote>
    <p>02-14 13:09:38.184: E/DatabaseUtils(2348): Writing exception to parcel
    02-14 13:09:38.184: E/DatabaseUtils(2348):
    java.lang.SecurityException: Permission Denial: get/set setting for
    user asks to run as user -2 but is calling from user 0; this requires
    android.permission.INTERACT_ACROSS_USERS_FULL 02-14 13:09:38.184:
    E/DatabaseUtils(2348):    at
    com.android.server.am.ActivityManagerService.handleIncomingUser(ActivityManagerService.java:13140)
    02-14 13:09:38.184: E/DatabaseUtils(2348):    at
    android.app.ActivityManager.handleIncomingUser(ActivityManager.java:2038)
    02-14 13:09:38.184: E/DatabaseUtils(2348):    at
    com.android.providers.settings.SettingsProvider.callFromPackage(SettingsProvider.java:607)
    02-14 13:09:38.184: E/DatabaseUtils(2348):    at
    android.content.ContentProvider$Transport.call(ContentProvider.java:279)
    02-14 13:09:38.184: E/DatabaseUtils(2348):    at
    android.content.ContentProviderNative.onTransact(ContentProviderNative.java:273)
    02-14 13:09:38.184: E/DatabaseUtils(2348):    at
    android.os.Binder.execTransact(Binder.java:388) 02-14 13:09:38.184:
    E/DatabaseUtils(2348):    at dalvik.system.NativeStart.run(Native
    Method)</p>
  </blockquote>
  
  <p>I've updated my app. But I can't use Google Maps API. When I open activity used Google Maps it shows the log above.
  android.permission.INTERACT_ACROSS_USERS_FULL added to permissions.</p>
  
  <pre><code> &lt;permission
          android:name="my.app.name.permission.MAPS_RECEIVE"
          android:protectionLevel="signature" /&gt;
      &lt;uses-permission android:name="android.permission.GET_TASKS" /&gt;
      &lt;uses-permission android:name="android.permission.VIBRATE" /&gt;
      &lt;uses-permission android:name="my.app.name.permission.MAPS_RECEIVE" /&gt;
      &lt;uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/&gt;
      &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /&gt;
      &lt;uses-permission android:name="android.permission.WAKE_LOCK" /&gt;
      &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/&gt;
      &lt;uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/&gt;
  &lt;!-- The following two permissions are not required to use
       Google Maps Android API v2, but are recommended. --&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/&gt;
      &lt;uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL"/&gt;
  </code></pre>