Skip to content
Snippets Groups Projects
  1. May 25, 2018
    • Treehugger Robot's avatar
    • Tetsutoki Shiozawa's avatar
      Fix: ConnectivityManager is initialized with a wrong context · f9f15fce
      Tetsutoki Shiozawa authored
      ActivityThread#setHttpProxy uses a system context to get
      a ConnectivityManager instance. If it's not already cached, the
      system service registry will cache this instance initialized
      with the system context, and subsequent calls to get this service
      will return the bad instance.
      This patch uses the application context instead, unless it's
      not available for some unlikely reason.
      
      A possible symptom of this issue is to have Bluetooth tethering
      failing with a security exception, because it's requested by
      the "android" package without system uid.
      
      Merged-In: Ib8815f010883cdb94fcad2cdfb237de39327b20a
      Bug: 73572062
      Change-Id: Id652c1625194dc73dcbf8dfcad4b4e2e6fbebf4e
      f9f15fce
    • Treehugger Robot's avatar
      Merge changes from topic "location_provider" · 79b473ed
      Treehugger Robot authored
      * changes:
        Remove FlpHardwareProvider
        Create the stubs lib for com.android.location.provider
      79b473ed
    • Treehugger Robot's avatar
    • Jiyong Park's avatar
      Remove FlpHardwareProvider · fa15a99f
      Jiyong Park authored
      After Treble's FLP merge into GNSS HAL, the FlpHardwareProvider is just
      an empty shell. Removing FusedLocation and/or Flp + Hardware classes
      altogether.
      
      Bug: 35726697
      Test: m -j
      Test: Open Google Map and then walk around. The dot moves as I walk.
      
      Merged-In: I7f413e38b57424e8ebb9d7d14d94f145a48d10f8
      Change-Id: I7f413e38b57424e8ebb9d7d14d94f145a48d10f8
      (cherry picked from commit 4cc3a1c0)
      fa15a99f
    • Jiyong Park's avatar
      Create the stubs lib for com.android.location.provider · 409e5d25
      Jiyong Park authored
      com.android.location.provider.stubs is the stubs library for the shared
      library com.android.location.provider. The stubs library is intended to
      provide the stable set of APIs to the apps implementing location
      provider.
      
      Without the stubs library, apps had to directly link to the shared
      library which is built without Android SDK and exposes private APIs that
      are not intended to be used by apps. This also has been causing the
      lin-type check warnings when the shared lib is used by apps built with
      SDK; apps built with SDK is not allowed to link to lib built without
      SDK. This has been reported as warnings but will soon be errors. Now
      such apps are required to link to the stubs lib, which is built with
      SDK.
      
      While building the stubs library, following APIs are made hidden because
      they are exposing private APIs from the Android platform.
      
      1) Activity* classes are removed from the API, as they are not intended
      to be used by apps since O.
      2) GeocodeProvider and GeofenceProvider are removed from the API.
      3) LocationProvider.mLocationManager is removed as it is exposing the
      private symbol ILocationProvider
      4) ProviderPropertiesUnbundle.getProviderProperties are removed from the
      API as it is exposing the private symbol ProviderProperties.
      5) The constructor of ProviderRequestUnbundled is removed since the
      class is intended to be instantiated by the service.
      
      Bug: 71420593
      Test: m -j com.android.location.provider.stubs
      
      Merged-In: I20aba7e9ca9c3adc75db241f37a55f0d657f3ced
      Change-Id: I20aba7e9ca9c3adc75db241f37a55f0d657f3ced
      (cherry picked from commit eee99986)
      409e5d25
    • Remi NGUYEN VAN's avatar
      b19a838f
    • Remi NGUYEN VAN's avatar
  2. May 24, 2018
    • Treehugger Robot's avatar
    • Treehugger Robot's avatar
      1109e233
    • Treehugger Robot's avatar
    • Chih-Hung Hsieh's avatar
      Work around b/24465209, do not pack relocation table. · eeb1ea86
      Chih-Hung Hsieh authored
      Global flag --pack-dyn-relocs=android is used with clang lld.
      For b/24465209, we need to override that with pack_relocations:false.
      
      Bug: 24465209
      Bug: 80093890
      Test: build with USE_CLANG_LLD=true and run dlext.compat_elf_hash_and_relocation_tables
      Change-Id: I9364feb4070d4f75705d8651d535c792fe6ad6f7
      eeb1ea86
    • Treehugger Robot's avatar
      Merge changes Id81271ff,I8f298371 · e7372ab0
      Treehugger Robot authored
      * changes:
        DO NOT MERGE ANYWHERE Update hiddenapi-p-light-greylist.txt
        DO NOT MERGE ANYWHERE Sort hiddenapi-p-light-greylist.txt
      e7372ab0
    • David Brazdil's avatar
      DO NOT MERGE ANYWHERE Update hiddenapi-p-light-greylist.txt · 85c81cb2
      David Brazdil authored
      Test: N/A
      Change-Id: Id81271ffe2080091d4e4c3d40325183b086dba8e
      85c81cb2
    • David Brazdil's avatar
      DO NOT MERGE ANYWHERE Sort hiddenapi-p-light-greylist.txt · 1c04a887
      David Brazdil authored
      Test: N/A
      Change-Id: I8f298371df3efbc3d968c95337e058d6140fe5de
      1c04a887
    • Remi NGUYEN VAN's avatar
      Merge changes I3b3bcbbd,I18b3f263,I3c416c1a · 7b093550
      Remi NGUYEN VAN authored
      * changes:
        Use CaptivePortalProbeSpec method in portal app
        Add configurable captive portal probes
        Move CaptivePortalProbeResult to its own file
      7b093550
    • Hugo Benichi's avatar
      Migrating remaining core networking tests to Junit4 · fe530062
      Hugo Benichi authored
      Bug: 62918393
      Test: runtest frameworks-net
      Merged-In: I30f7eaa0307b8fad5a8de7a0da235a4f76c18677
      (clean cherry-pick of I30f7eaa0307b8fad5a8de7a0da235a4f76c18677)
      
      Change-Id: I272fea0bb4a9e7f6252bb3bd14a6b769a082039e
      fe530062
    • Treehugger Robot's avatar
      a7183b92
    • Erik Kline's avatar
      Fixup SntpClient to bypass Private DNS · 9e3c25de
      Erik Kline authored
      NTP may be necessary in order to validate Private DNS certificates,
      so it should be allowed to bypass Private DNS.
      
      Test: as follows
          - built, flashed, booted
          - tcpdump for port 53; adb shell am restart
            queries for the NTP hostname appear in the clear
          - runtest frameworks-net passes
      Bug: 64133961
      Bug: 80118648
      Merged-In: I4655e3ce5691098c73bf070b8a9e4759485bb17a
      Merged-In: I327b816a9f472e94328232157a3b8887d17b0baf
      Change-Id: Id9ceb3fcaaffb48cbbd4cd381d48cae991572c9e
      (cherry picked from commit 7eccfeb9)
      9e3c25de
    • Remi NGUYEN VAN's avatar
      Use CaptivePortalProbeSpec method in portal app · 9f855054
      Remi NGUYEN VAN authored
      This only changes behavior if the EXTRA_CAPTIVE_PORTAL_PROBE_SPEC extra
      is passed, which only happens if extra probe specs have been defined in
      settings.
      
      Bug: b/79499239
      Test: manual: on 2 different portals, works w/ and w/o the setting
      Merged-In: Iebd307b5d73a7b4679baea2a1c12c3baba6a7447
      Merged-In: I851d8c41d42dccb03f813e549439f44c83f7d5ac
      (clean cherry-pick of pi-dev I70acfd9213bf620cbb79ad999b8ad03472e8d43f)
      
      Change-Id: I3b3bcbbd380f8cbd0b663556d55276f43e30b3e5
      9f855054
    • Remi NGUYEN VAN's avatar
      Add configurable captive portal probes · 13e6e21d
      Remi NGUYEN VAN authored
      The probes allow testing for a configurable status code and location
      header (regexes). They are disabled by default, so this CL is a
      no-op unless the probe configurations are pushed.
      
      Bug: b/79499239
      Test: tests in CL pass, manual: captive portal login works
      Merged-In: Iec7a74bbf2569a91e958c497200d77e8451cbf7b
      Merged-In: Ia958815325d1466345e9626efc8f62fc9d08d774
      (clean cherry-pick of pi-dev I785723aaed06054b9aa8ebff77803f23d7836db9)
      
      Change-Id: I18b3f263fed08fa4fee20d5e88f3ec8647d7f835
      13e6e21d
    • Remi NGUYEN VAN's avatar
      Move CaptivePortalProbeResult to its own file · d57329d8
      Remi NGUYEN VAN authored
      This is necessary to resolve visibility issues for the next change.
      
      Bug: b/79499239
      Test: runtest frameworks-net
      Merged-In: Ia48b32307a51a66f2672d7112f71166dd6db41b1
      Merged-In: I5df7ee9f16bc6be4f02353d40a843a383dd4cbd9
      (Clean cherry-pick of pi-dev I50bc96afe6ae88c8f58a693f0a4e821f1f9b3299)
      
      Change-Id: I3c416c1a91ebfdf914fd528ff8ab73e3eb490562
      d57329d8
    • Remi NGUYEN VAN's avatar
      Use AI_ADDRCONFIG for most DNS requests · a6085d17
      Remi NGUYEN VAN authored
      Not using it doubles the number of DNS lookups for single-stack
      networks.
      Private DNS hostname resolution still does not use this flag so that we
      get all address families in advance, in case of LinkProperties changes.
      Bug: b/79811321
      Test: manual: Captive portal, 464xlat, networking in apps working
      Merged-In: I7037342a93dc48b8e0988e719b9a9a2d5055bcf2
      Merged-In: I8ca15fa079cd5ff94e4d9f7e0476504769f9708f
      (Clean cherry-pick of pi-dev Ib46756e5e5f8d8d2698c90c5183c368d2d44be7a)
      
      Change-Id: Iedb7a9c5f9caeb66de4505189fca8db91013d844
      a6085d17
    • Daisuke Teranishi's avatar
      Use correct filename when adding to ringtone · ce4d67b6
      Daisuke Teranishi authored
      If the title of the music file includes "/", it's recognized
      as a directory separator.
      Use correct filename to select the file properly.
      
      Bug: 80202253
      Test: Add mp3 which title includes "/" to ringtone
      
      Change-Id: I9bb05f6fe2d7d4dbbdf4f67db7ac6fde04707979
      ce4d67b6
  3. May 23, 2018
  4. May 22, 2018
  5. May 21, 2018
Loading