Skip to content
Snippets Groups Projects
  1. May 22, 2024
  2. May 11, 2024
    • Vlad Popa's avatar
      Use constants when Bt flag is not enabled · 6dc967b4
      Vlad Popa authored
      Using the exported Bt flag supported_metadata_device_types_apis to
      determine whether to use the BtDevice constants. We are duplicating the
      constants for clients that have written values with the given metadata
      keys (see FastPair initial implementation)
      
      Flag: com.android.bluetooth.flags.Flags.supportMetadataDeviceTypesApis
      Test: manual device type change
      Bug: 335936458
      Change-Id: I582e12967bbc4787d278964beb7a450518bc93f9
      6dc967b4
  3. May 09, 2024
  4. May 07, 2024
  5. 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
  6. May 02, 2024
    • Richard MacGregor's avatar
      Export packagemanager flags · c3d1b7c5
      Richard MacGregor authored
      Export packagemanager flags for uses in permission module
      
      Bug: 322515720
      Test: manual
      Change-Id: I1d9a9320888427da3953dd7118471856103b79a1
      c3d1b7c5
  7. Apr 29, 2024
  8. Apr 23, 2024
  9. Apr 19, 2024
    • Jared Duke's avatar
      Support preload of org.apache.http.legacy.jar · ce088382
      Jared Duke authored
      This library is still referenced by most (~70%) of the most commonly
      used Android apps, and preloading yields modest improvements to both
      app startup latency and memory, particularly for lower-end devices.
      
      Add support for preloading the library behind a new flag:
        com.android.internal.os.enable_apache_http_legacy_preload
      
      Bug: 241474956
      Test: m + ART benchmark service
      Test: atest FrameworksCoreTests:android.app.ApplicationLoadersTest
      Flag: com.android.internal.os.enable_apache_http_legacy_preload
      Change-Id: Iff97a0a78d9b4c12da963d252574a0a9bd8dd87d
      ce088382
    • Yu Liu's avatar
      Add container property. · e26ff55f
      Yu Liu authored
      Bug: 330354107
      Test: CI
      
      Change-Id: I508c4ef2db631b723f85269527367e0adc0fb14e
      e26ff55f
    • Oluwarotimi Adesina's avatar
      Support excluding persistent UI · 50091d0b
      Oluwarotimi Adesina authored
      BUG: 333312675
      Test: manual
      
      Change-Id: Ibcd504ee471fcd6328bae51111bd362ebcf90eae
      50091d0b
    • Dennis Shen's avatar
      Revert^2 "Set container to system for aconfig_declarations in AconfigFlags.bp" · aea1d8e2
      Dennis Shen authored
      This reverts commit 02287dc9.
      
      Reason for revert: Performance regression is gone based on go/abtd verification, reintroduce the change.
      
      Change-Id: I0dceae0d564612925f23002ac76fb60bbbe599f1
      aea1d8e2
    • Jihoon Kang's avatar
      move dropbox_flags_lib to framework flag list · 65446a49
      Jihoon Kang authored
      This change makes dropbox_flags_lib visible to metalava so
      metalava won't hide the guarded api.
      
      Since the guarded api are in the framework, this change move this flag
      to framework flag list.
      
      Bug: 333995906
      Test: lunch sdk-next-eng && m sdk dist and presubmit
      Change-Id: I4ae6c4023816d2d4b87a990d949f6094ab6fd7d3
      65446a49
  10. Apr 18, 2024
    • Zhi Dou's avatar
      move backstage_power_flags_lib to framework flag list · f91005a9
      Zhi Dou authored
      This change makes backstage_power_flags_lib visible to metalava so
      metalava won't hide the guarded api.
      
      Since the guarded api are in the framework, this change move this flag
      to framework flag list.
      
      Bug: 333995906
      Test: lunch sdk-next-eng && m sdk dist and presubmit
      Change-Id: Id21ae3029a2201a879e53248de2a5c5e6a969ec7
      f91005a9
  11. Apr 10, 2024
  12. Apr 08, 2024
  13. Apr 05, 2024
  14. Apr 02, 2024
  15. Mar 30, 2024
  16. Mar 21, 2024
  17. Mar 19, 2024
    • Lee Shombert's avatar
      Enable sqlite trunk-stable flags in jni · 6bbe14c5
      Lee Shombert authored
      This change makes trunk-stable flags from the android.database.sqlite
      package available to the sqlite jni C++ files.  To use a flag in one
      of the SQLite source files (or any C++ file):
      
      ````
      #include <android_database_sqlite.h>
      
      bool myFlag = android::database::sqlite::my_sqlite_flag();
      ````
      
      Tested by referencing an existing sqlite flag in
      android_database_SQLiteConnection.cpp.  The change to that source file
      is not part of this CL.
      
      Bug: 329900153
      Change-Id: I3424cdd7a88886e67ed86b7514b8abb919f9fec3
      6bbe14c5
  18. Mar 15, 2024
  19. Mar 14, 2024
  20. Mar 11, 2024
    • Chip Fukuhara's avatar
      Avoid appcompat logs if old or disabled · cf909694
      Chip Fukuhara authored
      For performance savings, we will only log appcompat changes to debug if
      it targets the latest sdk version and it is not disabled. These can
      still be turned back on with `adb setprop
      log.tag.CompatChangeReporter=DEBUG`.
      
      Test: atest PlatformCompatFrameworkTests; atest FrameworksServicesTests:ActivityManagerServiceTest; atest FrameworksServicesTests:ProcessRecordTests; atest FrameworksServicesTests:CompatConfigTest; atest FrameworksServicesTests:PlatformCompatTest
      Bug: 323949942
      Flag: skip_old_and_disabled_compat_logging
      
      Change-Id: I9efef3af940d7597105ef796774f8cc474194c19
      cf909694
  21. Mar 09, 2024
  22. Mar 08, 2024
    • Manish Singh's avatar
      Support more profile tabs · 29dd2e13
      Manish Singh authored
      This is specifically for the private profile.
      
      Currently, the ProfileSelectFragment assumes that two tabs need to be
      shown. Extending that to allow variable number of tabs depending on the
      client's needs.
      It still assumes that if client doesn't specify the number of tabs then
      two tabs need to be shown - which matches the current impl and allows
      the current clients to keep functioning w/o any changes needed.
      
      Bug: 309402121
      Test: manual
      Change-Id: Ia544ffdd7e0799bcd2e2a9f8f95cc283bb718d91
      29dd2e13
  23. Mar 04, 2024
  24. Feb 29, 2024
  25. 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
  26. Feb 22, 2024
    • Jernej Virag's avatar
      Use ashmem memory to transport MediaDescription to other processes · 797d80ee
      Jernej Virag authored
      This follows the pattern used by Icon objects (for e.g. Notifications) where contructing the object creates a shared memory Bitmap so updates and transport to other processes doesn't add extra large memory copies. This is important for things like album art which can be rather large (we see 1000x1000 bitmaps occasionally).
      
      Bug: 288241280
      Flag: ACONFIG com.android.media.performance.MEDIA_DESCRIPTION_ASHMEM_BITMAP DISABLED
      Test: on cheetah with media applications
      Change-Id: I6320b000ed4a3785b67c8574aa3ad3b3195ee273
      797d80ee
    • Zhi Dou's avatar
      Revert^2 "Create exported mode library for package android.service.notification" · c8ae8f11
      Zhi Dou authored
      This reverts commit 2f858356.
      
      Reason for revert: The original issue is fixed ag/26320339
      
      Change-Id: I74bb8123fe90d82e3569a60fea44af13bcbd0f5f
      c8ae8f11
  27. 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
Loading