Skip to content
Snippets Groups Projects
  1. May 03, 2024
    • Oriol Prieto Gasco's avatar
      RESTRICT AUTOMERGE · 7b816129
      Oriol Prieto Gasco authored
      Set the container field of aconfig flags
      
      Test: printflags --format='{package}:{container}:' | grep "::"
      Bug: 312769710
      Flag: NONE
      Change-Id: I84fda0d5e9813940609436d825738ff786908ff0
      7b816129
  2. Feb 29, 2024
  3. Feb 28, 2024
    • Zhi Dou's avatar
      Create exported mode flag library for package android.os · 3256901e
      Zhi Dou authored
      This change creates exported mode flag library for package android.os.
      This exported flag library should be used in other containers.
      
      Bug: 321743530
      Test: presubmit
      Change-Id: Idd1323ac8ac17833df1a7de6642262384f253095
      3256901e
  4. Feb 22, 2024
  5. Feb 20, 2024
    • Zhi Dou's avatar
      Revert "Create exported mode library for package android.service.notification" · 2f858356
      Zhi Dou authored
      This reverts commit 7aa2a3af.
      
      Reason for revert: b/326075332
      
      Change-Id: I0da1ac971619b22f34cb69432df1ef21d1c84c4a
      2f858356
    • Kangping Dong's avatar
      [Thread] rename package name for Thread platform flags · 3c355586
      Kangping Dong authored
      There are two Thread flag files in frameworks/base and
      packages/modules/Connectivity/thread. Both are currently using the same
      "com.android.net.thread.flags" package name for their flags. While all
      flags needs to be built in a aconfig_declarations target, two aconfig_declarations
      can't have the same package name:
      
      ```
      FAILED: out/soong/build.aosp_arm.ninja
      cd "$(dirname "out/host/linux-x86/bin/soong_build")" && BUILDER="$PWD/$(basename "out/host/linux-x86/bin/soong_build")" && cd / && env -i  "$BUILDER"     --top "$TOP"     --soong_out "out/soong"     --out "out"     --soong_variables out/soong/soong.aosp_arm.variables -o out/soong/b
      uild.aosp_arm.ninja --globListDir aosp_arm --globFile out/soong/globs-aosp_arm.ninja -l out/.module_paths/Android.bp.list --available_env out/soong/soong.environment.available --used_env out/soong/soong.environment.used.aosp_arm.build Android.bp
      2 aconfig_declarations found for package com.android.net.thread.flags
      ```
      
      To resolve this issue, this commit renames the platform flags to package
      name "android.net.thread.platform.flags".
      
      This commit is required by ag/26286387
      
      Bug: 325886480
      Merged-In: Icacf88f7c0aa499b4b29f4072ae58840f0b1761f
      Change-Id: Icacf88f7c0aa499b4b29f4072ae58840f0b1761f
      3c355586
    • Kangping Dong's avatar
      [Thread] rename package name for Thread platform flags · 9cb44920
      Kangping Dong authored
      (This is a cherry-pick of aosp/2968526 for resolving merge conflicts)
      
      There are two Thread flag files in frameworks/base and
      packages/modules/Connectivity/thread. Both are currently using the same
      "com.android.net.thread.flags" package name for their flags. While all
      flags needs to be built in a aconfig_declarations target, two aconfig_declarations
      can't have the same package name:
      
      ```
      FAILED: out/soong/build.aosp_arm.ninja
      cd "$(dirname "out/host/linux-x86/bin/soong_build")" && BUILDER="$PWD/$(basename "out/host/linux-x86/bin/soong_build")" && cd / && env -i  "$BUILDER"     --top "$TOP"     --soong_out "out/soong"     --out "out"     --soong_variables out/soong/soong.aosp_arm.variables -o out/soong/b
      uild.aosp_arm.ninja --globListDir aosp_arm --globFile out/soong/globs-aosp_arm.ninja -l out/.module_paths/Android.bp.list --available_env out/soong/soong.environment.available --used_env out/soong/soong.environment.used.aosp_arm.build Android.bp
      2 aconfig_declarations found for package com.android.net.thread.flags
      ```
      
      To resolve this issue, this commit renames the platform flags to package
      name "android.net.thread.platform.flags".
      
      This commit is required by ag/26286387
      
      Bug: 325886480
      Merged-In: Icacf88f7c0aa499b4b29f4072ae58840f0b1761f
      Change-Id: Icacf88f7c0aa499b4b29f4072ae58840f0b1761f
      9cb44920
    • Kangping Dong's avatar
      [Thread] rename package name for Thread platform flags · d7b70b88
      Kangping Dong authored
      (This is a cherry-pick of aosp/2968526 for resolving merge conflicts)
      
      There are two Thread flag files in frameworks/base and
      packages/modules/Connectivity/thread. Both are currently using the same
      "com.android.net.thread.flags" package name for their flags. While all
      flags needs to be built in a aconfig_declarations target, two aconfig_declarations
      can't have the same package name:
      
      ```
      FAILED: out/soong/build.aosp_arm.ninja
      cd "$(dirname "out/host/linux-x86/bin/soong_build")" && BUILDER="$PWD/$(basename "out/host/linux-x86/bin/soong_build")" && cd / && env -i  "$BUILDER"     --top "$TOP"     --soong_out "out/soong"     --out "out"     --soong_variables out/soong/soong.aosp_arm.variables -o out/soong/b
      uild.aosp_arm.ninja --globListDir aosp_arm --globFile out/soong/globs-aosp_arm.ninja -l out/.module_paths/Android.bp.list --available_env out/soong/soong.environment.available --used_env out/soong/soong.environment.used.aosp_arm.build Android.bp
      2 aconfig_declarations found for package com.android.net.thread.flags
      ```
      
      To resolve this issue, this commit renames the platform flags to package
      name "android.net.thread.platform.flags".
      
      This commit is required by ag/26286387
      
      Bug: 325886480
      Change-Id: Icacf88f7c0aa499b4b29f4072ae58840f0b1761f
      d7b70b88
  6. Feb 17, 2024
  7. Feb 16, 2024
  8. Feb 15, 2024
    • Jihoon Kang's avatar
      Replace lists of aconfig modules with aconfig_declarations_group · 8ad50832
      Jihoon Kang authored
      Currently in AconfigFlags.bp, two list of aconfig modules are being
      maintained: the list of java_aconfig_library modules and the list of
      aconfig_declarations modules. When a new aconfig module is being added,
      a developer must modify the two lists, and there is no guarantee that
      the two lists are kept in sync. In order to resolve such issue, this
      change replaces the two lists with the newly introduced
      aconfig_declarations_group module.
      
      Test: m
      Bug: 320492079
      Merged-In: Ib32c06de4f0279a17e5c65314e984265592d004c
      Change-Id: Ib32c06de4f0279a17e5c65314e984265592d004c
      8ad50832
    • Kenneth Ford's avatar
      Promote DeviceStateManager to System API and update DeviceStateManager API's · 93081e2a
      Kenneth Ford authored
      Promote DeviceStateManager to System API
      and add updated DeviceState property API's, as well
      as DeviceStateManager callback API's to return DeviceState
      objects instead of just integer identifiers.
      
      Deprecated the previous constructor and
      flag based API's on DeviceState
      
      Revert of Revert submission 26246900-revert-26228978-device-state-callbacks-XJADFJXEAY
      
      Reason for revert: Fixing test failures
      
      Reverted changes: /q/submissionid:26246900-revert-26228978-device-state-callbacks-XJADFJXEAY
      
      Bug: 293636629
      Test: DeviceStateManagerTests
      
      Change-Id: Idaa7331c551838c7d167828c7d191d72d39369ae
      93081e2a
    • Jihoon Kang's avatar
      Replace lists of aconfig modules with aconfig_declarations_group · 25d562ef
      Jihoon Kang authored
      Currently in AconfigFlags.bp, two list of aconfig modules are being
      maintained: the list of java_aconfig_library modules and the list of
      aconfig_declarations modules. When a new aconfig module is being added,
      a developer must modify the two lists, and there is no guarantee that
      the two lists are kept in sync. In order to resolve such issue, this
      change replaces the two lists with the newly introduced
      aconfig_declarations_group module.
      
      Test: m
      Bug: 320492079
      Change-Id: Ib32c06de4f0279a17e5c65314e984265592d004c
      25d562ef
    • PODISHETTY KUMAR's avatar
      Revert "Promote DeviceStateManager to System API and update Devi..." · 07998a29
      PODISHETTY KUMAR authored
      Revert submission 26228978-device-state-callbacks
      
      Reason for revert: <Potential culprit for b/325379002  - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.>
      
      Reverted changes: /q/submissionid:26228978-device-state-callbacks
      
      Change-Id: I36c55815cc0b8cb9caf4dc75db1bd4dcc2188757
      07998a29
    • Jihoon Kang's avatar
      Replace lists of aconfig modules with aconfig_declarations_group · 59a129fd
      Jihoon Kang authored
      Currently in AconfigFlags.bp, two list of aconfig modules are being
      maintained: the list of java_aconfig_library modules and the list of
      aconfig_declarations modules. When a new aconfig module is being added,
      a developer must modify the two lists, and there is no guarantee that
      the two lists are kept in sync. In order to resolve such issue, this
      change replaces the two lists with the newly introduced
      aconfig_declarations_group module.
      
      Test: m
      Bug: 320492079
      Merged-In: Ib32c06de4f0279a17e5c65314e984265592d004c
      Change-Id: Ib32c06de4f0279a17e5c65314e984265592d004c
      59a129fd
  9. Feb 14, 2024
  10. Feb 12, 2024
  11. Feb 09, 2024
  12. Feb 08, 2024
    • Motomu Utsumi's avatar
      Remove aconfig flags for Connectivity FlaggedAPI annotations · 1cd6cadb
      Motomu Utsumi authored
      Split flags.aconfig to platform flags and module flags.
      Platform flags are used from platform code.
      Module flags are used for FlaggedAPI annotations in modules.
      
      This CL cherry-pick ag/25977118 to aosp-main-future.
      After this CL, aosp/2919289 can be merged.
      
      Bug: 321624552
      Test: TH
      Change-Id: Ie8e0f911d0f7d7e81d108b8e8ab539b29a255ad0
      Merged-In: Ie8e0f911d0f7d7e81d108b8e8ab539b29a255ad0
      1cd6cadb
  13. Feb 07, 2024
    • Lajos Molnar's avatar
      media: add media.codec flags · d02308ed
      Lajos Molnar authored
      Bug: 297914560
      Change-Id: I8cd09b0c34d8e395a15eb6813a36aded4cc76ff3
      Merged-in: I8cd09b0c34d8e395a15eb6813a36aded4cc76ff3
      d02308ed
    • Yisroel Forta's avatar
      Profiling SysServer Flags · ce4c1d08
      Yisroel Forta authored
      Flags for starting service from system server, and for exposing framework side initialization of profiling.
      
      Test: presubmit, use in following cl
      Bug: 293957254
      Change-Id: I10b2b005617d861be21a054554af9df28970d4bd
      ce4c1d08
  14. Feb 06, 2024
    • Lajos Molnar's avatar
      media: add media.codec flags · a8b4e47e
      Lajos Molnar authored
      Bug: 297914560
      Change-Id: I8cd09b0c34d8e395a15eb6813a36aded4cc76ff3
      Merged-in: I8cd09b0c34d8e395a15eb6813a36aded4cc76ff3
      a8b4e47e
  15. Feb 05, 2024
  16. Feb 01, 2024
    • Jared Duke's avatar
      Support per-process useEmbeddedDex opt-in · 15620b01
      Jared Duke authored
      Extend the useEmbeddedDex attribute to allow opt-in at the <process>
      level. Note that if the parent application has opted in to
      useEmbeddedDex, that will override any value set at the process level.
      
      This configuration is useful for lighter weight processes that don't
      rely heavily on the usual set of dex compilation optimizations critical
      for the usual set of app CUJs (e.g., app startup).
      
      Bug: 295870718
      Test: atest android.appsecurity.cts.UseEmbeddedDexTest
      Change-Id: Ic50ae2e1c568006cb3199013889a91fe38afc9d0
      15620b01
  17. Jan 31, 2024
    • Marvin Ramin's avatar
      Make VirtualAudioDevice device-aware · 2f1c2023
      Marvin Ramin authored
      Create and use the correct device context when creating
      VirtualAudioDevice. This helps ensure audio policies are registered with
      the correct context to facilitate device-aware permissions.
      
      Bug: 291737188
      Test: n/a
      Change-Id: I19046277d8cc439beafa07e55e0f2ed88b86d157
      2f1c2023
    • Tom Chan's avatar
      Add STATUS_UNSUPPORTED_OPERATION status code. · ee44b863
      Tom Chan authored
      Put it in its own CL and behind its own flag because it will be
      used by multiple features. This prevents rollback of one feature from affecting
      another feature.
      
      Bug: 301427767
      Test: It builds.
      Change-Id: I25f0f4ebea16d8db6789ee060d1b30de9eb7113a
      ee44b863
    • Nate Jiang's avatar
      Add aconfig for Wifi non-updatable part · 8a091a74
      Nate Jiang authored
      Bug: 301145404
      Test: Manual STA-AP connection & confirmed from the logs that cross-akm
            feature support is obtained via wificond
      Test: atest WifiNl80211ManagerTest DeviceWiphyCapabilitiesTest
      Change-Id: Ia1f2fe60c2e0044b65d9b6fb3d05b15638196980
      8a091a74
  18. Jan 30, 2024
    • Motomu Utsumi's avatar
      Remove aconfig flags for Connectivity FlaggedAPI annotations · e54434ca
      Motomu Utsumi authored
      Split flags.aconfig to platform flags and module flags.
      Platform flags are used from platform code.
      Module flags are used for FlaggedAPI annotations in modules.
      
      Bug: 321624552
      Test: TH
      Change-Id: Ie8e0f911d0f7d7e81d108b8e8ab539b29a255ad0
      e54434ca
    • Sarp Misoglu's avatar
      Clear pipe after onRestoreFile is called · d13c86c0
      Sarp Misoglu authored
      The BackupAgent can override onRestoreFile and ignore the contents of
      the pipe. Currently, the FullBackupEngine assumes that the data is
      always consumed and when it's not the pipe buffer gets full and the
      restore is blocked indefinitely for the whole device.
      
      Test: atest -v android.app.backup.BackupAgentTest#doRestoreFile_consumesAllBytesInBuffer
      Bug: 320633449
      Change-Id: Ic48a11a8134786d9427ac0ff1636bef561eb6a2a
      d13c86c0
  19. Jan 26, 2024
  20. Jan 25, 2024
    • Sanal Buvaev's avatar
      Add aconfig flags to CrashRecovery · 41431a38
      Sanal Buvaev authored
      Test: m
      Bug: 310236690
      Change-Id: Ia33fc91fe15a1eae5e8954fdaef6081f9ccf6f8d
      41431a38
    • Andrew Lewis's avatar
      Add initial editing metrics reporting · ffd21035
      Andrew Lewis authored
      This covers only the event for editing ending due to
      cancelation/success/failure, and the associated failure code if
      applicable. The event also includes a bundle for backwards
      compatibility, like all of the other media metrics events.
      
      Bug: 297487694
      Test: atest MediaMetricsAtomTests
      Change-Id: I032f1d5fe9f2d11ba69d2131bea5ac57b185386f
      ffd21035
    • Motomu Utsumi's avatar
      Remove aconfig flags for Connectivity FlaggedAPI annotations · 4098ff51
      Motomu Utsumi authored
      Split flags.aconfig to platform flags and module flags.
      Platform flags are used from platform code.
      Module flags are used for FlaggedAPI annotations in modules.
      
      Bug: 321624552
      Test: TH
      Merged-In: Ie8e0f911d0f7d7e81d108b8e8ab539b29a255ad0
      Change-Id: Ic868b70b3be10d4e394f005cd55a858acc7ba14d
      4098ff51
    • Kangping Dong's avatar
      [Thread] define Thread network flags for platform code · 0bb8981e
      Kangping Dong authored
      Bug: 319044650
      Bug: 321624552
      Merged-In: I838f722c6640b467379ebb890aed6af6570239e7
      Change-Id: I838f722c6640b467379ebb890aed6af6570239e7
      0bb8981e
  21. Jan 24, 2024
  22. Jan 18, 2024
  23. Jan 17, 2024
    • Lajos Molnar's avatar
      order dependendencies in AconfigFlags.bp · 4fbcf2f9
      Lajos Molnar authored
      This will help minimize merge conflicts down the line
      
      Bug: 289097671
      Change-Id: I005714dcf7be28d64e9d131b46d86c857ee4231d
      Merged-in: I005714dcf7be28d64e9d131b46d86c857ee4231d
      4fbcf2f9
    • Lajos Molnar's avatar
      order dependendencies in AconfigFlags.bp · d252f291
      Lajos Molnar authored
      This will help minimize merge conflicts down the line
      
      Bug: 289097671
      Change-Id: I005714dcf7be28d64e9d131b46d86c857ee4231d
      Merged-in: I005714dcf7be28d64e9d131b46d86c857ee4231d
      d252f291
Loading