Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 48276ab9 authored by Dianne Hackborn's avatar Dianne Hackborn Committed by The Android Open Source Project
Browse files

AI 145383: API review: clean up a bunch of @hides that have been pending API review.

  Either expose them, or official hide them with an explanation for why.
  BUG=1779439

Automated import of CL 145383
parent 5eabbd9f
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -738,7 +738,10 @@ public class AlertDialog extends Dialog implements DialogInterface {
         * @return This Builder object to allow for chaining of calls to set
         *         methods
         *         
         * @hide pending API review
         * 
         * This is currently hidden because it seems like people should just
         * be able to put padding around the view.
         * @hide
         */
        public Builder setView(View view, int viewSpacingLeft, int viewSpacingTop,
                int viewSpacingRight, int viewSpacingBottom) {
+0 −1
Original line number Diff line number Diff line
@@ -1407,7 +1407,6 @@ public class Intent implements Parcelable {

    /**
     * Broadcast Action: An input method has been changed.
     * {@hide pending API Council approval}
     */
    @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION)
    public static final String ACTION_INPUT_METHOD_CHANGED =
+3 −2
Original line number Diff line number Diff line
@@ -35,8 +35,9 @@ public final class Configuration implements Parcelable, Comparable<Configuration
    public Locale locale;

    /**
     * Locale should persist on setting
     * @hide pending API council approval
     * Locale should persist on setting.  This is hidden because it is really
     * questionable whether this is the right way to expose the functionality.
     * @hide
     */
    public boolean userSetLocale;

+1 −3
Original line number Diff line number Diff line
@@ -756,7 +756,7 @@ public class Resources {

    /**
     * Open a data stream for reading a raw resource.  This can only be used
     * with resources whose value is the name of an asset files -- that is, it can be
     * with resources whose value is the name of an asset file -- that is, it can be
     * used to open drawable, sound, and raw resources; it will fail on string
     * and color resources.
     *
@@ -766,8 +766,6 @@ public class Resources {
     * @return InputStream Access to the resource data.
     *
     * @throws NotFoundException Throws NotFoundException if the given ID does not exist.
     *
     * @hide Pending API council approval
     */
    public InputStream openRawResource(int id, TypedValue value) throws NotFoundException {
        getValue(id, value, true);
+4 −2
Original line number Diff line number Diff line
@@ -463,14 +463,16 @@ public abstract class AbstractCursor implements CrossProcessCursor {
    }
    
    /**
     * @hide pending API council approval
     * This is hidden until the data set change model has been re-evaluated.
     * @hide
     */
    protected void notifyDataSetChange() {
        mDataSetObservable.notifyChanged();
    }
    
    /**
     * @hide pending API council approval
     * This is hidden until the data set change model has been re-evaluated.
     * @hide
     */
    protected DataSetObservable getDataSetObservable() {
        return mDataSetObservable;
Loading