Closed Bug 934831 Opened 11 years ago Closed 11 years ago

[gonk-misc]Checking jb4.2.2 support

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

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.
Flags: needinfo?(mchen)
Summary: [gonk-misc]No fakeappops in jb4.2.2 → [gonk-misc]Checking jb4.2.2 support
Attached patch jb4.2.2.patch (obsolete) — Splinter Review
fakesched and fakeappops are not supported in jb4.2.2
Flags: needinfo?(kli)
Attached file jb4.2.2 support
Attachment #827178 - Attachment is obsolete: true
Attachment #827192 - Attachment is obsolete: true
Attachment #827239 - Flags: review?(mchen)
Flags: needinfo?(kli)
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)
Flags: needinfo?(mchen)
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 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)
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?
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 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+
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.
Overloading the function "requestPriority" also does work. So is it better to have both versions of "requestPriority" instead of having a compile  flags?
I think so - it's usually worth avoiding ifdefs.
Pull request is updated.
Attachment #827239 - Flags: review?(mwu) → review+
Assignee: nobody → kli
Merged
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: