how to force public API

491 views
Skip to first unread message

todd.lee

unread,
May 17, 2011, 9:57:02 AM5/17/11
to Android Building
Hi there,

For devel/testing purposes, I need to provide a third party dev team
with an SDK that includes android.text.IClipboard as part of the
public API. The IClipboard.aidl included in frameworks/base/core/java/
android/text is currently annotated with @hide to prevent this.

For my dev build, I removed the annotation and then did make update-
api assuming that this should have put IClipboard in current.xml as
public. However, that is not the case (no IClipboard at all).

I've verified that core/java/android/text/IClipboard.aidl is inluded
in LOCAL_SRC_FILES in frameworks/base/Android.mk, so I'm wondering
what I could be missing??

If anyone can shed some light, it would be greatly appreciated.

Cheers,
Todd

todd.lee

unread,
May 18, 2011, 11:51:05 AM5/18/11
to Android Building
Just pinging to see if anyone has any suggestions on this (feel free
to redirect if this is the wrong forum for the question).

Many thanks,
Todd

Jean-Baptiste Queru

unread,
May 18, 2011, 11:58:11 AM5/18/11
to android-...@googlegroups.com
You might get better luck on android-platform. Android-building is
quite narrowly focused and what you're asking is on the fringe of what
we typically discuss here.

JBQ

> --
> You received this message because you are subscribed to the "Android Building" mailing list.
> To post to this group, send email to android-...@googlegroups.com
> To unsubscribe from this group, send email to
> android-buildi...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en
>

--
Jean-Baptiste M. "JBQ" Queru
Software Engineer, Android Open-Source Project, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

todd.lee

unread,
May 18, 2011, 12:20:40 PM5/18/11
to Android Building
Thanks for the pointer - will try over there.
Cheers
T

Ying Wang

unread,
May 18, 2011, 3:50:27 PM5/18/11
to android-...@googlegroups.com
After some investigation, I think there is a bug in framework/base/Android.mk.
The bug causes any generated source not to be included in the droiddoc.
Here is the fix:

todd.lee

unread,
May 19, 2011, 3:37:21 PM5/19/11
to Android Building
Thanks - that was indeed the issue!

T

On May 18, 3:50 pm, Ying Wang <wangy...@android.com> wrote:
> After some investigation, I think there is a bug in
> framework/base/Android.mk.
> The bug causes any generated source not to be included in the droiddoc.
> Here is the fix:https://review.source.android.com/22943
>
Reply all
Reply to author
Forward
0 new messages