Skip to content
  1. Aug 24, 2021
  2. Aug 20, 2021
    • Android Build Coastguard Worker's avatar
      Merge cherrypicks of [15633344, 15633345, 15633457, 15633423, 15633424,... · 550ec2c8
      Android Build Coastguard Worker authored
      Merge cherrypicks of [15633344, 15633345, 15633457, 15633423, 15633424, 15633425, 15633095, 15633401, 15632569, 15633426, 15633427, 15633402, 15633346, 15633347, 15633403, 15633458] into sc-release
      
      Change-Id: If324c46091cedb24582f468faa6e57447877ca0d
      550ec2c8
    • Lucas Dupin's avatar
      New blue baseline colors · 5699b607
      Lucas Dupin authored
      More neutral baseline colors, created from #00BFFF
      
      Test: manual
      Test: atest SystemPalette
      Fixes: 197143813
      Change-Id: I4dcb62962dfb6f674f63bd99cac7582cec72e888
      (cherry picked from commit 0140709a)
      5699b607
    • Santos Cordon's avatar
      WaitForNegativeProximity stopped with power button. · 62458f4b
      Santos Cordon authored
      If the device is in a state where it is waiting for negative
      proximity event to turn the screen back on (as with phone calls),
      this CL makes it so that power button will also turn the screen
      back on, even if proximity is still positive.
      
      Test: make phone call, cover prox, end call. Previously power button
            had no effect in this state, now it turns the screen back on.
      Bug: 190459207
      Change-Id: I3ce33fe81e5ee0c0652517a8ce46632519ba73c6
      (cherry picked from commit 325cf315)
      62458f4b
    • Ahaan Ugale's avatar
      RESTRICT AUTOMERGE Disable the Trusted Hotword requirement · 64d22187
      Ahaan Ugale authored
      The requirement to use a sandboxed HotwordDetectionService to avoid
      incurring the mic indicator will be added back in a future release.
      With this change, SoundTrigger events and hotword-source audio do not
      incur the mid indicator for any process.
      
      This change adds back the permissions logic from
      I3275647d0f9a6e3ce8b97a556f56723b49170c8e, adjusted to account for the
      changes from I4fc3b3e8defed59a900fd156273e9e695a322b0c (preflight
      permission checks were made to accept soft denials, so simply reusing
      enforcePermissionForPreflight does not work anymore - it would pop up a
      dialog if the mic sensor is muted).
      
      We preserve the behavior of showing the indicator when the detected
      event is delivered from the Trusted Hotword process (no false-positives
      here, so we can accurately show it).
      
      Fix: 197034852
      Test: manual - dsp and non-dsp; true and false positives; mute mic
       sensor - events aren't delivered and no dialog is shown, hotword still
       works after unmuting; mute mic and restart, unmute after starting reco;
       Trusted and non-Trusted hotwording
      Test: atest CameraMicIndicatorsPermissionTest
      Test: atest HotwordDetectionServiceBasicTest
      Test: atest android.cts.statsdatom.appops.AppOpsTests#testAppOps
      Change-Id: I68f2f37b5ce835e7fd8649b382eaee9fc299ec79
      (cherry picked from commit 0e7131f3)
      64d22187
  3. Aug 19, 2021
  4. Aug 17, 2021
    • Android Build Coastguard Worker's avatar
      Merge cherrypicks of [15601928, 15601978, 15601929, 15602376, 15602372,... · 24a2a966
      Android Build Coastguard Worker authored
      Merge cherrypicks of [15601928, 15601978, 15601929, 15602376, 15602372, 15601960, 15601961, 15601962, 15601963, 15601964, 15602416, 15602437, 15602438, 15602440, 15602441, 15602443, 15602444, 15602445, 15602446, 15602447, 15601006, 15601007, 15601008, 15601009, 15601010, 15601011, 15601932, 15601933, 15601934, 15601935, 15602456, 15602457, 15602458, 15602459, 15601981, 15601982, 15601983, 15601984, 15602417, 15602418, 15602419, 15602420, 15602421, 15602422, 15602423, 15602379, 15602380, 15602381, 15602382, 15602383, 15602384, 15602385, 15602386, 15601012, 15601013, 15601014, 15601015, 15602476, 15602477] into sc-release
      
      Change-Id: I98d27d05acafe24ad2fe37a9f092f6907e8ed3c7
      24a2a966
    • Evan Laird's avatar
      Accessibility for privacy status animations · 421a14f3
      Evan Laird authored
      This CL adds contentDescriptions to the privacy event chip and the
      ongoing privacy dot views. This is a partial fix which allows talkback
      for the ongoing privacy chip, and allows talkback scrolling to the
      privacy dot. However, due to the fact that the dot lives in a different
      window, the privacy dot shows up in the wrong part of the accesibility
      tree and still needs to be virtually placed in the status bar.
      
      Bug: 187197696
      Test: manual
      Change-Id: I6210e18c75a1aab61cbcf619a9a31c459fffe544
      (cherry picked from commit c14dd631)
      421a14f3
    • Edgar Wang's avatar
      Fix lint error for those module used in mainline module · fb0db265
      Edgar Wang authored
      Bug: 187861723
      Test: rebuild
      Change-Id: I3a8c9e00f164d0f0dd381b188ecfd0c4a758a277
      Merged-In: I3a8c9e00f164d0f0dd381b188ecfd0c4a758a277
      (cherry picked from commit d56251ba)
      fb0db265
    • Winson Chiu's avatar
      Revert "Use StorageManager#isUserKeyUnlocked to determine CE storage in PMS" · 2cf61bab
      Winson Chiu authored
      This reverts commit 76e6f9d2.
      
      Reason for revert: b/196030595
      
      Bug: 196030595
      Change-Id: Idf42eee3277ceace275aad3e11c7ee692f1171a6
      (cherry picked from commit 864538dd)
      2cf61bab
    • Ryan Mitchell's avatar
      Guard against null info when applying widget RROs · 85b1919f
      Ryan Mitchell authored
      Add null checks to  applyResourceOverlaysToWidgetsLocked to protect
      against a widget provider component info being null.
      
      Fixes: 196231621
      Fixes: 196331791
      Test: none
      Change-Id: Ia762694523404ac508eb49600306048037f13658
      (cherry picked from commit 8c86f395)
      85b1919f
    • Joe Bolinger's avatar
      Add a generic error message for missing vendor error strings. · 436f041e
      Joe Bolinger authored
      The message is empty, instead of null, to prevent apps from crashing but it will be changed to a more meaninful string in a future change.
      
      Fix: 196176475
      Test: N/A
      Change-Id: I7823084238a87cb1b8892b8550c472cd8b40f556
      (cherry picked from commit 5d5d9eb8)
      436f041e
    • Android Build Coastguard Worker's avatar
      Merge cherrypicks of [15589380, 15589521, 15589522, 15589273, 15589503,... · fee0bc79
      Android Build Coastguard Worker authored
      Merge cherrypicks of [15589380, 15589521, 15589522, 15589273, 15589503, 15589504, 15589505, 15589506, 15589507, 15589508, 15589509, 15589510, 15589511, 15589274, 15589562, 15589523, 15589405, 15589406, 15589581, 15589524, 15589525, 15589526, 15589276, 15589277, 15589565, 15589566, 15589528, 15589407, 15589255, 15589516, 15589530, 15589531, 15589569, 15589258] into sc-release
      
      Change-Id: Ie51dfebad33c817c1df839f5e364f751e25976c0
      fee0bc79
    • Evan Laird's avatar
      DO NOT MERGE: Register NetworkController to DumpManager · 991fe9a3
      Evan Laird authored
      It seems that enough Dependency.get() calls were removed for
      NetworkController that the dumpsys stopped including NetworkController
      in it. This CL manually registers NetworkController so we can have those
      logs back.
      
      Test: `adb shell dumpsys activity service com.android.systemui/.SystemUIService | grep NetworkController`
      Fixes: 196486687
      Change-Id: Id8865dd2159a6e3d85ebe80a3d0c4e05d0c16491
      (cherry picked from commit 2b79873e)
      991fe9a3
    • Jeff Sharkey's avatar
      Preserve certain "Nearby devices" implicit grants. · 773d4f36
      Jeff Sharkey authored
      We're willing to preserve an implicit "Nearby devices" permission
      grant if this app was already able to interact with nearby devices
      via background location access.
      
      If the app doesn't have background location access, then the implicit
      "Nearby devices" grant will be revoked as normal.  If the "Nearby
      devices" permission had already been revoked through some other
      means, it will remain revoked.
      
      Bug: 195931693
      Test: atest CtsPermission2TestCases CtsPermission3TestCases
      Change-Id: I7d8df91954525da6473f70cb1759d9507e6a5606
      (cherry picked from commit e2e6e67b)
      773d4f36
    • Bill Lin's avatar
      Don't create one-handed-background-panel after rotation · 6b313952
      Bill Lin authored
      From code flow, when onConfigurationChanged() by rotating
      OneHandedBackgroundPanelOrganizer#showBackgroundPanelLayer()
      will be invoked and then create one-handed-background-panel
      even though OHM is not activated.
      Besides, this could introduce overhead on SF.
      
      Test: manual rotate and dumpsys check HWC layers
      Test: atest WMShellUnitTests
      Bug: 196306312
      Change-Id: Ia766078d5c76b08ab5b24e0ce965ad1d085e4686
      (cherry picked from commit 27da5b04)
      6b313952
    • Fabian Kozynski's avatar
      Remove managed profile icon from QSBH · 580ce0ec
      Fabian Kozynski authored
      This adds it to the ignored icons in QuickStatusBarHeaderController
      iconContainer.
      
      Test: manual, create managed profile, icon doesn't show.
      Fixes: 196243622
      Change-Id: Ib97b9d947318b09d289076c63995327d356cb5fc
      (cherry picked from commit 1c785319)
      580ce0ec
    • Ahaan Ugale's avatar
      Fix OOB crash in ContentCapture for translated views · cbe8bc36
      Ahaan Ugale authored
      When a view is partially visible on the screen, ContentCapture reports
      only the visible portion (+ a few additional lines). The offsets
      calculated for this can be out of bounds if the view's displayed text
      is longer from the original text.
      
      Fix: 196414491
      Test: manual - translate app to lang with more characters and trigger
       a relayout (by scrolling for an app with ListView)
      Test: atest CtsContentCaptureServiceTestCases
      Change-Id: Iae98133c48cc67a0b00f1b0ab8b93e5adb293423
      (cherry picked from commit 273a0eab)
      cbe8bc36
    • Emilian Peev's avatar
      Camera: Initialize the forward processor along with the repeating pipeline · 84291502
      Emilian Peev authored
      Some preview extensions of the image processor type expect to recevive
      'onOutputSurface' calls before the session is enabled by 'onEnableSession'.
      
      Bug: 187341271
      Test: atest -c
      cts/tests/camera/src/android/hardware/camera2/cts/CameraExtensionSessionTest.java
      
      Change-Id: I67147ec24553cf87d23e33c63692fa7e59c57e5f
      (cherry picked from commit a0ced2aa)
      84291502
    • Jayant Chowdhary's avatar
      camera2: Documentation updates for ultra high resolution sensors. · 455f9883
      Jayant Chowdhary authored
      
      
      Bug: 195987968
      
      1) Document mininum pixel array size restriction for ultra high resolution sensors.
      2) Add docs explaining mandatory stream combinations for ultra high resolution sensors.
      
      Change-Id: Ic630259a57906c475210465588eda1a5cc3f68ec
      Signed-off-by: default avatarJayant Chowdhary <jchowdhary@google.com>
      (cherry picked from commit 1f3071d5)
      455f9883
    • Joe Bolinger's avatar
      Remove new task flag when launching unicorn enrollment. · 76926b0c
      Joe Bolinger authored
      Bug: 196103931
      Test: manual (enroll via settings)
      Change-Id: I35aae96e4ebb0c13bc567bb926f2e7a549f554ba
      (cherry picked from commit 6c582e97)
      76926b0c
    • Ray Essick's avatar
      Rename android.media.MediaTranscodeManager -> MediaTranscodingManager · 4cfe431f
      Ray Essick authored
      renamed to avoid conflict with existing copy in the R framework.jar.
      The framework.jar copy was removed during S development
      
      Bug: 195608856
      Test: build
      Test: cts-tradefed run cts -m CtsMediaTranscodingTestCases
      Change-Id: I40ab066cd61be8d278f21cc788016f2edd6bb86e
      (cherry picked from commit 1168d9d0)
      4cfe431f
  5. Aug 13, 2021
    • Android Build Coastguard Worker's avatar
      Merge cherrypicks of [15560884, 15560845, 15560903, 15560904, 15560905,... · d42e8928
      Android Build Coastguard Worker authored
      Merge cherrypicks of [15560884, 15560845, 15560903, 15560904, 15560905, 15560906, 15560769, 15560755, 15557357, 15557358] into sc-release
      
      Change-Id: I0d3297dea2e7b755df16d443dd441cff44792f83
      d42e8928
    • Matt Pietal's avatar
      Limit keyguard views on alt displays · 2c3fcd7f
      Matt Pietal authored
      When casting or on other displays, the keyguard has always limited the
      information shown when locked. Don't show the smartspace and icons on
      these alternate displays
      
      Fixes: 196175396
      Test: manual (cast to nest display device)
      Change-Id: Ied1ecff9103d8539f075785409d2951a1be21ab2
      (cherry picked from commit 893286a5)
      2c3fcd7f
    • Philip Junker's avatar
      Disallow usb access to camera and mic devices if global privacy toggle is active · 26842543
      Philip Junker authored
      Note that this will not prevent currently running apps from accessing
      usb devies to which a connection has already been established.
      Removed isCameraDevicePresent() as this has been implemented as well in
      UsbDevice#getHasVideoCapture().
      
      Bug: 189915399
      Test: Install nExt Camera - USB app, verify that camera is not accessible when camera privacy toggle is disabled.
      Change-Id: Ie60adfe9fc667d883ad4a6b8d7582a4bc17d1549
      Merged-In: Ie60adfe9fc667d883ad4a6b8d7582a4bc17d1549
      (cherry picked from commit f063780d)
      (cherry picked from commit 79023f08)
      26842543
    • Jeff Sharkey's avatar
      Register IBluetoothManagerCallback per-process. · 65cedbaa
      Jeff Sharkey authored
      As part of introducing AttributionSource across the Bluetooth stack
      earlier this year, each BluetoothAdapter instance is now associated
      with a specific AttributionSource, and several instances of shared
      static code were made BluetoothAdapter-specific so they could be
      augmented with the relevant AttributionSource.
      
      However, processes that create many BluetoothAdapter instances can
      overload the system, since a IBluetoothManagerCallback was registered
      for each instance.  This change mitigates this by only registering a
      single IBluetoothManagerCallback for the entire process, and it
      then reuses the existing sProxyServiceStateCallbacks list for
      dispatching events to all active adapters within the process.
      
      Since it's so late in the release, we keep both mService and
      sService intact to minimize the size of this CL; future work should
      refactor to a more robust design, such as Supplier<IBluetooth>.
      
      Bug: 195286998, 172022978
      Test: atest BluetoothInstrumentationTests
      Change-Id: I012f3f65e61eaf55e40436486806e56506c928ee
      (cherry picked from commit f0fa7f9b)
      65cedbaa
    • Hui Yu's avatar
      Reduce background FGS start WTF log messages. · af54bb32
      Hui Yu authored
      In ActivityManagerConstants, add key "fgs_start_allowed_log_sample_rate"
      for the "allowed" WTF log sample rate, default sample rate is 25%; add key
      "fgs_start_denied_log_sample_rate" for the "denied" WTF log sample rate, default sample rate
      is 100%.
      
      In ActiveServices.java, use these two sample rates for the FGS start WTF
      log messages.
      
      Bug: 195672687
      Test: build and run.
      Change-Id: I21cd83552b2988f7e5233094d93f93ba1b6af04a
      (cherry picked from commit d4db713d)
      af54bb32
  6. Aug 12, 2021
  7. Aug 11, 2021
Loading