-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Remove old references to "__" prefixed resources initiated by #159 #263
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -181,37 +181,37 @@ That way, your release code will contain no reference to LeakCanary other than t | |
|
||
### Icon and label | ||
|
||
`DisplayLeakActivity` comes with a default icon and label, which you can change by providing `R.drawable.__leak_canary_icon` and `R.string.__leak_canary_display_activity_label` in your app: | ||
`DisplayLeakActivity` comes with a default icon and label, which you can change by providing `R.drawable.leak_canary_icon` and `R.string.leak_canary_display_activity_label` in your app: | ||
|
||
``` | ||
res/ | ||
drawable-hdpi/ | ||
__leak_canary_icon.png | ||
leak_canary_icon.png | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We'll have to do the changes on There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Another option: create a file named README-1.4.md that contains those changes. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh I see. Is there such a "pending" area to keep track of these kind of changes? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No pending area right now. Suggestions welcome. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Release branches could be just fine right? |
||
drawable-mdpi/ | ||
__leak_canary_icon.png | ||
leak_canary_icon.png | ||
drawable-xhdpi/ | ||
__leak_canary_icon.png | ||
leak_canary_icon.png | ||
drawable-xxhdpi/ | ||
__leak_canary_icon.png | ||
leak_canary_icon.png | ||
drawable-xxxhdpi/ | ||
__leak_canary_icon.png | ||
leak_canary_icon.png | ||
``` | ||
|
||
```xml | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<string name="__leak_canary_display_activity_label">MyLeaks</string> | ||
<string name="leak_canary_display_activity_label">MyLeaks</string> | ||
</resources> | ||
``` | ||
|
||
### Stored leak traces | ||
|
||
`DisplayLeakActivity` saves up to 7 heap dumps & leak traces in the app directory. You can change that number by providing `R.integer.__leak_canary_max_stored_leaks` in your app: | ||
`DisplayLeakActivity` saves up to 7 heap dumps & leak traces in the app directory. You can change that number by providing `R.integer.leak_canary_max_stored_leaks` in your app: | ||
|
||
```xml | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<integer name="__leak_canary_max_stored_leaks">20</integer> | ||
<integer name="leak_canary_max_stored_leaks">20</integer> | ||
</resources> | ||
``` | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope. These are the change logs for 1.3.1, which wont' change what so ever.