StrictModeDiskReadViolation when first opening Settings screen on Galaxy Nexus

NEW
Unassigned

Status

()

6 years ago
2 years ago

People

(Reporter: cpeterson, Unassigned)

Tracking

(Blocks: 1 bug)

16 Branch
ARM
Android
Points:
---

Firefox Tracking Flags

(firefox15 unaffected, firefox16 affected)

Details

(Reporter)

Description

6 years ago
I see this strict mode violation on ICS Galaxy Nexus, but not Gingerbread Galaxy Note. I have not tested ICS Galaxy Note.

Aurora 15 is unaffected.

STR:
1. Make sure Fennec is not already running!
2. Run Fennec on Galaxy Nexus
3. Open dropdown menu
4. Select Settings menu item

AR:
adb logcat reports:

D/StrictMode( 4197): StrictMode policy violation; ~duration=8 ms: android.os.StrictMode$StrictModeDiskReadViolation: policy=31 violation=2
D/StrictMode( 4197): 	at android.os.StrictMode$AndroidBlockGuardPolicy.onReadFromDisk(StrictMode.java:1089)
D/StrictMode( 4197): 	at android.app.SharedPreferencesImpl.awaitLoadedLocked(SharedPreferencesImpl.java:184)
D/StrictMode( 4197): 	at android.app.SharedPreferencesImpl.contains(SharedPreferencesImpl.java:249)
D/StrictMode( 4197): 	at android.preference.Preference.dispatchSetInitialValue(Preference.java:1307)
D/StrictMode( 4197): 	at android.preference.Preference.onAttachedToHierarchy(Preference.java:1124)
D/StrictMode( 4197): 	at android.preference.PreferenceGroup.addPreference(PreferenceGroup.java:156)
D/StrictMode( 4197): 	at android.preference.PreferenceGroup.addItemFromInflater(PreferenceGroup.java:97)
D/StrictMode( 4197): 	at android.preference.PreferenceGroup.addItemFromInflater(PreferenceGroup.java:38)
D/StrictMode( 4197): 	at android.preference.GenericInflater.rInflate(GenericInflater.java:488)
D/StrictMode( 4197): 	at android.preference.GenericInflater.rInflate(GenericInflater.java:493)
D/StrictMode( 4197): 	at android.preference.GenericInflater.inflate(GenericInflater.java:326)
D/StrictMode( 4197): 	at android.preference.GenericInflater.inflate(GenericInflater.java:263)
D/StrictMode( 4197): 	at android.preference.PreferenceManager.inflateFromResource(PreferenceManager.java:269)
D/StrictMode( 4197): 	at android.preference.PreferenceActivity.addPreferencesFromResource(PreferenceActivity.java:1403)
D/StrictMode( 4197): 	at org.mozilla.gecko.GeckoPreferences.onCreate(GeckoPreferences.java:50)
D/StrictMode( 4197): 	at android.app.Activity.performCreate(Activity.java:4465)
D/StrictMode( 4197): 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
D/StrictMode( 4197): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1920)
D/StrictMode( 4197): 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
D/StrictMode( 4197): 	at android.app.ActivityThread.access$600(ActivityThread.java:123)
D/StrictMode( 4197): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
D/StrictMode( 4197): 	at android.os.Handler.dispatchMessage(Handler.java:99)
D/StrictMode( 4197): 	at android.os.Looper.loop(Looper.java:137)
D/StrictMode( 4197): 	at android.app.ActivityThread.main(ActivityThread.java:4424)
D/StrictMode( 4197): 	at java.lang.reflect.Method.invokeNative(Native Method)
D/StrictMode( 4197): 	at java.lang.reflect.Method.invoke(Method.java:511)
D/StrictMode( 4197): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
D/StrictMode( 4197): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
D/StrictMode( 4197): 	at dalvik.system.NativeStart.main(Native Method)
I believe this is fixed with Michael's recent settings patches.
Taking to verify.
QA Contact: nhirata.bugzilla
You need to log in before you can comment on or make changes to this bug.