Skip to content
Snippets Groups Projects
  1. Mar 20, 2024
  2. Mar 19, 2024
  3. Mar 18, 2024
  4. Mar 16, 2024
  5. Mar 15, 2024
  6. Mar 14, 2024
  7. Mar 13, 2024
    • Suprabh Shukla's avatar
      Clear dns cache when restoring network access · 0fa9120b
      Suprabh Shukla authored
      Sometimes apps need to wait for network rules to be updated before some
      of their lifecycle events can be dispatched. This happens specifically
      before resuming activities today.
      
      Because the process-level InetAddress library can cache dns failures,
      we need to clear its cache so that the app can resume making valid dns
      queries as soon as any of its activities resume.
      
      Test: Manual
      
      Bug: 237556596
      (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c431def111f22952fe43aa04d48439c6432d50b6)
      Merged-In: Ia99a43731801078ec8d67cf17fbfee9c329b6e96
      Change-Id: Ia99a43731801078ec8d67cf17fbfee9c329b6e96
      0fa9120b
    • Aditya Kumar's avatar
      Provide a complete definition of FileBlobCache · 9feca01f
      Aditya Kumar authored
      ```
      In file included from external/libcxx/include/algorithm:644:
      external/libcxx/include/memory:2335:19: error: invalid application of 'sizeof' to an incomplete type 'android::FileBlobCache'
       2335 |     static_assert(sizeof(_Tp) > 0,
            |                   ^~~~~~~~~~~
      external/libcxx/include/memory:2652:7: note: in instantiation of member function 'std::default_delete<android::FileBlobCache>::operator()' requested here
       2652 |       __ptr_.second()(__tmp);
            |       ^
      external/libcxx/include/memory:2606:19: note: in instantiation of member function 'std::unique_ptr<android::FileBlobCache>::reset' requested here
       2606 |   ~unique_ptr() { reset(); }
            |                   ^
      frameworks/base/libs/hwui/pipeline/skia/ShaderCache.h:40:7: note: in instantiation of member function 'std::unique_ptr<android::FileBlobCache>::~unique_ptr' requested here
         40 | class ShaderCache : public GrContextOptions::PersistentCache {
            |       ^
      frameworks/base/libs/hwui/pipeline/skia/ShaderCache.h:35:7: note: forward declaration of 'android::FileBlobCache'
         35 | class FileBlobCache;
            |       ^
      1 error generated.
      ```
      
      Test: Build
      Fixes: b/328705924
      Change-Id: I6396f5fafef1941201c05d0b107f48e6d28a6631
      9feca01f
Loading