Closed
Bug 934831
Opened 11 years ago
Closed 11 years ago
[gonk-misc]Checking jb4.2.2 support
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: thomas, Assigned: seinlin)
Details
Attachments
(1 file, 2 obsolete files)
fakeappops is not supported in jb4.2.2,but jb4.3. There are still some OEM/ODM developing in jb4.2.2, so this check can pass the build.
Reporter | ||
Updated•11 years ago
|
Flags: needinfo?(mchen)
Reporter | ||
Updated•11 years ago
|
Summary: [gonk-misc]No fakeappops in jb4.2.2 → [gonk-misc]Checking jb4.2.2 support
Reporter | ||
Comment 1•11 years ago
|
||
fakesched and fakeappops are not supported in jb4.2.2
Reporter | ||
Updated•11 years ago
|
Flags: needinfo?(kli)
Assignee | ||
Comment 2•11 years ago
|
||
Attachment #827178 -
Attachment is obsolete: true
Attachment #827192 -
Attachment is obsolete: true
Attachment #827239 -
Flags: review?(mchen)
Flags: needinfo?(kli)
Comment 3•11 years ago
|
||
Comment on attachment 827239 [details] [review] jb4.2.2 support Since the SDK version can be used to distinguish ICS/JB MR1/MR2 already, we can remove additional "folder checking".
Attachment #827239 -
Flags: review?(mchen)
Updated•11 years ago
|
Flags: needinfo?(mchen)
Assignee | ||
Comment 4•11 years ago
|
||
Comment on attachment 827239 [details] [review] jb4.2.2 support Marco, the folder checking is remove and pull request is updated. Thanks!
Attachment #827239 -
Flags: review?(mchen)
Comment 5•11 years ago
|
||
Comment on attachment 827239 [details] [review] jb4.2.2 support ICS build will be broken so please exclude the ICS too. Thanks.
Attachment #827239 -
Flags: review?(mchen)
Comment 6•11 years ago
|
||
If possible, please check the source tree to determine whether things things need to be built, rather than checking the platform version. fakesched was originally written for 4.2. Are you sure it isn't required?
Assignee | ||
Comment 7•11 years ago
|
||
Comment on attachment 827239 [details] [review] jb4.2.2 support The pull request is updated, -fakesched 4.2 and 4.3 get different function defined for "requestPriority". determine by using PLATFORM_SDK_VERSION -fakeappops both 4.2 and 4.3 get this dir "frameworks/native/libs/binder" determine by using "frameworks/native/libs/binder/IAppOpsService.cpp"
Attachment #827239 -
Flags: review?(mchen)
Comment 8•11 years ago
|
||
Comment on attachment 827239 [details] [review] jb4.2.2 support It looks good to me already so transfer to reviewer - :mwu. Hi Michael, Please help to review this patch . Thanks.
Attachment #827239 -
Flags: review?(mwu)
Attachment #827239 -
Flags: review?(mchen)
Attachment #827239 -
Flags: feedback+
Comment 9•11 years ago
|
||
Thanks, this looks better. Just one thing I'd like to check - does it work if you implement both versions requestPriority instead of having a compile time check? The linker should just pick up the right one.
Assignee | ||
Comment 10•11 years ago
|
||
Overloading the function "requestPriority" also does work. So is it better to have both versions of "requestPriority" instead of having a compile flags?
Comment 11•11 years ago
|
||
I think so - it's usually worth avoiding ifdefs.
Assignee | ||
Comment 12•11 years ago
|
||
Pull request is updated.
Updated•11 years ago
|
Attachment #827239 -
Flags: review?(mwu) → review+
Updated•11 years ago
|
Assignee: nobody → kli
You need to log in
before you can comment on or make changes to this bug.
Description
•