Skip to content
This repository has been archived by the owner on May 1, 2023. It is now read-only.

Fix to avoid NPE in DOM.ProviderListener.onChildRemoved #85

Merged
merged 1 commit into from
Mar 10, 2015

Conversation

rickbrew
Copy link
Contributor

This should fix the NPE. I also fixed up my LogUtil usage in nearby code.

Closes #83

@@ -23,7 +21,7 @@ private ApplicationUtil() {
try {
return getAllActivitiesHack();
} catch (Exception e) {
LogUtil.w(TAG, e, "Cannot retrieve list of Activity instances. UI inspection may not work!");
LogUtil.w(e, "Cannot retrieve list of Activity instances. UI inspection may not work!");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops :)

@jasta
Copy link
Contributor

jasta commented Mar 10, 2015

Looks good other than these minor issues. Please address, rebase, and merge.

rickbrew added a commit that referenced this pull request Mar 10, 2015
Fix to avoid NPE in DOM.ProviderListener.onChildRemoved
@rickbrew rickbrew merged commit f5dc86e into facebookarchive:elements Mar 10, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants