Skip to content
Snippets Groups Projects
  1. Mar 19, 2024
  2. Mar 18, 2024
  3. Mar 15, 2024
  4. Mar 14, 2024
  5. 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
    • Harish Mahendrakar's avatar
      MediaCodecInfo: Change default alignment and block size to 1x1 · 1c144d88
      Harish Mahendrakar authored
      Default alignment and block size were set to 2x2 earlier.
      And even when the codec advertised alignment of 1x1, MediaCodecInfo
      was returning 2x2 because it was picking max of default values and
      what was advertised by codecs.
      
      Bug: 325679394
      Bug: 329378524
      Test: atest CtsMediaMiscTestCases:MediaCodecListTest
      Test: atest CtsMediaV2TestCases:CodecInfoTest passes for codecs
       that advertise 1x1 alignment
      
      Change-Id: I25af7fb09ab9edf8e1d1dea7bac633b1353b4e48
      1c144d88
    • Andy Hung's avatar
    • Andy Hung's avatar
      SoundPool: never-delete singleton to avoid exit race · 223e0a03
      Andy Hung authored
      Test: atest SoundPoolOggTest SoundPoolAacTest SoundPoolMidiTest SoundPoolHapticTest
      Bug: 316799609
      Merged-In: I5b278960207d1b2c9fa80bbc57b2e15dd4498f13
      Change-Id: I5b278960207d1b2c9fa80bbc57b2e15dd4498f13
      223e0a03
    • Harshit Mahajan's avatar
      Renaming isAttemptingFactoryReset to new name · 04e08e9f
      Harshit Mahajan authored
      Scope of isAttemptingFactoryReset method was updated to include both the
      reboots that were triggered by RescueParty.
      As it would be made an API, refactoring it to isRecoveryTriggeredReboot
      which seems a better name with expanded scope.
      
      Bug: b/289203818
      Test: m
      Change-Id: Ic4bc1765e2f08ad35ff23f0f6ea6dae0e4195e79
      04e08e9f
    • Zi Wang's avatar
  6. Mar 12, 2024
Loading