Skip to content
Snippets Groups Projects
  1. Feb 02, 2023
  2. Feb 01, 2023
  3. Jan 31, 2023
    • Songchun Fan's avatar
      [RESTRICT AUTOMERGE][pm] prevent system app downgrades of versions lower than preload · aec76152
      Songchun Fan authored
      Also remove misleading commandline output.
      
      BUG: 256202273
      
      Test: manual
      1. Install preload system app v90, reboot
      2. (W/O data, W/ Flag, 90->80 NOK) adb install -d ~/Downloads/PrivApplication_80.apk
      Performing Streamed Install
      adb: failed to install /usr/local/google/home/schfan/Downloads/PrivApplication_80.apk: Failure [INSTALL_FAILED_VERSION_DOWNGRADE: System app: com.example.privapplication cannot be downgraded to older than its preloaded version on the system image. Update version code 80 is older than current 90]
      3. (90->100) Install data app v100
      4. (W/ data, W/O Flag, 100->90 NOK) adb install ~/Downloads/PrivApplication_90.apk
      Performing Streamed Install
      adb: failed to install /usr/local/google/home/schfan/Downloads/PrivApplication_90.apk: Failure [INSTALL_FAILED_VERSION_DOWNGRADE: Downgrade detected: Update version code 90 is older than current 100]
      5. (W/ data, W/ Flag, 100->90 downgrade OK) adb install -d ~/Downloads/PrivApplication_90.apk
      Performing Streamed Install
      Success
      6. (90->100) Install v100
      6. (W/data, W/ Flag, 100->80 NOK) adb install -d ~/Downloads/PrivApplication_80.apk
      Performing Streamed Install
      adb: failed to install /usr/local/google/home/schfan/Downloads/PrivApplication_80.apk: Failure [INSTALL_FAILED_VERSION_DOWNGRADE: System app: com.example.privapplication cannot be downgraded to older than its preloaded version on the system image. Update version code 80 is older than current 90]
      
      Change-Id: I5a8ee9e29a3a58f6e3fd188e0122355744b8b0ce
      (cherry picked from commit a4484d7f)
      aec76152
    • Songchun Fan's avatar
      [RESTRICT AUTOMERGE][pm] prevent system app downgrades of versions lower than preload · b0be65f9
      Songchun Fan authored
      Also remove misleading commandline output.
      
      BUG: 256202273
      
      Test: manual
      1. Install preload system app v90, reboot
      2. (W/O data, W/ Flag, 90->80 NOK) adb install -d ~/Downloads/PrivApplication_80.apk
      Performing Streamed Install
      adb: failed to install /usr/local/google/home/schfan/Downloads/PrivApplication_80.apk: Failure [INSTALL_FAILED_VERSION_DOWNGRADE: System app: com.example.privapplication cannot be downgraded to older than its preloaded version on the system image. Update version code 80 is older than current 90]
      3. (90->100) Install data app v100
      4. (W/ data, W/O Flag, 100->90 NOK) adb install ~/Downloads/PrivApplication_90.apk
      Performing Streamed Install
      adb: failed to install /usr/local/google/home/schfan/Downloads/PrivApplication_90.apk: Failure [INSTALL_FAILED_VERSION_DOWNGRADE: Downgrade detected: Update version code 90 is older than current 100]
      5. (W/ data, W/ Flag, 100->90 downgrade OK) adb install -d ~/Downloads/PrivApplication_90.apk
      Performing Streamed Install
      Success
      6. (90->100) Install v100
      6. (W/data, W/ Flag, 100->80 NOK) adb install -d ~/Downloads/PrivApplication_80.apk
      Performing Streamed Install
      adb: failed to install /usr/local/google/home/schfan/Downloads/PrivApplication_80.apk: Failure [INSTALL_FAILED_VERSION_DOWNGRADE: System app: com.example.privapplication cannot be downgraded to older than its preloaded version on the system image. Update version code 80 is older than current 90]
      
      Change-Id: I5a8ee9e29a3a58f6e3fd188e0122355744b8b0ce
      (cherry picked from commit a4484d7f)
      b0be65f9
    • Songchun Fan's avatar
      [RESTRICT AUTOMERGE][pm] prevent system app downgrades of versions lower than preload · 224da6d4
      Songchun Fan authored
      Also remove misleading commandline output.
      
      BUG: 256202273
      
      Test: manual
      1. Install preload system app v90, reboot
      2. (W/O data, W/ Flag, 90->80 NOK) adb install -d ~/Downloads/PrivApplication_80.apk
      Performing Streamed Install
      adb: failed to install /usr/local/google/home/schfan/Downloads/PrivApplication_80.apk: Failure [INSTALL_FAILED_VERSION_DOWNGRADE: System app: com.example.privapplication cannot be downgraded to older than its preloaded version on the system image. Update version code 80 is older than current 90]
      3. (90->100) Install data app v100
      4. (W/ data, W/O Flag, 100->90 NOK) adb install ~/Downloads/PrivApplication_90.apk
      Performing Streamed Install
      adb: failed to install /usr/local/google/home/schfan/Downloads/PrivApplication_90.apk: Failure [INSTALL_FAILED_VERSION_DOWNGRADE: Downgrade detected: Update version code 90 is older than current 100]
      5. (W/ data, W/ Flag, 100->90 downgrade OK) adb install -d ~/Downloads/PrivApplication_90.apk
      Performing Streamed Install
      Success
      6. (90->100) Install v100
      6. (W/data, W/ Flag, 100->80 NOK) adb install -d ~/Downloads/PrivApplication_80.apk
      Performing Streamed Install
      adb: failed to install /usr/local/google/home/schfan/Downloads/PrivApplication_80.apk: Failure [INSTALL_FAILED_VERSION_DOWNGRADE: System app: com.example.privapplication cannot be downgraded to older than its preloaded version on the system image. Update version code 80 is older than current 90]
      
      Change-Id: I5a8ee9e29a3a58f6e3fd188e0122355744b8b0ce
      (cherry picked from commit a4484d7f)
      224da6d4
  4. Jan 25, 2023
    • Shuzhen Wang's avatar
      Camera: Remove 3 processed streams from streamUseCase combinations · 6ddf341b
      Shuzhen Wang authored
      For LIMITED device level, the maximum number of processed streams
      is 2.
      
      To make the stream use case mandatory combinations consistent with
      LIMITED device level, remove the mandatory combinations with 3 processed
      streams.
      
      This is a doc update only.
      
      Test: Build and read doc
      Bug: 266436267
      Change-Id: I83aa6858bb80056dc78d7eeadd0083f8e8caf2e9
      6ddf341b
  5. Jan 21, 2023
Loading