Monday, November 8, 2010

[android-developers] Re: LVL suggestion

Just to reply to myself: Doing the above change also allows you to
remove ILicensingService from the non-to-be-obfuscated class names,
which I think is fairly important.

I will ask again, hopefully somebody on the LVL team reads this,
should I file a bug report for this?

On Nov 2, 10:13 am, Zsolt Vasvari <zvasv...@gmail.com> wrote:
> I just banged my head against the wall for half a day on this problem.
>
> I moved the LVL code into my project's namespace, but the following
> call in LicenseChecker.checkAccess() would fail:
>
> boolean bindResult = mContext.bindService(new
> Intent(ILicensingService.class.getName()), this,
> Context.BIND_AUTO_CREATE);
>
> May I suggest that this be changed to:
>
> boolean bindResult = mContext.bindService(new
> Intent(ILicensingService.Stub.DESCRIPTOR), this,
> Context.BIND_AUTO_CREATE);
>
> and, obviously, DESCRIPTOR made package private.
>
> Should I file a bug report?

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate