Closed
Bug 1401779
Opened 7 years ago
Closed 7 years ago
Use new version of onCreateView
Categories
(Firefox for Android Graveyard :: General, enhancement)
Tracking
(firefox57 fixed)
RESOLVED
FIXED
Firefox 57
Tracking | Status | |
---|---|---|
firefox57 | --- | fixed |
People
(Reporter: mcomella, Assigned: mcomella)
References
Details
Attachments
(1 file)
The version we're currently using states [1]:
This implementation does nothing and is for pre-HONEYCOMB apps. Newer apps should use onCreateView(View, String, Context, AttributeSet).
---
We no longer support pre-HC devices so we should move to the new method.
[1]: https://developer.android.com/reference/android/app/Activity.html#onCreateView(java.lang.String,%20android.content.Context,%20android.util.AttributeSet)
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → michael.l.comella
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8910531 [details]
Bug 1401779: Use HC+ Actvitiy.onCreateView.
https://reviewboard.mozilla.org/r/181966/#review187356
Since we're now r16+, I don't see any reason to not use the newer version of onCreateView. lgtm
::: mobile/android/base/java/org/mozilla/gecko/BrowserApp.java:363
(Diff revision 1)
> private final Set<String> mStreamIconLayoutFailedRequestCache = StreamOverridablePageIconLayout.newFailedRequestCache();
>
> private boolean mHasResumed;
>
> @Override
> - public View onCreateView(final String name, final Context context, final AttributeSet attrs) {
> + public View onCreateView(final View parent, final String name, final Context context, final AttributeSet attrs) {
Saw a note that parent might be null, but it looks like we don't use parent anyway.
Attachment #8910531 -
Flags: review?(liuche) → review+
Pushed by cliu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/22f5e644534b
Use HC+ Actvitiy.onCreateView. r=liuche
![]() |
||
Comment 4•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox57:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 57
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•