Skip to content
Snippets Groups Projects
  1. Feb 28, 2024
    • Pablo Gamito's avatar
      Increment protolog version · 9abac8a7
      Pablo Gamito authored
      Because we now dump 64 bit integers instead of 32 bit integers we need to have a different protolog version so we know which viewer config to use in Winscope
      
      Bug: 327002914
      
      Test: collected protolog trace in Winscope
      Change-Id: Iab3071952ff7957a11a0f01f09cfaa4306a7f7ae
      9abac8a7
  2. Feb 27, 2024
  3. Feb 26, 2024
  4. Feb 22, 2024
    • Pablo Gamito's avatar
      Update ProtoLog build rules · 5fe2c80e
      Pablo Gamito authored
      ProtoLogTool now has additional parameters to support Perfetto tracing. We also need to generate and include a proto version of the viewer configuration.
      
      Flag: ACONFIG android.tracing.Flags.perfettoProtolog DEVELOPMENT
      Test: mp droid && atest FrameworksServicesTests
      Bug: 276432490
      Change-Id: I26929eed96faae04bec65ae5eaf86afda75cb83c
      5fe2c80e
  5. Feb 15, 2024
    • Matt Casey's avatar
      Add compat change permissions to privapp list for intentresolver · 00b06c0f
      Matt Casey authored
      Additional permissions were needed to avoid SecurityException when
      enforcing compat changes in new APIs. See other change in this topic.
      
      Without this CL, devices would fail to boot (discovered this via
      presubmits on the other CL).
      
      Bug: 325329535
      Test: Presubmit device boot tests
      Change-Id: If6d2230ea63f0b297b8b35bdb9c824a266e2d709
      00b06c0f
  6. Feb 14, 2024
    • Chavi Weingarten's avatar
      Create generic transferTouchGesture API · 9fd2b649
      Chavi Weingarten authored
      Instead of specifying from host to embedded or vice versa for
      tranferTouchGesture, create a generic API that allows you to request
      transferring touch gesture from an InputTransferToken to another
      InputTransferToken.
      
      Test: SurfaceControlInputReceiverTests
      Test: AttachedSurfaceControlTest
      Test: SurfaceControlViewHostTests
      Flag: ACONFIG com.android.window.flags.surface_control_input_receiver TRUNKFOOD
      Bug: 278757236
      Change-Id: I58beb1fe041f251db6c9cf90688bd2554bd2b399
      9fd2b649
  7. Feb 13, 2024
  8. Feb 12, 2024
    • Pranav Madapurmath's avatar
      Formalize BlockedNumberContract.SystemContract APIs · 762bf668
      Pranav Madapurmath authored
      Formalize the BlockedNumberContract.SystemContract APIs as part of the
      Telecom modularization. There are several hidden APIs that are being
      referenced from Telecom that need to be resolved. The
      blockStatusToString() implementation is being copied over to Telecom
      while the other dependencies are being formalized into system APIs as
      part of BlockedNumberContract (the hidden references have been
      unchanged).
      
      Bug: 308208071
      Bug: 311773409
      Test: atest BlockedNumberContractTest
      Change-Id: I79db751d494e81c9f638a300f871fed021b76808
      762bf668
  9. Feb 09, 2024
    • William Loh's avatar
      Add dynamic applinks update API · 53969265
      William Loh authored
      This API will allow the domian verifier to update the URI relative
      filter groups on the domain verification package state. During intent
      resolution these group matching will be applied after intent matching.
      All existing groups will be cleared when the groups are updated.
      
      Bug: 307557201
      Test: atest DomainVerificationManagerApiTest
      Test: atest DomainVerificationPersistenceTest
      Test: atest CtsDomainVerificationDeviceStandaloneTestCases
      Change-Id: I2d60b1f13074cecca106a37399bd4848534703f7
      53969265
    • Anna Zhuravleva's avatar
      Grant access hidden profile permission to quickstep · b9dcfddc
      Anna Zhuravleva authored
      Grant access hidden profiles permission to quickstep
      to access private profile.
      
      Test: checked permission is granted in adb
      Bug: 321988638
      Flag: NONE
      Change-Id: Ibad7f72f1558a39186c56dd9ecb5d85a41bf2b56
      b9dcfddc
  10. Feb 08, 2024
    • Chavi Weingarten's avatar
      Use InputTransferToken instead of IBinder for embedded windows · 95d3b5b8
      Chavi Weingarten authored
      When an app is embedding another window, it needs to send the embedded a
      token so the host can be associated with the embedded window. The
      current API uses a raw IBinder token, but change to use an
      InputTransferToken instead. This also modifies the transferTouchGesture
      API so it accepts a InputTransferToken from and to objects.
      
      Test: SurfaceControlInputReceiverTests
      Test: AttachedSurfaceControlTest
      Test: SurfaceControlViewHostTests
      Flag: ACONFIG com.android.window.flags.surface_control_input_receiver TRUNKFOOD
      Bug: 287076178
      Change-Id: Iaa4dca0ca57f9c8760a81783cd384808985e6263
      95d3b5b8
    • Anna Zhuravleva's avatar
      Add private profile checks for LauncherApps APIs · 50b9f34e
      Anna Zhuravleva authored
      Restrict LauncherApps APIs for private profile:
      - Caller must hold HOME role (i.e. default launcher)
      - Must hold ACCESS_HIDDEN_PROFILES or ACCESS_HIDDEN_PROFILES_FULL
      permissions
      
      Remove temporary recents role holder checks.
      
      Test: atest LauncherAppsTest, LauncherAppsForHiddenProfilesTest
      Bug: 25851973
      Flag: android.multiuser.enable_launcher_apps_hidden_profile_checks
      DEVELOPMENT
      
      Change-Id: Icf65b4329bbbd323f521d1f97b5369e7544111c8
      50b9f34e
  11. Feb 07, 2024
  12. Feb 06, 2024
  13. Feb 02, 2024
    • Jigar Thakkar's avatar
      Remove bluetooth app from pre-installation list of private profiles · ae01b360
      Jigar Thakkar authored
      This prevents pre-installation of the bluetooth package in private
      profiles. This will remove the bluetooth option in the private tab in
      sharesheet.
      
      Bug: 296357858
      Test: Tested manually on device
      Change-Id: I4d6c378560faedb222f1dd5541410aff0fae2513
      ae01b360
    • youngtaecha's avatar
      Support config update · 4fb6c6f5
      youngtaecha authored
      Add ACTION_UPDATE_TELEPHONY_CONFIG and EXTRA_DOMAIN
      
      Bug: 316266710
      Test: Build
      
      Change-Id: I7ad2d617df642f866aa19ae64169836e8bef5209
      4fb6c6f5
  14. Feb 01, 2024
    • Jay Thomas Sullivan's avatar
      [ECM] Add ECM allowlist to SystemConfig · a14c9e5f
      Jay Thomas Sullivan authored
      This introduces a new configurable XML file
      (/etc/sysconfig/enhanced-confirmation.xml) for ECM (Enhanced
      Confirmation Mode). This file enables OEMs to declare a list of
      "trusted packages" and/or "trusted installer" packages.  A "trusted
      package" will be exempt from ECM restrictions. A "trusted installer",
      and all packages that it installs, will be exempt from ECM restrictions.
      
      The file may contain zero or more XML elements of the form:
      
          <enhanced-confirmation-trusted-package
               package="com.example.app"
               sha256-cert-digest="E9:7A:BC:2C:D1:..."/>
      
      ...and/or...
      
          <enhanced-confirmation-trusted-installer
               package="com.example.app"
               sha256-cert-digest="E9:7A:BC:2C:D1:..."/>
      
      (Where the 'package' attribute is a package name, and
      'sha256-cert-digest' is a hex-encoded SHA-256 digest of a signing
      certificate. Both fields are required for each XML element.)
      
      This file is parsed by the SystemConfig class, where the collection of
      all XML elements are deserialized into (SignedPackage) objects which
      are cached within SystemConfig.
      
      These objects are accessible by calling either the following SystemAPI
      methods:
      
          SystemConfigManager::getEnhancedConfirmationTrustedPackages
          SystemConfigManager::getEnhancedConfirmationTrustedInstallers
      
      ...which in turn call the (respective) binder methods:
      
          SystemConfigService::getEnhancedConfirmationTrustedPackages
          SystemConfigService::getEnhancedConfirmationTrustedInstallers
      
      ...which read the data directly from SystemConfig.
      
      The only intended caller of this API is ECM
      (EnhancedConfirmationManager/EnhancedConfirmationService), which runs in
      SystemServer.
      
      The reason this needs to be SystemApi(MODULE_LIBRARIES) is that the ECM
      source code lives within the packages/modules/Permission mainline
      module.
      
      Bug: 310654834
      Test: atest FrameworksServicesTests:com.android.server.systemconfig.SystemConfigTest
      Change-Id: I50e524e5782cea4e66232acef493edbe62aa1f61
      a14c9e5f
    • Anh Pham's avatar
      Add WRITE_VERIFICATION_STATE_E2EE_CONTACT_KEYS to Shell. · 17d455bb
      Anh Pham authored
      The permission is needed for CTS test CtsContactKeysProviderPrivilegedApp
      
      Bug: 290696572
      Test: atest CtsContactKeysProviderPrivilegedApp
      Change-Id: I7ad6feb5bfdb6b8423bb46f99b3e46de1ca209eb
      17d455bb
  15. Jan 31, 2024
    • Seigo Nonaka's avatar
      Redesign the fallback XML syntax to be able to have static and variable font. · 4035d7e5
      Seigo Nonaka authored
      Defining all instances of weight instance causes memory bloat. To reduce
      the memory usage, use dynamic font instance.
      
      Bug: 280011317
      Test: atest UpdatableFontDirTest UpdatableSystemFontTest
      Test: atest GtsFontHostTestCases FontManagerTest CtsTextTestCases
      Test: atest CtsGraphicsTestCases PersistentSystemFontConfigTest
      Change-Id: Idd7b8cf8984e44b5864124277a01586e14894be0
      4035d7e5
  16. Jan 30, 2024
  17. Jan 29, 2024
  18. Jan 25, 2024
  19. Jan 24, 2024
    • Evan Rosky's avatar
      Add ability to pause activity configuration/effect client dispatch · ee065e15
      Evan Rosky authored
      This enables flows which can make changes on WMCore side
      without notifying the client process until a later time. Usage
      is basically: pauseConfigurationDispatch(); do stuff; later:
      resumeConfigurationDispatch(); During "do stuff" WMCore will
      already have the updated configuration but the client won't
      know about it yet and can continue running as-if nothing
      happened.
      
      The primary use-case for this is PIP where we want to change it's
      type/size but allow the client to continue drawing it's fullscreen
      config until the transition animation completes.
      
      Bug: 202201326
      Bug: 290992727
      Test: atest ActivityRecordTests#testPauseConfigDispatch
      Change-Id: I923cc8c42ebf21b04af2376fd3383b75cb5fb996
      ee065e15
    • Andrew Scull's avatar
      Allow the phone app to update safety center · 85f3b428
      Andrew Scull authored
      Give the phone app permission to send data to safety center and add the
      initial strings that it will use to describe the status and issues that
      it's going to report.
      
      Test: Run cvd_update_security_algorithm and see the issue notification
      Bug: 308985417
      Change-Id: I49475453e38e3e14c4cd89edc84192d416bd4138
      85f3b428
    • Hao Dong's avatar
      Add a public permission and rename setters of bp logo. · 1ea5d06f
      Hao Dong authored
      Test: Manually test on test app
      Flag: ACONFIG android.hardware.biometrics.custom_biometric_prompt DEVELOPMENT
      Bug: 321006077
      Change-Id: I93a00112c5bf18e22be2d19362c3c9401858e36f
      1ea5d06f
  20. Jan 23, 2024
    • Nelson Li's avatar
      Move fontchain_lint to build/core/tasks · c784e9e9
      Nelson Li authored
      Because `system.img` is a dependency of `fontchain_lint`, and
      `system.img` is currently not generated inside `Soong`, it is not
      possible to directly convert `fontchain_lint` to `Android.bp`.
      Move it to build/core/task first.
      
      Bug: 319050958
      Test: m fontchain_lint
      Change-Id: Iad483117a609786ecfb885b13015f18dda113155
      c784e9e9
  21. Jan 19, 2024
    • Paul Lawrence's avatar
      Add privapp permissions for DeviceDiagnostics · aece46c8
      Paul Lawrence authored
      Bug: 309886423
      Test: See imei in DeviceDiagnostics attestation details
      Change-Id: I326a0cc834eb2ac605a91cc50d5dfe8f81ea3adf
      aece46c8
    • Aurélien Pomini's avatar
      New methods setBitmap, setStream, getBitmapCrop, getWallpaperColors · d9915e4a
      Aurélien Pomini authored
      See go/wallpaper-multi-crop
      
      Flag: ACONFIG com.android.window.flags.multi_crop DEVELOPMENT
      Bug: 270726737
      Test: atest WallpaperManagerTest
      Test: atest WallpaperControllerTests
      Test: atest WallpaperBackupAgentTest
      Test: quite a lot of manual testing
      
      Change-Id: Ic0bb0bd450c02aad01ea59fbfdaab415fb9838f9
      d9915e4a
    • Tian Xie's avatar
      Expose `FaceManager` APIs as `@SystemApi`. · 75435ea6
      Tian Xie authored
      Enable privileged apps with `USE_BACKGROUND_FACE_AUTHENTICATION` permission access to the face auth APIs for background face auth.
      
      The first use case is Pixel Health (go/rppg-prd). Design doc: go/pixel-health-face-auth (b/312858933)
      
      Android Feature Request Bug: b/305272520
      
      Bug: 318309705
      Test: Unit tests.
      Change-Id: I037fbc15353cea6fd8f9a97e1e86e90305716f83
      75435ea6
  22. Jan 18, 2024
    • Evan Chen's avatar
      Introduce CDM device presence base on UUID · 1ea0411b
      Evan Chen authored
      1. Introduce a new API startObservingDevicePresence` that
      able to observing the devices base on association id or
      uuid.
      
      2. Introduce a new request called DevicePresenceRequest allows
      app to be able setUuid or setAssociationId. Not that,
      caller can only use one setter. And only system app is able
      to use setUuid.
      
      2. Introduce a new callback that that system app
      will be recieve when device is connected / disconnected.
      
      3. Introduce a new Permission REQUEST_OBSERVE_DEVICE_UUID_PRESENCE
      that with signature protection level.
      
      4. Introduce a new ObservingDevicePresenceResult with
      a new callback onDeviceEvent(ObservingDevicePresenceResult)
      
      5. Deprecate the startObservingDevicePresence(MacAddress).
      
      Test: cts
      Bug: 316015619
      
      Change-Id: I4e311866d7640218ed6dd9937911f984e88355ef
      1ea0411b
    • Zoey Chen's avatar
      [ToA] Add READ_SYSTEM_GRAMMATICAL_GENDER to privapp-permissions. · ad212fdb
      Zoey Chen authored
      Bug: 314902971
      Test: Presubmit
      Change-Id: Ia40ca643edd4d6a9d61af529d85d3795a1367a78
      ad212fdb
  23. Jan 17, 2024
    • Hao Dong's avatar
      Add setLogo() API on Biometric Prompt. · e5914396
      Hao Dong authored
      Adds APIs to set the logo on Biometric Prompt for internal apps. For
      other apps, show the app launcher logo by default.
      
      Test: atest PromptViewModelTest
      Test: atest BiometricPromptRequestTest
      Test: atest PromptSelectorInteractorImplTest
      Test: atest PromptRepositoryImplTest
      Test: manual test on biometric test app
      Flag: ACONFIG android.hardware.biometrics.custom_biometric_prompt DEVELOPMENT
      Bug: 302735104
      API-Coverage-Bug: 302735104
      
      Change-Id: Ic2fbd243c0ba3fe6813addf52270019e68fbee73
      e5914396
  24. Jan 16, 2024
  25. Jan 12, 2024
    • Patrick Williams's avatar
      Implement screen recording detection API internals · f52bbc0a
      Patrick Williams authored
      Adds the server side WindowManager components for the screen recording detection API without exposing any new public APIs.
      
      Bug: 304574518
      Flag: ACONFIG window_surfaces.screen_recording_callbacks DISABLED
      Test: manual, will add CTS tests when exposing the public API
      Change-Id: I9ba55493eca4ce774be9e1c135337e76a1cc6c00
      f52bbc0a
    • George Chan's avatar
      Add GET_BACKGROUND_INSTALLED_PACKAGES permission and added to · 22d9e7e3
      George Chan authored
      com.android.shell for testing and BTS adb shell API.
      
      New permission enables BICS to provide caller with all silently
      installed apps for all users on a device without needing caller to be
      granted overly permissive access.
      
      For more info: go/bic-v
      
      Bug: 296060433
      Test: m
      Change-Id: I3c3f9d9dc1d746fedc27bbb6e500f19bae9e72e2
      22d9e7e3
  26. Jan 11, 2024
  27. Jan 10, 2024
  28. Jan 09, 2024
Loading