Skip to content
Snippets Groups Projects
  1. Feb 27, 2024
  2. Feb 26, 2024
  3. Feb 24, 2024
  4. Feb 23, 2024
    • Suprabh Shukla's avatar
      Revert "Enable default background network restrictions" · a2e8b91a
      Suprabh Shukla authored
      Revert submission 2970571-turn-on-network-restrictions
      
      Reason for revert: b/326370901
      
      Reverted changes: /q/submissionid:2970571-turn-on-network-restrictions
      
      Change-Id: I7f996f370791c83d781e7321344279823603c439
      a2e8b91a
    • Tommy Webb's avatar
      Fix unknown sources app install confirmation · cf4e62bc
      Tommy Webb authored
      Allow the package install confirmation dialog to appear properly after
      the user turns on unknown sources. Also fix an incorrect session ID
      of -1 being shown in related log warnings.
      
      "Finish PIA if UnknownSourcesListener would like to start a PIA again"
      is a change that caused this feature to fail for third-party app stores.
      This change resolves that issue.
      
      Issue: calyxos#2081
      Test: atest CtsPackageInstallTestCases
      Test: Manual: Install a third-party app store e.g. F-Droid. Try to
      install an app. Tap Settings on the prompt to configure unknown sources.
      Tap to turn on unknown sources. The install confirmation dialog appears.
      
      BUG: 326612529
      Change-Id: Idd6667cbd79945d849b74a62122162ae72d99210
      cf4e62bc
    • Beth Thibodeau's avatar
      Add OWNERS files for media-related packages · 6e2b9871
      Beth Thibodeau authored
      Fixes: 326293496
      Test: build
      Flag: NONE
      (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:94e44380a06e5b6c387160914537bbe2b1b7a384)
      Merged-In: I22553d0b76b4b8b3decd90a38368ba5b53acc405
      Change-Id: I22553d0b76b4b8b3decd90a38368ba5b53acc405
      6e2b9871
    • Hai Zhang's avatar
      Fix NPE when PermissionEntry.getGids() returns null. · 1ba16aa8
      Hai Zhang authored
      PermissionEntry.gids may return null when parsing legacy config trying
      to work around an issue about upgrading from L platfrm. We can just
      ignore such entries now.
      
      Bug: 325137277
      Bug: 322197421
      Test: system boots with flag enabled
      Change-Id: I71a160d53b1a1b429019bb1973a892f78ccb0a17
      Merged-In: I71a160d53b1a1b429019bb1973a892f78ccb0a17
      (cherry picked from commit b0b149c4)
      1ba16aa8
    • Hai Zhang's avatar
      Create a better implementation for permission GIDs. · dc8c435c
      Hai Zhang authored
      The old subsystem creates "fake" permissions owned by the "android"
      package that will contain the GIDs and be overridden by system apps,
      however that approach is fragile because it depends a lot on the package
      scan order since these "fake" permissions will be trimmed after we scan
      the "android" package.
      
      In contrast, it's a lot easier and straightforward to just look up the
      GIDs upon scanning permission definitions, which will also fix the
      package scanning order issue. It also helps with removing one type of
      permission definition and the special cases we had to add for it.
      
      This is a better version of the easier but behavior changing fix
      ag/26216413.
      
      This change is behind a bug-fix flag since it's still a new way of doing
      things, despite that it's straightforward and there's no expected
      behavior change except for fixing GID assignment for permissions
      declared in APKs-in-APEX etc on first boot.
      
      Fixes: 325137277
      Bug: 322197421
      Test: manually check the GIDs in dumpsys permissionmgr after clean flash
      Change-Id: Ied24c45734e7c57ce8ed0d015121675bfcbae54f
      Merged-In: Ied24c45734e7c57ce8ed0d015121675bfcbae54f
      (cherry picked from commit 05b75fb4)
      dc8c435c
  5. Feb 22, 2024
Loading