Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Restricting System (installed apps) leads to fc with some apps #214

Closed
NeuerUser opened this issue Jul 12, 2013 · 5 comments
Closed

Restricting System (installed apps) leads to fc with some apps #214

NeuerUser opened this issue Jul 12, 2013 · 5 comments
Labels

Comments

@NeuerUser
Copy link

With "Springfield: The Simpsons":

FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to create application com.ea.game.simpsons4_row.SimpsonsApplication: com.fiksu.asotracking.FiksuIntegrationError: The Fiksu BroadcastReceiver must be installed as the only receiver for the INSTALL_REFERRER Intent in AndroidManifest.xml.
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4580)
at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
at de.robv.android.xposed.XposedBridge.invokeOriginalMethod(XposedBridge.java:624)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:455)
at android.app.ActivityThread.handleBindApplication(Native Method)
at android.app.ActivityThread.access$1300(ActivityThread.java:153)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1307)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5227)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:110)
at dalvik.system.NativeStart.main(Native Method)
Caused by: com.fiksu.asotracking.FiksuIntegrationError: The Fiksu BroadcastReceiver must be installed as the only receiver for the INSTALL_REFERRER Intent in AndroidManifest.xml.
at com.fiksu.asotracking.InstallTracking.checkForFiksuReceiver(InstallTracking.java:165)
at com.fiksu.asotracking.FiksuTrackingManager.initialize(FiksuTrackingManager.java:22)
at com.ea.simpsons.ScorpioFiksu.initialize(ScorpioFiksu.java:40)
at com.ea.game.simpsons4_row.SimpsonsApplication.setupTelemetry(SimpsonsApplication.java:79)
at com.ea.game.simpsons4_row.SimpsonsApplication.onCreate(SimpsonsApplication.java:66)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1000)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4577)
... 15 more

I also had fcs with Google+, but don't seem to be reproduceble. Will update the bug, when I get a logcat of other apps.

@NeuerUser
Copy link
Author

OK, the fc with Google+ seems to be related to PicasaSync:

[ 07-12 10:02:02.547 24285:24307 E/EsApplication ]
Uncaught exception in background thread Thread[IntentService[GPlusPackageMediaMonitor],5,main]
java.lang.NullPointerException
at com.google.android.picasasync.PicasaFacade.updatePicasaSyncInfo(PicasaFacade.java:258)
at com.google.android.picasasync.PicasaFacade.(PicasaFacade.java:198)
at com.google.android.picasasync.PicasaFacade.get(PicasaFacade.java:189)
at com.google.android.apps.plus.service.PackagesMediaMonitor$AsyncService.onHandleIntent(PackagesMediaMonitor.java:72)
at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.os.HandlerThread.run(HandlerThread.java:60)

[ 07-12 10:02:02.597 24285:24285 E/AndroidRuntime ]
FATAL EXCEPTION: IntentService[GPlusPackageMediaMonitor]
java.lang.NullPointerException
at com.google.android.picasasync.PicasaFacade.updatePicasaSyncInfo(PicasaFacade.java:258)
at com.google.android.picasasync.PicasaFacade.(PicasaFacade.java:198)
at com.google.android.picasasync.PicasaFacade.get(PicasaFacade.java:189)
at com.google.android.apps.plus.service.PackagesMediaMonitor$AsyncService.onHandleIntent(PackagesMediaMonitor.java:72)
at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.os.HandlerThread.run(HandlerThread.java:60)

@M66B
Copy link
Owner

M66B commented Jul 12, 2013

Interesting, why does PicasaSync want to know which applications are installed?

@M66B
Copy link
Owner

M66B commented Jul 12, 2013

The first exception is because one application references another application, which cannot be found because the application list is empty because it is restricted. I see no obvious way to solve this, except by allowing the application to see the list of installed applications.

As a side note, the application seems to be using an outdated mechanism:

http://stackoverflow.com/questions/12649048/what-is-action-androidname-com-android-vending-install-referrer

@NeuerUser
Copy link
Author

Concerning the first FC with Springfield : this seems to be an integrated ad platform, see here :
http://www.fiksu.com/products/overview

@M66B
Copy link
Owner

M66B commented Jul 12, 2013

Since the installed application list is not 'hot' privacy sensitive data I am moving the category system to expert mode to prevent novice users from running into this problem.

@M66B M66B closed this as completed Jul 12, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants