Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qti-bt #8

Open
wants to merge 92 commits into
base: S
Choose a base branch
from
Open

Qti-bt #8

wants to merge 92 commits into from

Commits on Jun 9, 2022

  1. core: jni: Switch to -O3

    Change-Id: I5db0598b3bf9b353fffa6493a42da43d02aa287a
    Simao Gomes Viana authored and gaganmalvi committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    110c76a View commit details
    Browse the repository at this point in the history
  2. os: Process: Fix wrong code in isThreadInProcess

    rename the "tid" and "pid" variables that had the names inverted.
    
    Change-Id: I920136bb9636fbf5ebb4adfd01f46eda4e39a7da
    leo zhang authored and gaganmalvi committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    e628373 View commit details
    Browse the repository at this point in the history
  3. SettingLib: Add deep sleep info to uptime preference

    Add deep sleep ratio to "About Phone" -> "Uptime"
    original from Stefan
    
    Change-Id: I6949a66bae077b5132304448a7c8d7130665437a
    maxwen authored and gaganmalvi committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    1c43054 View commit details
    Browse the repository at this point in the history
  4. Backport 'Add ability to disable GL draws'.

    This feature is intended for use in headless test environments,
    where disabling drawing has minimal compatibility impact and can
    save significant resource usage when running UI tests.
    
    This feature is controlled via a new system property
    'debug.hwui.drawing_enabled', and a HardwareRenderer API that can
    override the property value on a per-process basis.
    
    Bug: 201691826
    Test: boot emulator
    Merged-In: I93c21e680382e03342f235dbf58bd7a5c8a6f767
    Change-Id: I391c841e3a0cdcfcc6c7910a316a4dd5e970547d
    brettchabot authored and gaganmalvi committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    d39d6a3 View commit details
    Browse the repository at this point in the history
  5. Lazy load Properties::isDrawingEnabled.

    Properties::isDrawingEnabled can unexpectedly return true
    even if the system property debug.hwui.drawing_enabled is false,
    if its called before RenderThread is created.
    
    This commit changes the underlying logic to lazy load the
    debug.hwui.drawing_enabled prop value.
    
    Bug: 201691826
    Test: m
    Change-Id: I599426c8734d418f073fd0456c2b1149fb69d80c
    brettchabot authored and gaganmalvi committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    6697506 View commit details
    Browse the repository at this point in the history
  6. display: Don't spam log when display state changes

     * dynamic refresh rate devices keep switching display configuration
       for changing refresh rate and ends up spamming log way too much
    
    [ghostrider-reborn]
    - DisplayManagerService -> DisplayDeviceRepository in android 12
    
    Test: adb logcat; confirm logs not visible
    Change-Id: I57c19a0042083a86e86f2c210288904f6dc87e2c
    Signed-off-by: Adithya R <[email protected]>
    adithya2306 authored and gaganmalvi committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    0d21909 View commit details
    Browse the repository at this point in the history
  7. Updates to various icons:

     - updated android head in launcher icons
     - USB notifications now use a USB icon instead of the
       platform logo (ADB still uses the platform logo however)
    
    Fixes: 138661761
    Test: attach to adb; confirm that one notification uses the
          Q and one the USB logo
    Test: view system apps in Settings>Apps that have no proper icon
    
    Change-Id: Ia11736c010b4862fea8d0e73c424cfc5c51badfa
    dsandler authored and gaganmalvi committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    d84d9ea View commit details
    Browse the repository at this point in the history
  8. view: add null check for dispatch touch view

    during monkey test, sometimes in low memory status, the view will
    be null when dispatching the touch event. Add null check to avoid
    this crash.
    
    Change-Id: I5b04cfbc6b1c5c46a1da7d1133d8a7e1b9af556f
    jianzhou authored and gaganmalvi committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    38e9ce6 View commit details
    Browse the repository at this point in the history
  9. frameworks: Fix null pointer Issue

    Add a null pointer check to avoid crash while customizing quick settings
    in systemui.
    
    CRs-Fixed: 1094610
    Change-Id: I03eaaaeeb8bbf7fbc91ca09eb16dd1ab559d2d6f
    mqi authored and gaganmalvi committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    d598cde View commit details
    Browse the repository at this point in the history
  10. Crash occured due to null pointer exception.

    Reason: Trying to access remote device
    object (mobjectdevice)which have been set to NULL before.
    
    Fix:Avoid handling state changes for invalid devices(NULL)
    
    CRs-Fixed: 2121814
    PS2: Kill log spam
    Change-Id: Ib6429bac9b72e933850e6a0f7f670f1f5b2313f8
    Niraj kumar Mishra authored and gaganmalvi committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    3722150 View commit details
    Browse the repository at this point in the history
  11. ParcelFileDescriptor: Stop the panic

    Change-Id: Ifa58336abc264571ee307e3c2d69d3c294e2d8c3
    Simao Gomes Viana authored and gaganmalvi committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    b84d6c3 View commit details
    Browse the repository at this point in the history
  12. Turn off some debugs

    Change-Id: I36bd0034f6a0d7e674e97152ac35ec1961718527
    AndroidRul3z authored and gaganmalvi committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    1331de6 View commit details
    Browse the repository at this point in the history
  13. SystemUI: Redraw display cutout on overlay changes

    Fixes notch hide overlay on some devices
    
    commit 5481d59996b34cda1cb6b680af7510fee7b53b42
    Author: daniml3 <[email protected]>
    Date:   Tue Mar 9 08:11:13 2021 +0100
    
        SystemUI: check if the cutout views array is null before using it
    
        Signed-off-by: daniml3 <[email protected]>
        Change-Id: I1316c61280dadc30a86f2ae72559437a61dd4616
    
    Co-authored-by: daniml3 <[email protected]>
    Change-Id: I5a049099ab375833f1e5ebbda49dc36c3c0b0a68
    2 people authored and gaganmalvi committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    bb135cb View commit details
    Browse the repository at this point in the history
  14. PowerUI: Mute logcat spam.

    https://katb.in/kat9848
    
    I'm not 100% sure, but I believe that this was the reason for a SystemUI hang,
    which was responsible for the fact that the screen could not be switched on
    for several seconds and just remained black.
    spezi77 authored and gaganmalvi committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    01f9f4f View commit details
    Browse the repository at this point in the history
  15. Use new gradient dialog also for recovery/factory reset action

    @jhenrique09 edits: Adapt to PE
    
    original commit: https://gerrit.omnirom.org/#/c/27327/
    
    Change-Id: I3a05ca554927dacff7e10d901de5947569a08d07
    Signed-off-by: SagarMakhar <[email protected]>
    Signed-off-by: Joey Huab <[email protected]>
    maxwen authored and gaganmalvi committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    882c7aa View commit details
    Browse the repository at this point in the history
  16. SystemUI: Fix SystemUI Crash

    SystemUI may crash sometimes in monkey test due to exception.
    
    Catch the exception to avoid the crash.
    
    Change-Id: I548be5c6465f3c7a81c33d1cfa9b30e7269fd86d
    mqi authored and gaganmalvi committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    808ba14 View commit details
    Browse the repository at this point in the history
  17. base: Disable Remaining Debug

    Signed-off-by: Aryan Sinha <[email protected]>
    techyminati authored and gaganmalvi committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    a2934f8 View commit details
    Browse the repository at this point in the history
  18. SystemUI: Show Bolt icon while charging.

    [alibei] Adapted to 12L
    [SparXFusion] Adapted to S
    
    Signed-off-by: Jyotiraditya Panda <[email protected]>
    Signed-off-by: SparXFusion <[email protected]>
    Signed-off-by: ad1tyas1ngh <[email protected]>
    Signed-off-by: alibei <[email protected]>
    imjyotiraditya authored and gaganmalvi committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    852f901 View commit details
    Browse the repository at this point in the history
  19. base: PSSSSST! disable some DEBUG logspill

    Change-Id: I719cd895a5225cadd6120980665754d63cb98687
    Signed-off-by: Joey Huab <[email protected]>
    maxwen authored and gaganmalvi committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    c11eee7 View commit details
    Browse the repository at this point in the history
  20. GpsNetInitiatedHandler: Disable more debugging

    Change-Id: I1ced2943df0986bcfc0f44d2847e50e393101e82
    Signed-off-by: Chet Kener <[email protected]>
    Signed-off-by: spezi77 <[email protected]>
    Signed-off-by: Joey Huab <[email protected]>
    Cl3Kener authored and gaganmalvi committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    6d10e73 View commit details
    Browse the repository at this point in the history
  21. SystemUI: PeopleSpaceWidgetManager: don't spam logcat

    * These unguarded logs spam like hell when non-conversation notifications are posted (like download notifications for example)
    
    Signed-off-by: jhonboy121 <[email protected]>
    jhonboy121 authored and gaganmalvi committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    1bf3492 View commit details
    Browse the repository at this point in the history
  22. core: Give fresh look for Action Bar back arrow

    Signed-off-by: HeroBuxx <[email protected]>
    Change-Id: I8c83e0afe3ea46c0a800b5edbc29a1e1c87dc31a
    herobuxx authored and gaganmalvi committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    f837d56 View commit details
    Browse the repository at this point in the history
  23. SystemUI: Stop building NotoSerif font.

    biggest step taken, kills remaining 0.1% of germs completely.
    it's true tho.
    
    Change-Id: I26da2afc4d77749c735492345e5228899e79a2e4
    Signed-off-by: Adithya R <[email protected]>
    Reviewed-on: https://review.statixos.com/c/android_frameworks_base/+/7835
    Reviewed-by: Sourajit Karmakar <[email protected]>
    Tested-by: Sourajit Karmakar <[email protected]>
    imjyotiraditya authored and gaganmalvi committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    df0347d View commit details
    Browse the repository at this point in the history
  24. Fix daveys when latch_unsignaled is used

    Fixes: 202297616
    Bug: 216358554
    Test: manual
    Change-Id: Ibd2edd9a6dbe7f66d990a276fcfb6cec8445086d
    (cherry picked from commit c8024fc)
    Signed-off-by: Pranav Vashi <[email protected]>
    jreck authored and gaganmalvi committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    5c094c4 View commit details
    Browse the repository at this point in the history
  25. Revert "hwui: JankTracer: Silence Davey logs for now"

    This reverts commit 38d8124a724cb75afca0d91a215cefae7180d544.
    
    Change-Id: I9319b788bf38a26f9ae152a623ca9e9fb39d1df1
    adithya2306 authored and gaganmalvi committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    42a4a41 View commit details
    Browse the repository at this point in the history
  26. Revert "base: Don't send interaction hint for unnecessary events"

    Breaks touch timer for refresh rate in surfaceflinger.
    
    This reverts commit 8ded339b1970e62b4b83bf0a0d89464a408a849b.
    
    Change-Id: Ia8302b97ffa58f78e1cfa52271d6d8595056716e
    adithya2306 authored and gaganmalvi committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    a9b361f View commit details
    Browse the repository at this point in the history
  27. SystemUI: Always refresh power menu on UI mode change

    This is necessary for reliably theming the global actions dialog with
    dynamic colors and adapting it to light/dark themes.
    
    Demo screenshots (with color overlays applied):
    https://twitter.com/kdrag0n/status/1445960685427433473
    
    [kdrag0n: ported to 12L]
    
    Change-Id: If58fb4079a4cd11414ff928fad3576beecb14ff5
    Reviewed-on: https://review.statixos.com/c/android_frameworks_base/+/7747
    Reviewed-by: Anay Wadhera <[email protected]>
    Tested-by: Anay Wadhera <[email protected]>
    kdrag0n authored and gaganmalvi committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    8899ce4 View commit details
    Browse the repository at this point in the history
  28. base: Fix location privacy indicator getting stuck

    * Previously, when there is ongoing location indicator visible and if it is
      toggled off, it get stucks permanently in statusbar and quick statusbar.
      This patch fixes it.
    
    Signed-off-by: Pranav Vashi <[email protected]>
    Change-Id: Icf41de1c9f137e943dde8c09eb844ae9815a7bfd
    Reviewed-on: https://review.statixos.com/c/android_frameworks_base/+/7741
    Reviewed-by: Anay Wadhera <[email protected]>
    Tested-by: Anay Wadhera <[email protected]>
    neobuddy89 authored and gaganmalvi committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    7e3e1aa View commit details
    Browse the repository at this point in the history
  29. core: Wipe package cache on upgrade even on user build

    As we're spoofing builds by pretending it to be user, let's just do this
    for everyone.
    
    Signed-off-by: Albert I <[email protected]>
    Change-Id: I5d967c25bd9c4890549d5d20f5e66b0c6845528c
    Signed-off-by: DennySPb <[email protected]>
    Signed-off-by: Joey Huab <[email protected]>
    Signed-off-by: dlwlrma123 <[email protected]>
    Reviewed-on: https://review.statixos.com/c/android_frameworks_base/+/7726
    Reviewed-by: Daniel Jacob Chittoor <[email protected]>
    Reviewed-by: Sourajit Karmakar <[email protected]>
    Tested-by: Sourajit Karmakar <[email protected]>
    krasCGQ authored and gaganmalvi committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    fb5d472 View commit details
    Browse the repository at this point in the history
  30. SystemUI: fix MediaProjection cast crash

    Clicking on the "cast" icon of an app using the MediaProjection API will
    crash as the code assume that it is a device.
    
    java.lang.ClassCastException: android.media.projection.MediaProjectionInfo cannot be cast to android.media.MediaRouter$RouteInfo
    	at com.android.systemui.statusbar.policy.CastControllerImpl.startCasting(CastControllerImpl.java:177)
    	at com.android.systemui.qs.tiles.CastTile$CastDetailAdapter.onDetailItemClick(CastTile.java:237)
    	at com.android.systemui.qs.QSDetailItems$1.onClick(QSDetailItems.java:177)
    	at android.view.View.performClick(View.java:4756)
    	at android.view.View$PerformClick.run(View.java:19749)
    	at android.os.Handler.handleCallback(Handler.java:739)
    	at android.os.Handler.dispatchMessage(Handler.java:95)
    	at android.os.Looper.loop(Looper.java:135)
    	at android.app.ActivityThread.main(ActivityThread.java:5221)
    	at java.lang.reflect.Method.invoke(Native Method)
    	at java.lang.reflect.Method.invoke(Method.java:372)
    	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898)
    	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693)
    
    Change-Id: Icfdf745c03da7bd1bbb228e06005f55324c1b8fa
    Reviewed-on: https://review.statixos.com/c/android_frameworks_base/+/6189
    Reviewed-by: Sourajit Karmakar <[email protected]>
    Tested-by: Sourajit Karmakar <[email protected]>
    Reviewed-on: https://review.statixos.com/c/android_frameworks_base/+/7213
    Reviewed-by: Anay Wadhera <[email protected]>
    Tested-by: Anay Wadhera <[email protected]>
    pawitp authored and gaganmalvi committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    43882fb View commit details
    Browse the repository at this point in the history
  31. Add BluetoothQualityReport class(1/2)

    BluetoothQualityReport class contains all the values
    from firmware BQR event.
    
    Change-Id: I92c8a34695cedfea2a8b94f67e702860653866d7
    CRs-Fixed: 2472638
    Mingbo Zhang authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    8089d39 View commit details
    Browse the repository at this point in the history
  32. BT: Adding aptX-Adaptive codec entry to Framework

    Adding entry for aptX Adaptive into Framework for
    indexing and UI handling.
    
     Conflicts:
    	core/java/android/bluetooth/BluetoothCodecConfig.java
    	packages/SettingsLib/res/values-en-rGB/arrays.xml
    	packages/SettingsLib/res/values/arrays.xml
    
    CRs-Fixed: 2280216
    
    Change-Id: I94627eb3188b6c69d48f982d4e6c41f78e5e81fa
    Signed-off-by: Volodymyr Zhdanov <[email protected]>
    Gurpreet Ghai authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    f9d0b9b View commit details
    Browse the repository at this point in the history
  33. TWS-A2DP: Add TWS+ codec to DevUI support

     Conflicts:
    	core/java/android/bluetooth/BluetoothCodecConfig.java
    	packages/SettingsLib/res/values-en-rGB/arrays.xml
    	packages/SettingsLib/res/values/arrays.xml
    
    Change-Id: I26ac7cc34875d01a987f00b34e43cc7fca98ef3a
    CRs-Fixed: 2318635
    Signed-off-by: Volodymyr Zhdanov <[email protected]>
    pramod kotreshappa authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    a578431 View commit details
    Browse the repository at this point in the history
  34. Revert the change: AudioService: remove dead BT code.

     Conflicts:
    	services/core/java/com/android/server/audio/AudioDeviceBroker.java
    	services/core/java/com/android/server/audio/AudioService.java
    
    Change-Id: If9902d3d458b6c5ccd474ffe69133d81beb49ca9
    CRs-Fixed: 2475616
    Samyak Jain authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    3ebd903 View commit details
    Browse the repository at this point in the history
  35. Bluetooth: Add SDK API support for TWS feature (2)

    - Add new SDK APIs to know the device is a TWS
      device and to get the peer TWS device address
    
     Conflicts:
    	core/java/android/bluetooth/BluetoothDevice.java
    
    CRs-Fixed: 2225904
    Change-Id: Ia7e3103d603659d524fcb3f42e0b026e316914c5
    Signed-off-by: Volodymyr Zhdanov <[email protected]>
    Bandari Ramesh authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    03297d9 View commit details
    Browse the repository at this point in the history
  36. Bluetooth: Unpair both earbuds on unpair.

    1> On unpair initiation to primary, Initiate Unpair
       for peer secondary TWS device as well.
    2> On pairing to primary earbud, Initiate connection to second
       earbud.
    
    [wight554: updated code from LA.QSSI.11.0.r1-05600-qssi.0]
    
     Conflicts:
    	packages/SettingsLib/src/com/android/settingslib/bluetooth/CachedBluetoothDevice.java
    
    CRs-fixed: 2230362
    Change-Id: I0d0e7c3bc66d4ff24a2b767996bc1367022901d6
    Signed-off-by: Volodymyr Zhdanov <[email protected]>
    Kiran Kelageri authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    cea05bf View commit details
    Browse the repository at this point in the history
  37. Bluetooth: Rename bluetooth property to support new P Treble rules

    - Renamed the property persist.vendor.bt.connect.peer_earbud to
      persist.vendor.btstack.connect.peer_earbud to support new P
      Treble rules.
    
     Conflicts:
    	packages/SettingsLib/src/com/android/settingslib/bluetooth/CachedBluetoothDevice.java
    
    CRs-Fixed: 2277397
    Change-Id: I45dc740a45195154e2fe2a88a0384181fd0c7907
    Signed-off-by: Volodymyr Zhdanov <[email protected]>
    Safoorah Banu Shaik authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    504378f View commit details
    Browse the repository at this point in the history
  38. Bluetooth-TWS: Disable outgoing connection for 2nd earbud.

    Change ensures outgoing connection for second earbud on
    pairing to disabled by default. if needed can be enabled
    by setting property.
    
     Conflicts:
    	packages/SettingsLib/src/com/android/settingslib/bluetooth/CachedBluetoothDevice.java
    
    CRs-fixed: 2300140
    Change-Id: Id00fdb30825aeee1e6adff55c767e94df96d52b5
    Signed-off-by: Volodymyr Zhdanov <[email protected]>
    Kiran Kelageri authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    c516ffc View commit details
    Browse the repository at this point in the history
  39. Bluetooth-TWS: Disable outgoing connection to 2nd earbud

    Disbaling outgoing connection to 2nd earbud and removed
    vendor specific property.
    
     Conflicts:
    	packages/SettingsLib/src/com/android/settingslib/bluetooth/CachedBluetoothDevice.java
    
    Change-Id: I912c3acd84f449b6f967d6ef2c7beaebca4ef05c
    CRs-fixed: 2326015
    Signed-off-by: Volodymyr Zhdanov <[email protected]>
    Kiran Kelageri authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    79aa546 View commit details
    Browse the repository at this point in the history
  40. GAP: Reset bondingInitiatedLocally flag(1/3)

    When Pairing initiated from DUT, bondingIinitiatedLocally
    flag sets from adapterservice. If user disable profile
    options from UI and tries to connect from remote,DUT
    rejects the incoming connection, when dut rejects
    connection some remotes may initiates pairing again.
    
    Profile options should be in disable state after incoming
    pairing successful as user disabled profile options, but
    profile options getting enabled as bondingInitiatedLocally
    not reset.
    
    Hence Reset bondingInitiatedLocally flag after connection
    
     Conflicts:
    	packages/SettingsLib/src/com/android/settingslib/bluetooth/CachedBluetoothDevice.java
    
    Change-Id: I612b0718fcc4f6aaeded112fee4cb51ad7f25772
    CRs-Fixed: 2457374
    Signed-off-by: Volodymyr Zhdanov <[email protected]>
    Venkata Jagadeesh Garaga authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    883848e View commit details
    Browse the repository at this point in the history
  41. BT: Send info if call is CS type from telecomm service to BT apps.

    The change adds broadcast intent for updating call info from telecomm
    service to bluetooth application.
    
    CRs-Fixed: 2260445
    Change-Id: I18d3a22d25099906d86efb0412f309696c02e321
    Sumit Bajpai authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    a3e54a9 View commit details
    Browse the repository at this point in the history
  42. Bluetooth: TWSP: Support Battery Status information display

    Reference changes to use the Battery status Intent and display
    in Settings UI
    
     Conflicts:
    	packages/SettingsLib/src/com/android/settingslib/bluetooth/CachedBluetoothDevice.java
    
    CRs-fixed: 2467643
    
    Change-Id: Ibc81611529df1d1c8ff0453768eb494a8957b9c2
    Signed-off-by: Volodymyr Zhdanov <[email protected]>
    Bhakthavatsala Raghavendra authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    6c4ace7 View commit details
    Browse the repository at this point in the history
  43. Add support for Transport discovery AD type (1/2)

    Add support for Transport discovery AD type in
    BLE advertisement data.
    
    CRs-Fixed: 2299975
    Change-Id: I76ef89856746ea5d88af77142a38398b33393449
    Subramanian Srinivasan authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    3583f26 View commit details
    Browse the repository at this point in the history
  44. Support CALLBACK_TYPE_SENSOR_ROUTING

    Add support to CALLBACK_TYPE_SENSOR_ROUTING when start scanning
    
    Change-Id: I958938b2e428b2ba68297d22eb829b4f94deab30
    CRs-Fixed: 2095995
    Mingbo Zhang authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    201cd9e View commit details
    Browse the repository at this point in the history
  45. Add scan filter for Transport Discovery data

    Add scan filter support for Transport Discovery
    data.
    
    CRs-Fixed: 2418407
    Change-Id: I84b791d7424620bc7db5b19e8f6a14938b1526af
    Subramanian Srinivasan authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    687058d View commit details
    Browse the repository at this point in the history
  46. Obex: Squashed commit of the following

    Obex : Reduce MTU Size.
    
    Use case:
    1. Start Low Latency and High Tx Power adv from the DUT
    2. From a 2nd DUT scan, connect and pair with the LEP DUT
    3. Connect the DUT to a SCO HS
    4. Connect the DUT to 2 BR/EDR HID devices
    5. Start MO call from the DUT going over SCO
    6. Start sending a file from Phone over OPP to the DUT
    
    Result:
    After a while the OPP link disconnects
    reason: "Connection Timeout"
    
    Fix:
    Reduce Obex MTU to 8k if reduce MTU is enable
    Change-Id: I21cb27ff98e07cd923d6e28a67b3b52835b68956
    
    OBEX: Dynamic VERBOSE level logging for OBEX.
    - Support runtime VERBOSE level logging control
      for  OBEX lib.
    - Added extra informative logs useful to
      debug issues from Obex layer.
    
    Change-Id: If94c88b438b3c283aca0ba4cc46f42bb1d8c37eb
    
    OBEX : Handle Negative index Exception
    
    Use case:
    1. Send file to remote device.
    2. Wait for accepting the file transfer on remote device.
       Use Specific remote device(that sends some
          optional headers).
    
    Failure:
    No file acceptance popup seen on remote device.
    
    Root cause:
    Failure in com.android.bluetooth.
    
    FATAL EXCEPTION: BtOpp ClientThread
    Process: com.android.bluetooth, PID: 22527
      java.lang.NegativeArraySizeException: -3
      at javax.obex.ObexHelper.updateHeaderSet(ObexHelper.java:216)
      at javax.obex.ClientSession.sendRequest(ClientSession.java:568)
      at javax.obex.ClientSession.connect(ClientSession.java:148)
      at com.android.bluetooth.opp.BluetoothOppObexClientSession$ClientThread.
      connect(BluetoothOppObexClientSession.java:317)
      at com.android.bluetooth.opp.BluetoothOppObexClientSession$ClientThread.
      run(BluetoothOppObexClientSession.java:231)
      am_craash( 1402): [22527,0,com.android.bluetooth,818462277,java.lang.
      NegativeArraySizeException,-3,ObexHelper.java,216]
    
    Fix:
    Add length check before allocate memory and break loop if length is less than
    expected header length as per OBEX Specification.
    
    CRs-Fixed: 2197150
    Change-Id: I805e6b1d51f69645d5132c3c18db2e752d04b096
    Sravan Kumar V authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    da221d9 View commit details
    Browse the repository at this point in the history
  47. GAP: Handle the race condition cases in auto connect logic

    Issue:
    Auto connection failing when onUuidChanged and onBondingStateChanged
    triggered in race condition.
    
    Steps:
    1.Turn on BT
    2.Scan the remote headset from DUT
    3.Initiating pairing to remote device
    4.unpair the remote from DUT UI
    
    Repeat steps from 2 to 4. Some times auto connection not
    getting initiated from DUT.
    
    Root Cause:
    if mProfiles accessed simultaneously from onUuidChanged and
    connectAllEnabledProfiles with two different process context.
    mProfiles not reflecting latest value in connectAllEnabledProfiles,
    Settings not able to initiate Auto connection as mProfiles
    list shown as empty.
    
    onBondingStateChanged getting triggered multiple times from settings
    with different process contexts and BondingInitiatedLocally resets in first
    instance when no profiles added, its leading auto connection failure
    
    FIX:
    - mProfiles accessed inside onUuidChanged without syncronization,also
      mProfiles empty check already there in connectWithoutResettingTimer
    
    - Hence remove redundant mProfiles empty check in onUuidChanged
    
    - Reset BondingInitiatedLocally flag while initiating connection.
    
    [wight554: updated code from LA.QSSI.11.0.r1-05600-qssi.0]
    
     Conflicts:
    	packages/SettingsLib/src/com/android/settingslib/bluetooth/CachedBluetoothDevice.java
    
    Change-Id: I88aa6a6cd46d264f4dd32db71e413079bbd40779
    CRs-Fixed: 2630956
    Signed-off-by: Volodymyr Zhdanov <[email protected]>
    Venkata Jagadeesh Garaga authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    74ffc2a View commit details
    Browse the repository at this point in the history
  48. Use BluetoothUtils instead of Utils

    This class got renamed upstream.
    
    Change-Id: I7a7a52bfb33851ad2457e5a2b76babbaa0a9835c
    Diego Wilson authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    7e1cc75 View commit details
    Browse the repository at this point in the history
  49. audio: Add support for audio extended codecs

    - Add support for APTX adaptive and CELT
      formats
    
    [wight554: updated code from LA.QSSI.11.0.r1-05600-qssi.0]
    
     Conflicts:
    	media/java/android/media/AudioSystem.java
    	services/core/java/com/android/server/audio/BtHelper.java
    
    Change-Id: I735a297acc4d3d4c7f8d2cc9302a13ebcf4e4c3d
    CRs-Fixed: 2433041
    Signed-off-by: Volodymyr Zhdanov <[email protected]>
    Naresh Tanniru authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    572a251 View commit details
    Browse the repository at this point in the history
  50. audio: Add support for APTX TWSP audio codec

    - Add support for APTX TWSP audio format for BT.
    
    [wight554: updated code from LA.QSSI.11.0.r1-05600-qssi.0]
    
     Conflicts:
    	media/java/android/media/AudioSystem.java
    	services/core/java/com/android/server/audio/BtHelper.java
    
    CRs-Fixed: 2433041
    Change-Id: I19e256ae981516e9054b6e6eed8372ae2929b006
    Signed-off-by: Volodymyr Zhdanov <[email protected]>
    Dhananjay Kumar authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    06b06af View commit details
    Browse the repository at this point in the history
  51. TWS_A2DP: Handle active device change between TWS+ earbuds

    Check for TWS+ device switch in active device change. If
    TWS+ device switch then remove disconnected device
    and add peer pair device into connected devices list and
    return.
    
    [wight554: updated code from LA.QSSI.11.0.r1-05600-qssi.0]
    
    CRs-fixed: 2446639
    Change-Id: I97e66fba56fceb2e9b2e7c253119033bf34175bb
    Signed-off-by: Volodymyr Zhdanov <[email protected]>
    pramod kotreshappa authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    096deba View commit details
    Browse the repository at this point in the history
  52. BT_Audio: Updated Check for TWS+ switch

    - Race condition between disconnection of first earbud and
      connection of second earbud, the configuration of second
      earbud is ignored because it is considered a case of TWS
      switch.
    - Since MM Audio removes the disconnected device from list
      after delay of ~600ms, this creates a window where a new
      connection goes unprocessed when it happens immediately
      after disconnection.
    - This change fetches real time connection state from A2DP
      to overcome the race condition.
    
    CRs-Fixed: 2606382
    
    Change-Id: I2df8447acb1d8e1b843a49906f2f3e3993cce5d6
    Gurpreet Ghai authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    f573374 View commit details
    Browse the repository at this point in the history
  53. BT: Add new intent to broadcast IOT device details

    This intent will be used to broadcast IOT device details
    when IOT related issue is encountered.
    
    CRs-Fixed: 2109009
    Change-Id: I5eb97e3e2835a5acf3b2edb6c3d29e9da81bdc75
    Gurpreet Ghai authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    4512ab1 View commit details
    Browse the repository at this point in the history
  54. Bluetooth: Fix for Global reference table overflow issue[1/2]

     -  To avoid RemoteCallbackList object leaks in Bluetooth Manager
        Service, Added unregister API in BluetoothAdapter.java which
        internally calls unregisterAdapter of Manager Service
    
    CRs-Fixed: 2138560
    Change-Id: I58ce5f5e1b86d87e0ff602b453abb74d0b5e1982
    Bandari Ramesh authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    0b9dbec View commit details
    Browse the repository at this point in the history
  55. BT Dev: Increase array size for codec selection in Dev Op

    Increase array size to accomodate additional codec
    in Developer Option codec list
    
     Conflicts:
    	packages/SettingsLib/res/values/arrays.xml
    
    CRs-Fixed: 2322634
    
    Change-Id: I1de7d70e675bffed25b1016efbd1ea908b24d97d
    Signed-off-by: Volodymyr Zhdanov <[email protected]>
    Gurpreet Ghai authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    7e60e48 View commit details
    Browse the repository at this point in the history
  56. Bluetooth: Fix for out of bound exception

    Increase array length to accomadate TWS+ codec entry in
    DevUI settings.
    
     Conflicts:
    	packages/SettingsLib/res/values/arrays.xml
    
    CRs-fixed: 2495783
    Change-Id: I3b334f9420eff0850ead4db9d452c69ce4295c50
    Signed-off-by: Volodymyr Zhdanov <[email protected]>
    pramod kotreshappa authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    e41146c View commit details
    Browse the repository at this point in the history
  57. Keep a null check before accessing the BluetoothA2dpWrapper APIs.

    When switching from default user mode to guest mode from system settings,
    Bluetooth gets turn OFF and ON. Then, try connect to peer device which was
    connected previousely in the default user mode. At this point if BluetoothA2dpWrapper
    has not init, then its object would be null, and accessing the APIs of BluetoothA2dpWrapper
    in A2dpProfile, results in NPE. So keep a null check on object of BluetoothA2dpWrapper
    class before accessing APIs using it.
    
    [wight554: updated code from LA.QSSI.11.0.r1-05600-qssi.0]
    
     Conflicts:
    	packages/SettingsLib/src/com/android/settingslib/bluetooth/A2dpProfile.java
    
    CRs-Fixed: 2454049
    Change-Id: Idd949bc27fec10b46a149b5db67abc6f3b5097d1
    Signed-off-by: Volodymyr Zhdanov <[email protected]>
    Satheesh Kumar Pallemoni authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    baabb16 View commit details
    Browse the repository at this point in the history
  58. Enable codec change request when mode changes in aptX-adaptive

    Enable codec change request when mode changes in aptX-adaptive
    
    CRs-Fixed: 2537521
    Change-Id: I74c8446a2a163282fb8d6edc5b293410a1b5d7c5
    Naval saini authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    1c70a6a View commit details
    Browse the repository at this point in the history
  59. BT: Relocate A2DP codec strings for translation

     Conflicts:
    	packages/SettingsLib/res/values-en-rGB/arrays.xml
    	packages/SettingsLib/res/values/arrays.xml
    
    [wight554: adapted arrays for android 11]
    
    Change-Id: I2fba6c35331175fc3432cdf1108d75f6495b4f03
    Signed-off-by: Volodymyr Zhdanov <[email protected]>
    moetayuko authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    917c0ed View commit details
    Browse the repository at this point in the history
  60. Fix BLE transport discovery scan filter

    Add BLE transport discovery scan filter
    only when transport discovery organization
    id is valid (greater than or equal to 0).
    
    CRs-Fixed: 2424135
    Change-Id: I40e6013c9c6be28c82b7265edae70e7d6d577749
    Subramanian Srinivasan authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    fae30aa View commit details
    Browse the repository at this point in the history
  61. BLE: Fix NPE during start advertising

    Use case:
    Open any app that performs advertising.
    
    Expected result:
    BLE should Start advertisement.
    
    Observed result :
    Observed force close in BA App.
    
    Fix:
    set zero into parcel if transport
    discovery data is empty.
    
    Test: BLE Start advertisement successes after performing above use case.
    
    CRs-Fixed: 2304532
    Change-Id: Ica730f8d22367864308412621a8d87e625198bec
    Sravan Voleti authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    4d8736a View commit details
    Browse the repository at this point in the history
  62. BT-Audio: Keep track of Active TWS+ EB device in BTHelper

    Keep track of active TWS+ EB device in MM Audio module
    based on device connect/disconnect events as part of
    Active device update. This device tracking will help us
    to make decision for Audio updates regarding reconfig
    should be done OR not based on EBs transition use-case.
    
    CRs-Fixed: 2717923
    Change-Id: I2df8447acb1d8e1b843a49906f2f3e3993dee5d6
    Sagar Verma authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    2729cc9 View commit details
    Browse the repository at this point in the history
  63. Audio: Update current active bt device of mApmConnectedDevices.

    Update key of bt-a2dp inside mApmConnectedDevices when the
    active bt device changes.
    
    CRs-Fixed: 2634767
    Change-Id: I92fa39581a10fd8900e41139d71ca46dd2445eb6
    Manisha Agarwal authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    508ff0a View commit details
    Browse the repository at this point in the history
  64. Audio: use cached BT codec info during disconnecting

    When disconnecting BT device, BT device state machine may be
    destroyed and cause query of codec failed.
    This can make device disconnection failed in low layer audio
    service.
    
    CRs-Fixed: 2604724
    Change-Id: I970802310eae0b5b43340aaddb312906e1a4c444
    Zhou Song authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    3dfbd5f View commit details
    Browse the repository at this point in the history
  65. Audio: Do not disconnect profiles till Bluetooth Off

    - Disconnecting and clearing Bluetooth Profiles during
      Turning Off State doesn't give chance to A2DP/AVRCP
      profiles to save and retain Audio related data like
      Volume level.
    - This change ensures Audio Service only disconnect
      Bluetooth Profile on receiving Bluetooth Off state.
    
    Change-Id: Ie99cb2b35b9ddc7e4f0d0f89407cda9641379fb8
    CRs-Fixed: 2512169
    Gurpreet Ghai authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    28ac1a9 View commit details
    Browse the repository at this point in the history
  66. Add callback onA2dpCodecConfigChanged

    Add callback onA2dpCodecConfigChanged for
    intent BluetoothA2dp.ACTION_CODEC_CONFIG_CHANGED.
    
    Change-Id: I4d19f0427c2f68dfd01a241eb631c6782d948395
    CRs-Fixed: 2735935
    Mingbo Zhang authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    b959dcf View commit details
    Browse the repository at this point in the history
  67. Bluetooth: Add APTX-Adaptive and APTX-TWS+ entries.

    Add APTX-Adaptive and APTX-TWS+ entires to bluetooth a2dp
    codec summaries w.r.t major languages.
    
    CRs-Fixed: 2778223
    Change-Id: Ia8ce5099a4247cf2e84978e9cfb2ee18864a71d7
    Kiran Kelageri authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    a3a7a2d View commit details
    Browse the repository at this point in the history
  68. Audio: Add support for lc3 codec.

    Add support for lc3 codec.
    
    CRs-Fixed: 2789473
    Change-Id: Ica900e6546642e8c945170645f129e3a83301ddd
    Manisha Agarwal authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    c9e0db7 View commit details
    Browse the repository at this point in the history
  69. Add LC3 codec type.

    - Add LC3 codec type
    - Add additional sample rate and channel mode
    
    CRs-Fixed: 2789473
    
    Change-Id: I13d0c6944a12422c13e2069697817c0f26330179
    pramod kotreshappa authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    c31cda5 View commit details
    Browse the repository at this point in the history
  70. DeviceGroup: Framework changes for Group Device operations.

    This change contains below implementations
    - BluetoothDeviceGroup profile proxy object implementation.
    - GroupClientProfile as LocalBluetoothProfile.
    - Group Callbacks to be given to registered application.
    
    CRs-Fixed: 2826578
    Change-Id: I0a8186e800e9d2701319db1adc97bdcf0441cc12
    Sumit Deshmukh authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    8cce8af View commit details
    Browse the repository at this point in the history
  71. DeviceGroup: UI frameworks changes

    Add system APIS to support Group UI
    
    CRs-Fixed: 2829452
    Change-Id: Id7de6e48f3c8be05be0af172055c35cab322e5fe
    Sravan voleti authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    a5e385f View commit details
    Browse the repository at this point in the history
  72. DeviceGroup: Frameworks changes (for dual mode devices).

    This change contains implementation of overloaded API's
    to get device details based on public address.
    Note: API's are hidden and should be used only from
          settingslibs LocalBluetoothProfile.
    
    CRs-Fixed: 2826578
    Change-Id: I9b1f08f4bd5eee8fd66fc032745d3ec5b56e7c2f
    Sumit Deshmukh authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    32d6e96 View commit details
    Browse the repository at this point in the history
  73. BT: API to update quiet mode status in Adapter service [2/3]

     - In BLE on use case, quiet mode status is not updated to
       Adapter service which results in not initiating auto
       connection of hfp & a2dp though quiet mode is disabled
       for next turn On.
    
     - Added new API to update quiet mode status in Adapter
       service.
    
    CRs-Fixed: 2337538
    Change-Id: I49a604b7996024fd9fd498fb7cc6aafc208517a5
    M Safoorah Banu authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    440a961 View commit details
    Browse the repository at this point in the history
  74. Bluetooth: Update Bluetooth permissions for internal APIS. (2/4)

    This adds attribution source as a parameter to Value added APIS.
    
    Update Bluetooth API annotations.
    
    CRs-Fixed: 3044065
    Change-Id: Icf9c0242f928ce2f26f66350ddb3937fda35220d
    Sravan voleti authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    8c02afa View commit details
    Browse the repository at this point in the history
  75. Periodic Advertisment Sync Transfer feature support

    CRs-fixed: 2814447
    Change-Id: Ic77e8ddbe57e415f7fd9c11943da50e4d86230d2
    pramod kotreshappa authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    32fc0cd View commit details
    Browse the repository at this point in the history
  76. Revert "Matching codec index between frameworks and stack"

    This reverts commit 6e7b6cffb26610a7335e8e9c6b6451bd03468630.
    
    CRs-Fixed: 2914887
    Change-Id: Ic1cf1a81bba8f0f54a5dc404cfe5fec0bcc850cd
    Satheesh Kumar Pallemoni authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    6db7e70 View commit details
    Browse the repository at this point in the history
  77. A2dpSrc: Align legacy codec enumeration with AOSP(4/7)

    To avoid any future CTS failures, need to align our QC
    codec enumeration with AOSP. On top of that enumeraion
    extaned to QVA codecs.
    
    CRs-Fixed: 2708798
    Change-Id: Idc8dbcdc6454586031ce7431f52a2c031cfd1871
    Satheesh Kumar Pallemoni authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    fd695f1 View commit details
    Browse the repository at this point in the history
  78. Add Broadcast profile id

    Add broadcast profile to BluetoothProfile
    
    CRs-fixed: 2856233
    Change-Id: I17a4eb21ea9cc74a28349a8e0883ed2249838f3c
    pramod kotreshappa authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    5c1696a View commit details
    Browse the repository at this point in the history
  79. Bluetooth: Add BC profile entry

    Add  BC profile entry and override constructor for CachedBluetoothDevice
    
    CRs-fixed: 2853618
    
    Change-Id: I750139a482280ce3409989582ffad50aed20e081
    Bhakthavatsala Raghavendra authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    c6fe92e View commit details
    Browse the repository at this point in the history
  80. Bluetooth: Broadcast UI: Changes to existing files

    CRs-fixed: 2856233
    Change-Id: I04ecf35e9f6d8e778b3e8f90e8f1ab0cd34eeb9b
    Sunny Kapdi authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    4a2d4ec View commit details
    Browse the repository at this point in the history
  81. Group-UI: UI frameworks changes

    Add system APIS to support Group UI
    Add AUDIO MCOD related flags
    Add new icon for Group supported Adv Audio device
    
    CRs-Fixed: 2832643
    Change-Id: Iab3b23115fb7b9917faed3cbb30f32538824e7db
    Sravan voleti authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    8fb812f View commit details
    Browse the repository at this point in the history
  82. VCP: frameworks and settingsLib changes for VCP Profile

    This change contains below implementations:
    - Bluetooth VCP profile proxy object implementation.
    - VcpProfile implementation in SettingsLib
    - VCP Refactor changes in framework and settingsLib
    
    CRs-fixed: 2857030
    Change-Id: If7c607d51c92e4215a1bef58dab77a7479131a31
    zhenchao authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    324d852 View commit details
    Browse the repository at this point in the history
  83. Update Bluetooth permissions for VCP APIS (1/3)

    - This adds attribution source as a parameter to Value
      added APIS, matching aidl changes also made in this topic.
    
    - This is now required to allow the app ops for the new
      bluetooth permissions (BLUETOOTH_CONNECT,
      BLUETOOTH_ADVERTISE, and BLUETOOTH_SCAN) to be noted.
    
    - Update Bluetooth API annotations.
    
    - Add missing permission checkes for binder APIS.
    
    Change-Id: I20cbc69fbfe86b510dfc6d6335de31072191b491
    CRs-Fixed: 3046326
    zhenchao authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    6861a6d View commit details
    Browse the repository at this point in the history
  84. BT: Add APIs to dynamically control Active profile

    - Add APIs to dynamically switch between BREDR and
      LE profiles for call and media Audio
    - These APIs are introduced as SDK APIs which can
      be called from external apps like Settings
    
    Change-Id: Iafb514fcf833ccd77ba300f60277ac30eae89943
    CRs-Fixed: 3072404
    Gurpreet Ghai authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    69b9b5e View commit details
    Browse the repository at this point in the history
  85. hfp: define STATE_AUDIO_DISCONNECTING audio state

    Define Headset state when SCO audio is disconnecting.
    
    CRs-Fixed: 2634664
    Change-Id: Ie1200d4e9ce0b38ba71bd43c76e50720cb1ddc3f
    himta ram authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    06600a7 View commit details
    Browse the repository at this point in the history
  86. Bluetooth: Add constructor for sending address type

    Override the constructor to send addresstype as part
    of Scan results.
    These addresstype information will be sent only to previleged
    applications
    
    CRs-fixed: 2834981
    
    Change-Id: I47acaf1fcc1cfdd35aa9fe2b913f588cfc51cc70
    Bhakthavatsala Raghavendra authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    2384f60 View commit details
    Browse the repository at this point in the history
  87. BLE: Add support for Group AD Type based scan filtering.

    This change contains
    - API's to do filtered scan based on Group AD Type.
    - Extract Group identifier data from ScanRecord.
    
    CRs-Fixed: 2826578
    Change-Id: I75982a1acf982c03234d9e1084aee287d3d3623d
    Sumit Deshmukh authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    2b5bafb View commit details
    Browse the repository at this point in the history
  88. BT: Add entry for MCP Service in Frameworks

    - Add Profile entry for MCP Service
    
    CRs-Fixed: 3033146
    Change-Id: I7f89b6ab2c84f8681d953c0f5c65750946962fc3
    Gurpreet Ghai authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    445cff9 View commit details
    Browse the repository at this point in the history
  89. Use BLUETOOTH_CONNECT permission instead of legacy permission

    CRs-Fixed: 3043842
    
    Change-Id: I70f3c109140bf9634e2d0a293a323cae3c9cd476
    pramod kotreshappa authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    a6a0f9b View commit details
    Browse the repository at this point in the history
  90. AudioService: Music resumed to speaker after call

    Observed disconnect of A2DP is coming in and
    scheduled with delay of 500msecs as non supress intent
    and around same time connect is coming where it founds
    device is already connected and triggers device config
    change intent. And after timeout,scheduled disconnect
    event gets triggered and removes A2DP device causing
    music to route to speaker
    
    Fix is to remove scheduled events when recent event
    comes
    
    CRs-Fixed: 2974286
    Change-Id: I625226269474a4f4b122275bcaa5dddc19cfeaad
    Gautam Manam authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    bb712de View commit details
    Browse the repository at this point in the history
  91. Check for a2dp profile when removing stale connection events

    During disconnecting both a2dp output and input device, same
    device is passed to handler but with different profile, to
    avoid removing existing event in the handler, check the a2dp
    profile as well.
    
    CRs-Fixed: 2943846
    Change-Id: I9d0eced33d57c46d6e49a74e958c488f3a07249c
    Zhou Song authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    8a0dbfa View commit details
    Browse the repository at this point in the history
  92. audio: Discard QTI only codecs when AOSP BT stack is in use

    * Fixes a2dp offload on devices not using QTI BT stack.
    
    Change-Id: I5044d02f8be74bbf050b16083e753bd392dac0a6
    luk1337 authored and karthik1896 committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    9d59e23 View commit details
    Browse the repository at this point in the history