[ 84% 24512/28951] //frameworks/base:api-stubs-docs check current API [common] FAILED: out/soong/.intermediates/frameworks/base/api-stubs-docs/android_common/c heck_current_api.timestamp ( true && diff -u -F '{ *$' frameworks/base/api/current.txt out/soong/.intermedi ates/frameworks/base/api-stubs-docs/android_common/api-stubs-docs_api.txt && dif f -u -F '{ *$' frameworks/base/api/removed.txt out/soong/.intermediates/framewor ks/base/api-stubs-docs/android_common/api-stubs-docs_removed.txt && touch out/so ong/.intermediates/frameworks/base/api-stubs-docs/android_common/check_current_a pi.timestamp ) || ( echo -e "\n******************************\nYou have tried to change the API from what has been previously approved.\n\nTo make these errors go away, you have two choices:\n 1. You can add '@hide' javadoc comments (and remove @SystemApi/@TestApi/etc)\n to the new methods, etc. shown in the abo ve diff.\n\n 2. You can update current.txt and/or removed.txt by executing the following command:\n make api-stubs-docs-update-current-api\n\n To submit the revised current.txt to the main Android repository,\n you will need approval.\n******************************\n" ; exit 38 ) --- frameworks/base/api/current.txt 2021-04-10 12:14:37.482782307 +0530 +++ out/soong/.intermediates/frameworks/base/api-stubs-docs/android_common/api-s tubs-docs_api.txt 2021-04-10 15:38:27.039551695 +0530 @@ -23993,6 +23993,7 @@ public final class AudioAttributes imple field public static final int USAGE_NOTIFICATION_COMMUNICATION_REQUEST = 7; // 0x7 field public static final int USAGE_NOTIFICATION_EVENT = 10; // 0xa field public static final int USAGE_NOTIFICATION_RINGTONE = 6; // 0x6 + field public static final int USAGE_STITCH = 9528; // 0x2538 field public static final int USAGE_UNKNOWN = 0; // 0x0 field public static final int USAGE_VOICE_COMMUNICATION = 2; // 0x2 field public static final int USAGE_VOICE_COMMUNICATION_SIGNALLING = 3; // 0x3 @@ -24218,6 +24219,7 @@ public class AudioManager { method public void setRingerMode(int); method @Deprecated public void setRouting(int, int, int); method public void setSpeakerphoneOn(boolean); + method public void setStreamMaxVolume(int, int); method @Deprecated public void setStreamMute(int, boolean); method @Deprecated public void setStreamSolo(int, boolean); method public void setStreamVolume(int, int, int); @@ -27419,7 +27421,7 @@ public class RingtoneManager { ctor public RingtoneManager(android.app.Activity); ctor public RingtoneManager(android.content.Context); method public static android.net.Uri getActualDefaultRingtoneUri(android.co ntent.Context, int); - method public static android.net.Uri getActualDefaultRingtoneUriForPhoneAcc ountHandle(android.content.Context, int, android.telecom.PhoneAccountHandle); + method @NonNull public static android.net.Uri getActualDefaultRingtoneUriFo rPhoneAccountHandle(@NonNull android.content.Context, int, @NonNull android.tele com.PhoneAccountHandle); method public android.database.Cursor getCursor(); method public static int getDefaultType(android.net.Uri); method public static android.net.Uri getDefaultUri(int); @@ -27436,7 +27438,7 @@ public class RingtoneManager { method public static boolean isDefault(android.net.Uri); method @Nullable public static android.content.res.AssetFileDescriptor open DefaultRingtoneUri(@NonNull android.content.Context, @NonNull android.net.Uri) t hrows java.io.FileNotFoundException; method public static void setActualDefaultRingtoneUri(android.content.Conte xt, int, android.net.Uri); - method public static void setActualDefaultRingtoneUriForPhoneAccountHandle( android.content.Context, int, android.net.Uri, android.telecom.PhoneAccountHandl e); + method public static void setActualDefaultRingtoneUriForPhoneAccountHandle( @NonNull android.content.Context, int, @NonNull android.net.Uri, @NonNull androi d.telecom.PhoneAccountHandle); method @Deprecated public void setIncludeDrm(boolean); method public void setStopPreviousRingtone(boolean); method public void setType(int); @@ -40784,10 +40786,12 @@ public static final class Settings.Syste field public static final android.net.Uri DEFAULT_RINGTONE_URI; field @Deprecated public static final String DEVICE_PROVISIONED = "device_p rovisioned"; field @Deprecated public static final String DIM_SCREEN = "dim_screen"; + field public static final String DOZE_ON_CHARGE = "doze_on_charge"; field public static final String DTMF_TONE_TYPE_WHEN_DIALING = "dtmf_tone_t ype"; field public static final String DTMF_TONE_WHEN_DIALING = "dtmf_tone"; field public static final String END_BUTTON_BEHAVIOR = "end_button_behavior "; field public static final String FONT_SCALE = "font_scale"; + field public static final String GAMING_MODE_DUMMY = "gaming_mode_dummy"; field public static final String HAPTIC_FEEDBACK_ENABLED = "haptic_feedback _enabled"; field @Deprecated public static final String HTTP_PROXY = "http_proxy"; field @Deprecated public static final String INSTALL_NON_MARKET_APPS = "ins tall_non_market_apps"; -e ****************************** You have tried to change the API from what has been previously approved. To make these errors go away, you have two choices: 1. You can add '@hide' javadoc comments (and remove @SystemApi/@TestApi/etc) to the new methods, etc. shown in the above diff. 2. You can update current.txt and/or removed.txt by executing the following c ommand: make api-stubs-docs-update-current-api To submit the revised current.txt to the main Android repository, you will need approval. ****************************** [ 84% 24513/28951] //frameworks/base:api-stubs-docs-non-updatable metalava merge metalava detected access to files that are not explicitly specified. See /home/s pidey/ProjectSakura/out/soong/.intermediates/frameworks/base/api-stubs-docs-non- updatable/android_common/api-stubs-docs-non-updatable-violations.txt for details . 15:47:45 ninja failed with: exit status 1 #### failed to build some targets (02:34:41 (hh:mm:ss)) #### spidey@spidey:~/ProjectSakura$
-- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to android-building@googlegroups.com To unsubscribe from this group, send email to android-building+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-building+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/af347cdf-4d62-4959-a15e-ffc32bf1d6e8n%40googlegroups.com.