Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ignore leakcanary issue #297; AOSP issue #188551 #298

Closed
wants to merge 149 commits into from
Closed

Conversation

Yky
Copy link
Contributor

@Yky Yky commented Oct 4, 2015

No description provided.

nhachicha and others added 30 commits May 9, 2015 12:56
Link to Slack / HipChat gist
* Heap dumps and analysis results were previously saved in the app directory. They are now saved on the external storage (sd card).
* Centralized internal static helper methods to a dedicated class: `LeakCanaryInternals`.

BREAKING CHANGES

* When upgrading, previously saved heap dumps will be lost, but won't be removed from the app directory. You should probably uninstall your app.
* Added permission WRITE_EXTERNAL_STORAGE
* Public API change: Removed `Application` parameter in `LeakCanary.androidWatcher()`
* Public API change: Removed `Application` parameter in `AndroidHeapDumper()`

* Fixes square#21 (can't share heap dump)
* This is a step towards fixing square#15 (strict mode violations), although there's still more work.
* ExcludedRef is immutable, added ExcludedRef.Builder to create one.
* AndroidExcludedRef returns a ExcludedRef.Builder
* ExcludedRef is Serializable and belongs to HeapDump, it now gets passed from the RefWatcher. This also makes the saved result more coherent.
* Moved ExcludedRef from analyzer to watcher module

Fix for square#12
Ignoring SpellCheckerSessionListenerImpl leak
Tests did not compile, introduced by square#30

We need Travis (and I should run my builds locally...)
This icon was entirely recreated as a vector asset in Affinity
Designer. I can check in the source Affinity Designer or other vector
variants as needed (PDF, SVG, etc.)
- Introduces a Ui class to hold methods and values useful to several
views (colors, xfermodes, etc.)
- Make Paints static where possible, this saves on memory and
allocations, it may also help draw batching
- Set Paints’ antialiasing flag at instantiation time
- Use a switch on connector type instead of an if. It is safer and
since Type is an enum, we get the static imports for free
This change also moves a setStrokeWidth() from onDraw() to a
constructor, as discussed in code review
* HAHA 1.2 has no .properties resource file which should fix square#46
Change DefaultAnalysisResultService to DisplayLeakService
// dialog has been closed and as a result leaks the Activity.
// This can be fixed manually by calling setCursorEnabled(false) in the dismiss() method of
// the dialog
excluded.instanceField("android.widget.EditText", "mContext");
Copy link
Member

Choose a reason for hiding this comment

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

Let's be more specific, ie "android.widget.Editor$Blink", "this$0" instead.

@pyricau
Copy link
Member

pyricau commented Jan 4, 2016

Can you squash all 4 commits to 1, and also sign the CLA? https://github.com/square/leakcanary/blob/master/CONTRIBUTING.md

@pyricau pyricau added this to the 1.4 milestone Jan 4, 2016
@pyricau pyricau removed this from the 1.4 milestone Jan 8, 2016
@Yky
Copy link
Contributor Author

Yky commented Feb 1, 2016

I signed the CLA.

@Yky
Copy link
Contributor Author

Yky commented Feb 10, 2016

I also squashed all 4 commits to 1.

@Yky
Copy link
Contributor Author

Yky commented Feb 21, 2016

Something went wrong here. I only want commit 845eb60 to be merged. None of the other commits.

@pyricau
Copy link
Member

pyricau commented Mar 19, 2016

I took your commit, applied the changes I was asking for, and created a new clean PR for it: #457 . It'll still be in your name :) .

@pyricau pyricau closed this Mar 19, 2016
@Yky
Copy link
Contributor Author

Yky commented Mar 20, 2016

Thanks, I'll do better next time :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.