Skip to content
  1. Sep 27, 2022
    • Spandan Das's avatar
      Declare the headers of the ndk_library · fb6602dc
      Spandan Das authored
      This creates a dependency edge between the ndk_library and its headers,
      which should be a no-op in regular Soong builds. This dependency edge
      will be used in the Multi-tree project to export the relevant .h files into a well
      known location
      
      Formatting changes are from bpfmt
      
      Test: m nothing
      Bug: 239044713
      Change-Id: Id8db2858875a4aee904456fe3dec77c71fa47dc9
      fb6602dc
  2. Sep 22, 2022
  3. Sep 21, 2022
    • Aswin Sankar's avatar
      NetworkService: quitSafely() on onDestroy() · 24e7f904
      Aswin Sankar authored
      - When IwlanNetworkService is un-bound, such as when phone app dies,
        the typical sequence is onUnbind() followed by onDestroy() immediately.
      - Messages queued by onUnbind() are not processed, which leaves the
        IwlanNetworkService in an unexpected state for the next onBind().
      - The change is applied to DataService.java as well for safety.
      
      Bug: 237447534
      Test:
      Live test by crashing com.android.phone to verify fix to unbind/destroy
      behavior.
      
      Change-Id: I25d968867401bd7d285735c83c71e3649467c5db
      24e7f904
    • Chiachang Wang's avatar
    • Anton Hansson's avatar
      6196e669
    • lucaslin's avatar
      Disconnect VPN when the underlying network is lost · fc43b2a0
      lucaslin authored
      This commit mainly does 2 things:
      1. Reset IKE state and disconnect VPN network when the underlying
         network is lost.
         - It can prevent giving a false sense of connectivity to the
           app when the VPN is not working due to losing the underlying
           network, update the state of VPN is needed.
      2. Update the exception of handleSessionLost() from null to
         IkeNetworkLostException.
         - It fixes the problem that the ERROR_CODE_NETWORK_LOST will
           not be sent when the underlying network is lost.
      
      Bug: 245250164
      Bug: 223843049
      Test: atest FrameworksNetTests:VpnTest
      Test: Manually test with VPN on and enable airplane mode to see if
            VPN network is disconnected and brought back when default
            network is back.
      Change-Id: I8f250a2956a1eea5d4a6be20e59f4437d8c8f462
      fc43b2a0
    • Anton Hansson's avatar
      Run additional compat checks for checkapi · de68fb13
      Anton Hansson authored
      They're already triggered by some other dependency for "full"
      builds, but checkapi is expected to check all the APIs.
      
      Test: m checkapi (with breaking change)
      Change-Id: Ib9378bd6b6c43c7166309901f516c22e25e9ff4a
      de68fb13
    • Chiachang Wang's avatar
    • Mythri Alle's avatar
    • chiachangwang's avatar
      Remove the restricted user enforcement in getAppExclusionList · e5997ffb
      chiachangwang authored
      This change allows retrieval of the app exclusion list for
      callers with the SYSTEM_SETTINGS and INTERACT_ACROSS_USERS_FULL
      permissions, as well as allowing UID updates internally when
      packages are added/removed.
      
      In both cases, the retrieval of this information does not change
      the configuration of the system in any incorrect way, and not
      allowing these two use cases results in system components
      (Package change notifications and settings app) calls failing.
      
      Additionally, in restricted users, neither provisioning a VPN
      profile nor adding app bypass rules are supported, so this
      codepath is effectively a no-op at the moment. In the long term,
      if VpnManager VPNs are supported from a DevicePolicyManager
      standpoint, this correctly updates the restriction list when
      apps are added/removed.
      
      Bug: 247344442
      Test: atest FrameworksNetTests
      Test: atest CtsMediaHostTestCases
      Change-Id: I9e820f89a274ea9e26e95ce0aaa6807175760186
      e5997ffb
  4. Sep 20, 2022
  5. Sep 19, 2022
  6. Sep 18, 2022
  7. Sep 16, 2022
Loading