{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":347372237,"defaultBranch":"uvite","name":"android_frameworks_base","ownerLogin":"pa-gr","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2021-03-13T13:02:46.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/80581428?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1703587572.0","currentOid":""},"activityList":{"items":[{"before":"2bc3313f67beb1a65313fca271e464d06f6baa33","after":"76dc4f6c74e2d458414ac9e60602f40925f6521b","ref":"refs/heads/uvite","pushedAt":"2024-02-17T14:01:13.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"ghostrider-reborn","name":"Adithya","path":"/ghostrider-reborn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/34226885?s=80&v=4"},"commit":{"message":"Boost process priority during fork.\n\nThe zygote process sets MAX priority for the child process after a\nfork if it is a 'high priority fork' (e.g. for top-app). However,\nthe zygote does a fair amount of work before the fork, and can take\nup some amount of time due to getting descheduled. This introduces\nlatency in app-launch, especially on low-power devices.\n\nFix this by setting the zygote process priority to MAX for a\nhigh-priority fork early on, and reset it back to DEFAULT\nafterwards.\n\nBug: 323891634\nTest: manually\nChange-Id: Iac1ea81531f59ee6245c73530f2dd639209421f7","shortMessageHtmlLink":"Boost process priority during fork."}},{"before":"c548568e3899416bb44e519b73d8568924bc0b17","after":"2bc3313f67beb1a65313fca271e464d06f6baa33","ref":"refs/heads/uvite","pushedAt":"2024-01-30T10:14:18.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"ghostrider-reborn","name":"Adithya","path":"/ghostrider-reborn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/34226885?s=80&v=4"},"commit":{"message":"libhwui: Enable O3 when compiling with LTO\n\nThis reduces ui jitter by a lot.\n\nJitter (averge):\n\nBefore | After\n----------------\n~300ms | ~200ms\n\nTest: Observe jitter values on uibench\nChange-Id: I0caa4d013f7eb183a88a061ae22e07c401b40eaa\nSigned-off-by: Vaisakh Murali \nSigned-off-by: Adithya R ","shortMessageHtmlLink":"libhwui: Enable O3 when compiling with LTO"}},{"before":"1075e776a7710cc0730585cd8a89ca9f905ffe44","after":"c548568e3899416bb44e519b73d8568924bc0b17","ref":"refs/heads/uvite","pushedAt":"2024-01-28T10:44:44.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"ghostrider-reborn","name":"Adithya","path":"/ghostrider-reborn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/34226885?s=80&v=4"},"commit":{"message":"libhwui: Enable O3 when compiling with LTO\n\nThis reduces ui jitter by a lot.\n\nJitter (averge):\n\nBefore | After\n----------------\n~300ms | ~200ms\n\nTest: Observe jitter values on uibench\nChange-Id: I0caa4d013f7eb183a88a061ae22e07c401b40eaa\nSigned-off-by: Vaisakh Murali \nSigned-off-by: Adithya R ","shortMessageHtmlLink":"libhwui: Enable O3 when compiling with LTO"}},{"before":"b86e65dee9c0ea9d2b72503de8a09b7af4f4f5cf","after":"1075e776a7710cc0730585cd8a89ca9f905ffe44","ref":"refs/heads/uvite","pushedAt":"2024-01-28T09:47:36.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"ghostrider-reborn","name":"Adithya","path":"/ghostrider-reborn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/34226885?s=80&v=4"},"commit":{"message":"SystemUI: Cancel keyguard unlock animation when expanding panel\n\nPrevent notification panel from having transparent background\nwhen expanded immediately after unlocking.\n\nChange-Id: I3edd9fd1be79d8eba829730cef6aac24b8740309","shortMessageHtmlLink":"SystemUI: Cancel keyguard unlock animation when expanding panel"}},{"before":"339433a9af890454129cd514c911411d605c1594","after":"b86e65dee9c0ea9d2b72503de8a09b7af4f4f5cf","ref":"refs/heads/uvite","pushedAt":"2024-01-27T15:20:57.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"ghostrider-reborn","name":"Adithya","path":"/ghostrider-reborn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/34226885?s=80&v=4"},"commit":{"message":"SystemUI: Cancel keyguard unlock animation when expanding panel\n\nPrevent notification panel from having transparent background\nwhen expanded immediately after unlocking.\n\nChange-Id: I3edd9fd1be79d8eba829730cef6aac24b8740309","shortMessageHtmlLink":"SystemUI: Cancel keyguard unlock animation when expanding panel"}},{"before":"ca860c9cc8744fc97e3beb11f422c5c144638908","after":"339433a9af890454129cd514c911411d605c1594","ref":"refs/heads/uvite","pushedAt":"2024-01-25T01:24:45.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"ghostrider-reborn","name":"Adithya","path":"/ghostrider-reborn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/34226885?s=80&v=4"},"commit":{"message":"display: Consider peak refresh rate in BrightnessObserver\n\nIf the peak refresh rate set by the user is lower than the low/high\nzone refresh set in the device overlay, it switches to 60Hz. This is\nnot ideal, as for example, the user may have set the peak refresh rate\nto 90Hz (while the overlay defines 120Hz as the refresh rate in the low\nbrightness zone), but at low brightness the display enters 60Hz instead\nof staying at 90Hz, leading to poor UX.\n\nUse the minimum of the user-set peak brightness and the predefined\nrefresh rate of the brightness zone to avoid this behaviour.\n\nChange-Id: Ia69fd5e8221bedb05b968d1eedebb4823ad4a9b7","shortMessageHtmlLink":"display: Consider peak refresh rate in BrightnessObserver"}},{"before":"feac382e436dcb6240123eb93578562e66d49b6a","after":"ca860c9cc8744fc97e3beb11f422c5c144638908","ref":"refs/heads/uvite","pushedAt":"2024-01-24T13:09:38.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ghostrider-reborn","name":"Adithya","path":"/ghostrider-reborn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/34226885?s=80&v=4"},"commit":{"message":"display: Consider peak refresh rate in BrightnessObserver\n\nIf the peak refresh rate set by the user is lower than the low/high\nzone refresh set in the device overlay, it switches to 60Hz. This is\nnot ideal, as for example, the user may have set the peak refresh rate\nto 90Hz (while the overlay defines 120Hz as the refresh rate in the low\nbrightness zone), but at low brightness the display enters 60Hz instead\nof staying at 90Hz, leading to poor UX.\n\nUse the minimum of the user-set peak brightness and the predefined\nrefresh rate of the brightness zone to avoid this behaviour.\n\nChange-Id: Ia69fd5e8221bedb05b968d1eedebb4823ad4a9b7","shortMessageHtmlLink":"display: Consider peak refresh rate in BrightnessObserver"}},{"before":"bf2ebf554e130be2149389ccb6b7f774c012a0df","after":"feac382e436dcb6240123eb93578562e66d49b6a","ref":"refs/heads/uvite","pushedAt":"2024-01-15T14:01:32.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"ghostrider-reborn","name":"Adithya","path":"/ghostrider-reborn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/34226885?s=80&v=4"},"commit":{"message":"libhwui: Enable O3 when compiling with LTO\n\nThis reduces ui jitter by a lot.\n\nJitter (averge):\n\nBefore | After\n----------------\n~300ms | ~200ms\n\nTest: Observe jitter values on uibench\nChange-Id: I0caa4d013f7eb183a88a061ae22e07c401b40eaa\nSigned-off-by: Vaisakh Murali \nSigned-off-by: Adithya R ","shortMessageHtmlLink":"libhwui: Enable O3 when compiling with LTO"}},{"before":"cab2b09a6d4ed680a036172386fd9ff1979594f5","after":"bf2ebf554e130be2149389ccb6b7f774c012a0df","ref":"refs/heads/uvite","pushedAt":"2024-01-15T07:42:51.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"ghostrider-reborn","name":"Adithya","path":"/ghostrider-reborn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/34226885?s=80&v=4"},"commit":{"message":"usb: Show charging notification only if power brick is disconnected\n\nOn USB HIDL devices (qcom) and barely-implemented AIDL (older Pixels)\nthe power brick connection status is always POWER_BRICK_STATUS_UNKNOWN,\nleading to charging notification showing up even while charging with a\nwall charger.\n\nProperly implemented USB AIDL [1] should report\nPOWER_BRICK_STATUS_DISCONNECTED when charging with anything other than\na wall charger (i.e SDP/PD), hence use this as the check instead.\n\n[1]: https://android.googlesource.com/device/google/gs101/+/94bc87a6f21a027fc8c30ba3fbf1328b0adc5959/usb/usb/Usb.cpp#785\n\nFixes a13e377.\n\nChange-Id: I9e251211e5801b2c1766a12bab7d4787c445dc14","shortMessageHtmlLink":"usb: Show charging notification only if power brick is disconnected"}},{"before":"7ffa0a758c87783a6ef569da9e94916f6c242ee5","after":"cab2b09a6d4ed680a036172386fd9ff1979594f5","ref":"refs/heads/uvite","pushedAt":"2024-01-12T06:27:05.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"ghostrider-reborn","name":"Adithya","path":"/ghostrider-reborn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/34226885?s=80&v=4"},"commit":{"message":"Settings: Add package name to installed app details [2/2]\n\nChange-Id: I71d9379f9bfdce9efaec1e431a58daeb705d142b\nSigned-off-by: Aayush Gupta ","shortMessageHtmlLink":"Settings: Add package name to installed app details [2/2]"}},{"before":"8bc9558e1965a870b15590029ba53541983c1b55","after":"7ffa0a758c87783a6ef569da9e94916f6c242ee5","ref":"refs/heads/uvite","pushedAt":"2024-01-12T02:29:23.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"ghostrider-reborn","name":"Adithya","path":"/ghostrider-reborn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/34226885?s=80&v=4"},"commit":{"message":"[SQUASH] SystemUI: Show bluetooth battery level on statusbar\n\nAuthor: LuK1337 \nDate: 2018-10-31 16:31:19 +0100\n\n SystemUI: Show bluetooth battery level when available\n\n * Somewhat inspired by change committed by Gavin Ni \n back in cm-13.0 days (see commit 88e7a6c). Since then completely\n rewritten using BluetoothDevice API introduced in Oreo, with new\n drawables meant to be used with 0-9 battery level range.\n\n Change-Id: I6179bfd41e033591534e8cf3c6adc98ce715a13d\n\nAuthor: Luca Stefani \nDate: 2021-08-23 10:11:54 +0200\n\n fixup! SystemUI: Show bluetooth battery level when available\n\n The current update method is triggered in 2 cases:\n the SystemUI bluetooth controller changes device state\n the battery level changed intent is sent\n\n Sadly the current SysUI controller doesn't handle battery level\n changes, and is instead triggered in a few other cases ( ex audio\n state changed ).\n And since we use the data from SysUI controller for battery level\n from changes in the global bt controller we may have 2 different\n set of devices to work on. This could ( and does ) trigger\n race conditions.\n\n Instead add support battery level state changes within the SystemUI\n controller to work on the same data set.\n\n Change-Id: Ib57096fc2ebe151ac3860277a4db2319f230b514\n\nAuthor: Hernán Castañón Álvarez \nDate: Tue Oct 1 14:36:12 2019 +0000\n\n SystemUI: Update Bluetooth battery level assets\n\n Outlined and polished. Designed by Andrew Fluck.\n\n Change-Id: I94fd78d5788306f64623e850a00302bb42b7897d\n Signed-off-by: Hernán Castañón Álvarez \n\nAuthor: Adithya R \nDate: Sun Sep 11 16:59:36 2022 +0530\n\n SystemUI: Refactor statusbar bluetooth icon\n\n Move it to its own layout like wifi and mobile,\n and separate the bluetooth connected and battery\n icons.\n\n This allows us to use bluetooth connected icon\n from icon packs, and also color the battery icon\n when its at low battery (in the next change).\n\n While we're at it, simplify the logic used to\n determine drawable from battery level, and also\n add icon for <10% battery.\n\n Change-Id: I5dd50d84497816484e1c33a7432a3d85c3a7f79d\n\nAuthor: Adithya R \nDate: Mon Sep 12 00:28:28 2022 +0530\n\n SystemUI: Use red color for low bluetooth battery\n\n Matches battery saver icon (android:attr/colorError).\n Preview: https://i.imgur.com/yJuAaNN.png\n\n Change-Id: Icfba3b4ee838f0859d0bd429bfb31bb222009809\n\n Signed-off-by: Omkar Chandorkar \n\nAuthor: jhonboy121 \nDate: Fri Mar 18 16:09:21 2022 +0530\n\n BluetoothControllerImpl: Synchronize mConnectedDevices access\n\n in getBatteryLevel()\n\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime: FATAL EXCEPTION: main\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime: Process: com.android.systemui, PID: 2245\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat java.util.ArrayList.get(ArrayList.java:437)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.systemui.statusbar.policy.BluetoothControllerImpl.getBatteryLevel(BluetoothControllerImpl.java:329)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.systemui.statusbar.policy.BluetoothControllerImpl.updateBattery(BluetoothControllerImpl.java:335)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.systemui.statusbar.policy.BluetoothControllerImpl.updateConnected(BluetoothControllerImpl.java:282)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.systemui.statusbar.policy.BluetoothControllerImpl.onDeviceAttributesChanged(BluetoothControllerImpl.java:379)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.settingslib.bluetooth.CachedBluetoothDevice.dispatchAttributesChanged(CachedBluetoothDevice.java:904)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.settingslib.bluetooth.CachedBluetoothDevice.lambda$refresh$0(CachedBluetoothDevice.java:612)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.settingslib.bluetooth.CachedBluetoothDevice.$r8$lambda$4IYXIWE9azg2QshMjGh5evIGUmg(Unknown Source:0)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.settingslib.bluetooth.CachedBluetoothDevice$$ExternalSyntheticLambda1.run(Unknown Source:2)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat android.os.Handler.handleCallback(Handler.java:938)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat android.os.Handler.dispatchMessage(Handler.java:99)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat android.os.Looper.loopOnce(Looper.java:201)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat android.os.Looper.loop(Looper.java:288)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat android.app.ActivityThread.main(ActivityThread.java:7871)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat java.lang.reflect.Method.invoke(Native Method)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:550)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)\n\n Change-Id: I036ffeb434ddbd7f2abfcfe950414319458f455b\n Signed-off-by: Adithya R \n\nAuthor: jhonboy121 \nDate: Tue Mar 22 19:15:24 2022 +0530\n\n SystemUI: Fetch bluetooth battery level from any device\n\n * When multiple devices are connected and only one or a few supports battery level reports, instead of fetching level from the first device, loop through the list to try and find any device that reports battery level, or just return unsupported value constant if there isn't any\n\n Change-Id: I2542ad683b1c37fccd88a3cc666409d41ec0097f\n Signed-off-by: Adithya R \n\nAuthor: Ido Ben-Hur \nDate: Sun Jul 11 14:40:52 2021 +0300\n\n PhoneStatusBarPolicy: Show battery level for all devices\n\n There is absolutely no need to restrict it to audio devices\n If the device doesn't support % it will return a negative value anyway\n\n Change-Id: I6745adbe89dd5ad38e856966ef3d61c067dfc55b\n Signed-off-by: Omkar Chandorkar \n\nCo-authored-by: Adithya R \nChange-Id: I34344907711b7b9fc4c1d15d4516bd53bf30ebb2","shortMessageHtmlLink":"[SQUASH] SystemUI: Show bluetooth battery level on statusbar"}},{"before":"efb0524c172ccb63b4e67b4e8e25a6b6783d8734","after":"8bc9558e1965a870b15590029ba53541983c1b55","ref":"refs/heads/uvite","pushedAt":"2024-01-12T02:16:36.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"ghostrider-reborn","name":"Adithya","path":"/ghostrider-reborn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/34226885?s=80&v=4"},"commit":{"message":"[SQUASH] SystemUI: Show bluetooth battery level on statusbar\n\nAuthor: LuK1337 \nDate: 2018-10-31 16:31:19 +0100\n\n SystemUI: Show bluetooth battery level when available\n\n * Somewhat inspired by change committed by Gavin Ni \n back in cm-13.0 days (see commit 88e7a6c). Since then completely\n rewritten using BluetoothDevice API introduced in Oreo, with new\n drawables meant to be used with 0-9 battery level range.\n\n Change-Id: I6179bfd41e033591534e8cf3c6adc98ce715a13d\n\nAuthor: Luca Stefani \nDate: 2021-08-23 10:11:54 +0200\n\n fixup! SystemUI: Show bluetooth battery level when available\n\n The current update method is triggered in 2 cases:\n the SystemUI bluetooth controller changes device state\n the battery level changed intent is sent\n\n Sadly the current SysUI controller doesn't handle battery level\n changes, and is instead triggered in a few other cases ( ex audio\n state changed ).\n And since we use the data from SysUI controller for battery level\n from changes in the global bt controller we may have 2 different\n set of devices to work on. This could ( and does ) trigger\n race conditions.\n\n Instead add support battery level state changes within the SystemUI\n controller to work on the same data set.\n\n Change-Id: Ib57096fc2ebe151ac3860277a4db2319f230b514\n\nAuthor: Hernán Castañón Álvarez \nDate: Tue Oct 1 14:36:12 2019 +0000\n\n SystemUI: Update Bluetooth battery level assets\n\n Outlined and polished. Designed by Andrew Fluck.\n\n Change-Id: I94fd78d5788306f64623e850a00302bb42b7897d\n Signed-off-by: Hernán Castañón Álvarez \n\nAuthor: Adithya R \nDate: Sun Sep 11 16:59:36 2022 +0530\n\n SystemUI: Refactor statusbar bluetooth icon\n\n Move it to its own layout like wifi and mobile,\n and separate the bluetooth connected and battery\n icons.\n\n This allows us to use bluetooth connected icon\n from icon packs, and also color the battery icon\n when its at low battery (in the next change).\n\n While we're at it, simplify the logic used to\n determine drawable from battery level, and also\n add icon for <10% battery.\n\n Change-Id: I5dd50d84497816484e1c33a7432a3d85c3a7f79d\n\nAuthor: Adithya R \nDate: Mon Sep 12 00:28:28 2022 +0530\n\n SystemUI: Use red color for low bluetooth battery\n\n Matches battery saver icon (android:attr/colorError).\n Preview: https://i.imgur.com/yJuAaNN.png\n\n Change-Id: Icfba3b4ee838f0859d0bd429bfb31bb222009809\n\n Signed-off-by: Omkar Chandorkar \n\nAuthor: jhonboy121 \nDate: Fri Mar 18 16:09:21 2022 +0530\n\n BluetoothControllerImpl: Synchronize mConnectedDevices access\n\n in getBatteryLevel()\n\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime: FATAL EXCEPTION: main\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime: Process: com.android.systemui, PID: 2245\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat java.util.ArrayList.get(ArrayList.java:437)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.systemui.statusbar.policy.BluetoothControllerImpl.getBatteryLevel(BluetoothControllerImpl.java:329)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.systemui.statusbar.policy.BluetoothControllerImpl.updateBattery(BluetoothControllerImpl.java:335)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.systemui.statusbar.policy.BluetoothControllerImpl.updateConnected(BluetoothControllerImpl.java:282)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.systemui.statusbar.policy.BluetoothControllerImpl.onDeviceAttributesChanged(BluetoothControllerImpl.java:379)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.settingslib.bluetooth.CachedBluetoothDevice.dispatchAttributesChanged(CachedBluetoothDevice.java:904)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.settingslib.bluetooth.CachedBluetoothDevice.lambda$refresh$0(CachedBluetoothDevice.java:612)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.settingslib.bluetooth.CachedBluetoothDevice.$r8$lambda$4IYXIWE9azg2QshMjGh5evIGUmg(Unknown Source:0)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.settingslib.bluetooth.CachedBluetoothDevice$$ExternalSyntheticLambda1.run(Unknown Source:2)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat android.os.Handler.handleCallback(Handler.java:938)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat android.os.Handler.dispatchMessage(Handler.java:99)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat android.os.Looper.loopOnce(Looper.java:201)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat android.os.Looper.loop(Looper.java:288)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat android.app.ActivityThread.main(ActivityThread.java:7871)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat java.lang.reflect.Method.invoke(Native Method)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:550)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)\n\n Change-Id: I036ffeb434ddbd7f2abfcfe950414319458f455b\n Signed-off-by: Adithya R \n\nAuthor: jhonboy121 \nDate: Tue Mar 22 19:15:24 2022 +0530\n\n SystemUI: Fetch bluetooth battery level from any device\n\n * When multiple devices are connected and only one or a few supports battery level reports, instead of fetching level from the first device, loop through the list to try and find any device that reports battery level, or just return unsupported value constant if there isn't any\n\n Change-Id: I2542ad683b1c37fccd88a3cc666409d41ec0097f\n Signed-off-by: Adithya R \n\nAuthor: Ido Ben-Hur \nDate: Sun Jul 11 14:40:52 2021 +0300\n\n PhoneStatusBarPolicy: Show battery level for all devices\n\n There is absolutely no need to restrict it to audio devices\n If the device doesn't support % it will return a negative value anyway\n\n Change-Id: I6745adbe89dd5ad38e856966ef3d61c067dfc55b\n Signed-off-by: Omkar Chandorkar \n\nCo-authored-by: Adithya R \nChange-Id: I34344907711b7b9fc4c1d15d4516bd53bf30ebb2","shortMessageHtmlLink":"[SQUASH] SystemUI: Show bluetooth battery level on statusbar"}},{"before":"671ca1fab9abc976752471120b28e50315c5ed80","after":"efb0524c172ccb63b4e67b4e8e25a6b6783d8734","ref":"refs/heads/uvite","pushedAt":"2024-01-08T10:01:17.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"ghostrider-reborn","name":"Adithya","path":"/ghostrider-reborn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/34226885?s=80&v=4"},"commit":{"message":"[SQUASH] SystemUI: Show bluetooth battery level on statusbar\n\nAuthor: LuK1337 \nDate: 2018-10-31 16:31:19 +0100\n\n SystemUI: Show bluetooth battery level when available\n\n * Somewhat inspired by change committed by Gavin Ni \n back in cm-13.0 days (see commit 88e7a6c). Since then completely\n rewritten using BluetoothDevice API introduced in Oreo, with new\n drawables meant to be used with 0-9 battery level range.\n\n Change-Id: I6179bfd41e033591534e8cf3c6adc98ce715a13d\n\nAuthor: Luca Stefani \nDate: 2021-08-23 10:11:54 +0200\n\n fixup! SystemUI: Show bluetooth battery level when available\n\n The current update method is triggered in 2 cases:\n the SystemUI bluetooth controller changes device state\n the battery level changed intent is sent\n\n Sadly the current SysUI controller doesn't handle battery level\n changes, and is instead triggered in a few other cases ( ex audio\n state changed ).\n And since we use the data from SysUI controller for battery level\n from changes in the global bt controller we may have 2 different\n set of devices to work on. This could ( and does ) trigger\n race conditions.\n\n Instead add support battery level state changes within the SystemUI\n controller to work on the same data set.\n\n Change-Id: Ib57096fc2ebe151ac3860277a4db2319f230b514\n\nAuthor: Hernán Castañón Álvarez \nDate: Tue Oct 1 14:36:12 2019 +0000\n\n SystemUI: Update Bluetooth battery level assets\n\n Outlined and polished. Designed by Andrew Fluck.\n\n Change-Id: I94fd78d5788306f64623e850a00302bb42b7897d\n Signed-off-by: Hernán Castañón Álvarez \n\nAuthor: Adithya R \nDate: Sun Sep 11 16:59:36 2022 +0530\n\n SystemUI: Refactor statusbar bluetooth icon\n\n Move it to its own layout like wifi and mobile,\n and separate the bluetooth connected and battery\n icons.\n\n This allows us to use bluetooth connected icon\n from icon packs, and also color the battery icon\n when its at low battery (in the next change).\n\n While we're at it, simplify the logic used to\n determine drawable from battery level, and also\n add icon for <10% battery.\n\n Change-Id: I5dd50d84497816484e1c33a7432a3d85c3a7f79d\n\nAuthor: Adithya R \nDate: Mon Sep 12 00:28:28 2022 +0530\n\n SystemUI: Use red color for low bluetooth battery\n\n Matches battery saver icon (android:attr/colorError).\n Preview: https://i.imgur.com/yJuAaNN.png\n\n Change-Id: Icfba3b4ee838f0859d0bd429bfb31bb222009809\n\n Signed-off-by: Omkar Chandorkar \n\nAuthor: jhonboy121 \nDate: Fri Mar 18 16:09:21 2022 +0530\n\n BluetoothControllerImpl: Synchronize mConnectedDevices access\n\n in getBatteryLevel()\n\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime: FATAL EXCEPTION: main\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime: Process: com.android.systemui, PID: 2245\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat java.util.ArrayList.get(ArrayList.java:437)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.systemui.statusbar.policy.BluetoothControllerImpl.getBatteryLevel(BluetoothControllerImpl.java:329)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.systemui.statusbar.policy.BluetoothControllerImpl.updateBattery(BluetoothControllerImpl.java:335)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.systemui.statusbar.policy.BluetoothControllerImpl.updateConnected(BluetoothControllerImpl.java:282)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.systemui.statusbar.policy.BluetoothControllerImpl.onDeviceAttributesChanged(BluetoothControllerImpl.java:379)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.settingslib.bluetooth.CachedBluetoothDevice.dispatchAttributesChanged(CachedBluetoothDevice.java:904)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.settingslib.bluetooth.CachedBluetoothDevice.lambda$refresh$0(CachedBluetoothDevice.java:612)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.settingslib.bluetooth.CachedBluetoothDevice.$r8$lambda$4IYXIWE9azg2QshMjGh5evIGUmg(Unknown Source:0)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.settingslib.bluetooth.CachedBluetoothDevice$$ExternalSyntheticLambda1.run(Unknown Source:2)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat android.os.Handler.handleCallback(Handler.java:938)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat android.os.Handler.dispatchMessage(Handler.java:99)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat android.os.Looper.loopOnce(Looper.java:201)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat android.os.Looper.loop(Looper.java:288)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat android.app.ActivityThread.main(ActivityThread.java:7871)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat java.lang.reflect.Method.invoke(Native Method)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:550)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)\n\n Change-Id: I036ffeb434ddbd7f2abfcfe950414319458f455b\n Signed-off-by: Adithya R \n\nAuthor: jhonboy121 \nDate: Tue Mar 22 19:15:24 2022 +0530\n\n SystemUI: Fetch bluetooth battery level from any device\n\n * When multiple devices are connected and only one or a few supports battery level reports, instead of fetching level from the first device, loop through the list to try and find any device that reports battery level, or just return unsupported value constant if there isn't any\n\n Change-Id: I2542ad683b1c37fccd88a3cc666409d41ec0097f\n Signed-off-by: Adithya R \n\nAuthor: Ido Ben-Hur \nDate: Sun Jul 11 14:40:52 2021 +0300\n\n PhoneStatusBarPolicy: Show battery level for all devices\n\n There is absolutely no need to restrict it to audio devices\n If the device doesn't support % it will return a negative value anyway\n\n Change-Id: I6745adbe89dd5ad38e856966ef3d61c067dfc55b\n Signed-off-by: Omkar Chandorkar \n\nCo-authored-by: Adithya R \nChange-Id: I34344907711b7b9fc4c1d15d4516bd53bf30ebb2","shortMessageHtmlLink":"[SQUASH] SystemUI: Show bluetooth battery level on statusbar"}},{"before":"54ea32a017e664d0b3cf4d5aca9449a5dae4fb3f","after":"671ca1fab9abc976752471120b28e50315c5ed80","ref":"refs/heads/uvite","pushedAt":"2024-01-07T10:26:47.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"ghostrider-reborn","name":"Adithya","path":"/ghostrider-reborn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/34226885?s=80&v=4"},"commit":{"message":"[SQUASH] SystemUI: Show bluetooth battery level on statusbar\n\nAuthor: LuK1337 \nDate: 2018-10-31 16:31:19 +0100\n\n SystemUI: Show bluetooth battery level when available\n\n * Somewhat inspired by change committed by Gavin Ni \n back in cm-13.0 days (see commit 88e7a6c). Since then completely\n rewritten using BluetoothDevice API introduced in Oreo, with new\n drawables meant to be used with 0-9 battery level range.\n\n Change-Id: I6179bfd41e033591534e8cf3c6adc98ce715a13d\n\nAuthor: Luca Stefani \nDate: 2021-08-23 10:11:54 +0200\n\n fixup! SystemUI: Show bluetooth battery level when available\n\n The current update method is triggered in 2 cases:\n the SystemUI bluetooth controller changes device state\n the battery level changed intent is sent\n\n Sadly the current SysUI controller doesn't handle battery level\n changes, and is instead triggered in a few other cases ( ex audio\n state changed ).\n And since we use the data from SysUI controller for battery level\n from changes in the global bt controller we may have 2 different\n set of devices to work on. This could ( and does ) trigger\n race conditions.\n\n Instead add support battery level state changes within the SystemUI\n controller to work on the same data set.\n\n Change-Id: Ib57096fc2ebe151ac3860277a4db2319f230b514\n\nAuthor: Hernán Castañón Álvarez \nDate: Tue Oct 1 14:36:12 2019 +0000\n\n SystemUI: Update Bluetooth battery level assets\n\n Outlined and polished. Designed by Andrew Fluck.\n\n Change-Id: I94fd78d5788306f64623e850a00302bb42b7897d\n Signed-off-by: Hernán Castañón Álvarez \n\nAuthor: Adithya R \nDate: Sun Sep 11 16:59:36 2022 +0530\n\n SystemUI: Refactor statusbar bluetooth icon\n\n Move it to its own layout like wifi and mobile,\n and separate the bluetooth connected and battery\n icons.\n\n This allows us to use bluetooth connected icon\n from icon packs, and also color the battery icon\n when its at low battery (in the next change).\n\n While we're at it, simplify the logic used to\n determine drawable from battery level, and also\n add icon for <10% battery.\n\n Change-Id: I5dd50d84497816484e1c33a7432a3d85c3a7f79d\n\nAuthor: Adithya R \nDate: Mon Sep 12 00:28:28 2022 +0530\n\n SystemUI: Use red color for low bluetooth battery\n\n Matches battery saver icon (android:attr/colorError).\n Preview: https://i.imgur.com/yJuAaNN.png\n\n Change-Id: Icfba3b4ee838f0859d0bd429bfb31bb222009809\n\n Signed-off-by: Omkar Chandorkar \n\nAuthor: jhonboy121 \nDate: Fri Mar 18 16:09:21 2022 +0530\n\n BluetoothControllerImpl: Synchronize mConnectedDevices access\n\n in getBatteryLevel()\n\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime: FATAL EXCEPTION: main\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime: Process: com.android.systemui, PID: 2245\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat java.util.ArrayList.get(ArrayList.java:437)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.systemui.statusbar.policy.BluetoothControllerImpl.getBatteryLevel(BluetoothControllerImpl.java:329)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.systemui.statusbar.policy.BluetoothControllerImpl.updateBattery(BluetoothControllerImpl.java:335)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.systemui.statusbar.policy.BluetoothControllerImpl.updateConnected(BluetoothControllerImpl.java:282)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.systemui.statusbar.policy.BluetoothControllerImpl.onDeviceAttributesChanged(BluetoothControllerImpl.java:379)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.settingslib.bluetooth.CachedBluetoothDevice.dispatchAttributesChanged(CachedBluetoothDevice.java:904)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.settingslib.bluetooth.CachedBluetoothDevice.lambda$refresh$0(CachedBluetoothDevice.java:612)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.settingslib.bluetooth.CachedBluetoothDevice.$r8$lambda$4IYXIWE9azg2QshMjGh5evIGUmg(Unknown Source:0)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.settingslib.bluetooth.CachedBluetoothDevice$$ExternalSyntheticLambda1.run(Unknown Source:2)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat android.os.Handler.handleCallback(Handler.java:938)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat android.os.Handler.dispatchMessage(Handler.java:99)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat android.os.Looper.loopOnce(Looper.java:201)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat android.os.Looper.loop(Looper.java:288)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat android.app.ActivityThread.main(ActivityThread.java:7871)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat java.lang.reflect.Method.invoke(Native Method)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:550)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)\n\n Change-Id: I036ffeb434ddbd7f2abfcfe950414319458f455b\n Signed-off-by: Adithya R \n\nAuthor: jhonboy121 \nDate: Tue Mar 22 19:15:24 2022 +0530\n\n SystemUI: Fetch bluetooth battery level from any device\n\n * When multiple devices are connected and only one or a few supports battery level reports, instead of fetching level from the first device, loop through the list to try and find any device that reports battery level, or just return unsupported value constant if there isn't any\n\n Change-Id: I2542ad683b1c37fccd88a3cc666409d41ec0097f\n Signed-off-by: Adithya R \n\nAuthor: Ido Ben-Hur \nDate: Sun Jul 11 14:40:52 2021 +0300\n\n PhoneStatusBarPolicy: Show battery level for all devices\n\n There is absolutely no need to restrict it to audio devices\n If the device doesn't support % it will return a negative value anyway\n\n Change-Id: I6745adbe89dd5ad38e856966ef3d61c067dfc55b\n Signed-off-by: Omkar Chandorkar \n\nCo-authored-by: Adithya R \nChange-Id: I34344907711b7b9fc4c1d15d4516bd53bf30ebb2","shortMessageHtmlLink":"[SQUASH] SystemUI: Show bluetooth battery level on statusbar"}},{"before":"d8fad2e3405c96b75950190017f8785786ad97b8","after":"54ea32a017e664d0b3cf4d5aca9449a5dae4fb3f","ref":"refs/heads/uvite","pushedAt":"2024-01-07T08:15:33.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"ghostrider-reborn","name":"Adithya","path":"/ghostrider-reborn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/34226885?s=80&v=4"},"commit":{"message":"[SQUASH] SystemUI: Show bluetooth battery level on statusbar\n\nAuthor: LuK1337 \nDate: 2018-10-31 16:31:19 +0100\n\n SystemUI: Show bluetooth battery level when available\n\n * Somewhat inspired by change committed by Gavin Ni \n back in cm-13.0 days (see commit 88e7a6c). Since then completely\n rewritten using BluetoothDevice API introduced in Oreo, with new\n drawables meant to be used with 0-9 battery level range.\n\n Change-Id: I6179bfd41e033591534e8cf3c6adc98ce715a13d\n\nAuthor: Luca Stefani \nDate: 2021-08-23 10:11:54 +0200\n\n fixup! SystemUI: Show bluetooth battery level when available\n\n The current update method is triggered in 2 cases:\n the SystemUI bluetooth controller changes device state\n the battery level changed intent is sent\n\n Sadly the current SysUI controller doesn't handle battery level\n changes, and is instead triggered in a few other cases ( ex audio\n state changed ).\n And since we use the data from SysUI controller for battery level\n from changes in the global bt controller we may have 2 different\n set of devices to work on. This could ( and does ) trigger\n race conditions.\n\n Instead add support battery level state changes within the SystemUI\n controller to work on the same data set.\n\n Change-Id: Ib57096fc2ebe151ac3860277a4db2319f230b514\n\nAuthor: Hernán Castañón Álvarez \nDate: Tue Oct 1 14:36:12 2019 +0000\n\n SystemUI: Update Bluetooth battery level assets\n\n Outlined and polished. Designed by Andrew Fluck.\n\n Change-Id: I94fd78d5788306f64623e850a00302bb42b7897d\n Signed-off-by: Hernán Castañón Álvarez \n\nAuthor: Adithya R \nDate: Sun Sep 11 16:59:36 2022 +0530\n\n SystemUI: Refactor statusbar bluetooth icon\n\n Move it to its own layout like wifi and mobile,\n and separate the bluetooth connected and battery\n icons.\n\n This allows us to use bluetooth connected icon\n from icon packs, and also color the battery icon\n when its at low battery (in the next change).\n\n While we're at it, simplify the logic used to\n determine drawable from battery level, and also\n add icon for <10% battery.\n\n Change-Id: I5dd50d84497816484e1c33a7432a3d85c3a7f79d\n\nAuthor: Adithya R \nDate: Mon Sep 12 00:28:28 2022 +0530\n\n SystemUI: Use red color for low bluetooth battery\n\n Matches battery saver icon (android:attr/colorError).\n Preview: https://i.imgur.com/yJuAaNN.png\n\n Change-Id: Icfba3b4ee838f0859d0bd429bfb31bb222009809\n\n Signed-off-by: Omkar Chandorkar \n\nAuthor: jhonboy121 \nDate: Fri Mar 18 16:09:21 2022 +0530\n\n BluetoothControllerImpl: Synchronize mConnectedDevices access\n\n in getBatteryLevel()\n\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime: FATAL EXCEPTION: main\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime: Process: com.android.systemui, PID: 2245\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat java.util.ArrayList.get(ArrayList.java:437)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.systemui.statusbar.policy.BluetoothControllerImpl.getBatteryLevel(BluetoothControllerImpl.java:329)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.systemui.statusbar.policy.BluetoothControllerImpl.updateBattery(BluetoothControllerImpl.java:335)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.systemui.statusbar.policy.BluetoothControllerImpl.updateConnected(BluetoothControllerImpl.java:282)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.systemui.statusbar.policy.BluetoothControllerImpl.onDeviceAttributesChanged(BluetoothControllerImpl.java:379)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.settingslib.bluetooth.CachedBluetoothDevice.dispatchAttributesChanged(CachedBluetoothDevice.java:904)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.settingslib.bluetooth.CachedBluetoothDevice.lambda$refresh$0(CachedBluetoothDevice.java:612)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.settingslib.bluetooth.CachedBluetoothDevice.$r8$lambda$4IYXIWE9azg2QshMjGh5evIGUmg(Unknown Source:0)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.settingslib.bluetooth.CachedBluetoothDevice$$ExternalSyntheticLambda1.run(Unknown Source:2)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat android.os.Handler.handleCallback(Handler.java:938)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat android.os.Handler.dispatchMessage(Handler.java:99)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat android.os.Looper.loopOnce(Looper.java:201)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat android.os.Looper.loop(Looper.java:288)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat android.app.ActivityThread.main(ActivityThread.java:7871)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat java.lang.reflect.Method.invoke(Native Method)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:550)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)\n\n Change-Id: I036ffeb434ddbd7f2abfcfe950414319458f455b\n Signed-off-by: Adithya R \n\nAuthor: jhonboy121 \nDate: Tue Mar 22 19:15:24 2022 +0530\n\n SystemUI: Fetch bluetooth battery level from any device\n\n * When multiple devices are connected and only one or a few supports battery level reports, instead of fetching level from the first device, loop through the list to try and find any device that reports battery level, or just return unsupported value constant if there isn't any\n\n Change-Id: I2542ad683b1c37fccd88a3cc666409d41ec0097f\n Signed-off-by: Adithya R \n\nAuthor: Ido Ben-Hur \nDate: Sun Jul 11 14:40:52 2021 +0300\n\n PhoneStatusBarPolicy: Show battery level for all devices\n\n There is absolutely no need to restrict it to audio devices\n If the device doesn't support % it will return a negative value anyway\n\n Change-Id: I6745adbe89dd5ad38e856966ef3d61c067dfc55b\n Signed-off-by: Omkar Chandorkar \n\nCo-authored-by: Adithya R \nChange-Id: I34344907711b7b9fc4c1d15d4516bd53bf30ebb2","shortMessageHtmlLink":"[SQUASH] SystemUI: Show bluetooth battery level on statusbar"}},{"before":"d2efc39a056fef53b6dc567dc875b1c6639df11d","after":"d8fad2e3405c96b75950190017f8785786ad97b8","ref":"refs/heads/uvite","pushedAt":"2024-01-07T08:12:31.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"ghostrider-reborn","name":"Adithya","path":"/ghostrider-reborn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/34226885?s=80&v=4"},"commit":{"message":"Squash of SystemUI: Show bluetooth battery level\n\nAuthor: LuK1337 \nDate: 2018-10-31 16:31:19 +0100\n\n SystemUI: Show bluetooth battery level when available\n\n * Somewhat inspired by change committed by Gavin Ni \n back in cm-13.0 days (see commit 88e7a6c). Since then completely\n rewritten using BluetoothDevice API introduced in Oreo, with new\n drawables meant to be used with 0-9 battery level range.\n\n Change-Id: I6179bfd41e033591534e8cf3c6adc98ce715a13d\n\nAuthor: Luca Stefani \nDate: 2021-08-23 10:11:54 +0200\n\n fixup! SystemUI: Show bluetooth battery level when available\n\n The current update method is triggered in 2 cases:\n the SystemUI bluetooth controller changes device state\n the battery level changed intent is sent\n\n Sadly the current SysUI controller doesn't handle battery level\n changes, and is instead triggered in a few other cases ( ex audio\n state changed ).\n And since we use the data from SysUI controller for battery level\n from changes in the global bt controller we may have 2 different\n set of devices to work on. This could ( and does ) trigger\n race conditions.\n\n Instead add support battery level state changes within the SystemUI\n controller to work on the same data set.\n\n Change-Id: Ib57096fc2ebe151ac3860277a4db2319f230b514\n\nAuthor: Hernán Castañón Álvarez \nDate: Tue Oct 1 14:36:12 2019 +0000\n\n SystemUI: Update Bluetooth battery level assets\n\n Outlined and polished. Designed by Andrew Fluck.\n\n Change-Id: I94fd78d5788306f64623e850a00302bb42b7897d\n Signed-off-by: Hernán Castañón Álvarez \n\nAuthor: Adithya R \nDate: Sun Sep 11 16:59:36 2022 +0530\n\n SystemUI: Refactor statusbar bluetooth icon\n\n Move it to its own layout like wifi and mobile,\n and separate the bluetooth connected and battery\n icons.\n\n This allows us to use bluetooth connected icon\n from icon packs, and also color the battery icon\n when its at low battery (in the next change).\n\n While we're at it, simplify the logic used to\n determine drawable from battery level, and also\n add icon for <10% battery.\n\n Change-Id: I5dd50d84497816484e1c33a7432a3d85c3a7f79d\n\nAuthor: Adithya R \nDate: Mon Sep 12 00:28:28 2022 +0530\n\n SystemUI: Use red color for low bluetooth battery\n\n Matches battery saver icon (android:attr/colorError).\n Preview: https://i.imgur.com/yJuAaNN.png\n\n Change-Id: Icfba3b4ee838f0859d0bd429bfb31bb222009809\n\n Signed-off-by: Omkar Chandorkar \n\nAuthor: jhonboy121 \nDate: Fri Mar 18 16:09:21 2022 +0530\n\n BluetoothControllerImpl: Synchronize mConnectedDevices access\n\n in getBatteryLevel()\n\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime: FATAL EXCEPTION: main\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime: Process: com.android.systemui, PID: 2245\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat java.util.ArrayList.get(ArrayList.java:437)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.systemui.statusbar.policy.BluetoothControllerImpl.getBatteryLevel(BluetoothControllerImpl.java:329)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.systemui.statusbar.policy.BluetoothControllerImpl.updateBattery(BluetoothControllerImpl.java:335)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.systemui.statusbar.policy.BluetoothControllerImpl.updateConnected(BluetoothControllerImpl.java:282)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.systemui.statusbar.policy.BluetoothControllerImpl.onDeviceAttributesChanged(BluetoothControllerImpl.java:379)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.settingslib.bluetooth.CachedBluetoothDevice.dispatchAttributesChanged(CachedBluetoothDevice.java:904)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.settingslib.bluetooth.CachedBluetoothDevice.lambda$refresh$0(CachedBluetoothDevice.java:612)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.settingslib.bluetooth.CachedBluetoothDevice.$r8$lambda$4IYXIWE9azg2QshMjGh5evIGUmg(Unknown Source:0)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.settingslib.bluetooth.CachedBluetoothDevice$$ExternalSyntheticLambda1.run(Unknown Source:2)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat android.os.Handler.handleCallback(Handler.java:938)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat android.os.Handler.dispatchMessage(Handler.java:99)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat android.os.Looper.loopOnce(Looper.java:201)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat android.os.Looper.loop(Looper.java:288)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat android.app.ActivityThread.main(ActivityThread.java:7871)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat java.lang.reflect.Method.invoke(Native Method)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:550)\n 03-17 21:45:13.643 2245 2245 E AndroidRuntime:\tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)\n\n Change-Id: I036ffeb434ddbd7f2abfcfe950414319458f455b\n Signed-off-by: Adithya R \n\nAuthor: jhonboy121 \nDate: Tue Mar 22 19:15:24 2022 +0530\n\n SystemUI: Fetch bluetooth battery level from any device\n\n * When multiple devices are connected and only one or a few supports battery level reports, instead of fetching level from the first device, loop through the list to try and find any device that reports battery level, or just return unsupported value constant if there isn't any\n\n Change-Id: I2542ad683b1c37fccd88a3cc666409d41ec0097f\n Signed-off-by: Adithya R \n\nAuthor: Ido Ben-Hur \nDate: Sun Jul 11 14:40:52 2021 +0300\n\n PhoneStatusBarPolicy: Show battery level for all devices\n\n There is absolutely no need to restrict it to audio devices\n If the device doesn't support % it will return a negative value anyway\n\n Change-Id: I6745adbe89dd5ad38e856966ef3d61c067dfc55b\n Signed-off-by: Omkar Chandorkar \n\nCo-authored-by: Adithya R \nChange-Id: I34344907711b7b9fc4c1d15d4516bd53bf30ebb2","shortMessageHtmlLink":"Squash of SystemUI: Show bluetooth battery level"}},{"before":"ae18d916dddeff92da65bc4208ef032cea2806f8","after":"d2efc39a056fef53b6dc567dc875b1c6639df11d","ref":"refs/heads/uvite","pushedAt":"2024-01-07T01:36:13.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"ghostrider-reborn","name":"Adithya","path":"/ghostrider-reborn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/34226885?s=80&v=4"},"commit":{"message":"SystemUI: Do not duplicate SPN and PLMN in network name\n\nSame as the logic in telephony framework, show only the PLMN if it\nalready contains the SPN, insensitive of case. This avoids showing\ncarrier name in statusbar twice, for example, \"JIO - Jio\" or\n\"Jio True5G - JIO\".\n\nChange-Id: Ia9c1022fe314c6f4c1ff7db6e85dba66fc390afc","shortMessageHtmlLink":"SystemUI: Do not duplicate SPN and PLMN in network name"}},{"before":"26977651bebdd4dd5a71d46675337983336e4e9f","after":"ae18d916dddeff92da65bc4208ef032cea2806f8","ref":"refs/heads/uvite","pushedAt":"2024-01-02T10:50:05.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"ghostrider-reborn","name":"Adithya","path":"/ghostrider-reborn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/34226885?s=80&v=4"},"commit":{"message":"SystemUI: Dismiss screenshot window on touch outside\n\nThis window can be annoying because it blocks content and we\nhave to swipe to dismiss it, which is unintuitive.\n\nChange-Id: I72e28b8c6c071b14d5dde419660aeff4c58069fa\nSigned-off-by: LibXZR ","shortMessageHtmlLink":"SystemUI: Dismiss screenshot window on touch outside"}},{"before":"eab52f9a64775d3ec454ee7b86fffe08b5c05d04","after":"26977651bebdd4dd5a71d46675337983336e4e9f","ref":"refs/heads/uvite","pushedAt":"2023-12-31T16:49:41.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"ghostrider-reborn","name":"Adithya","path":"/ghostrider-reborn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/34226885?s=80&v=4"},"commit":{"message":"SystemUI: Re-evaluate system theme on UI mode change\n\n- Needed for black theme and for power menu to set accurate colors\n\nChange-Id: I05d41eaf8ea19ce3b6ce659d01da33cf55de3b7e\nSigned-off-by: Adithya R ","shortMessageHtmlLink":"SystemUI: Re-evaluate system theme on UI mode change"}},{"before":"73ba0635fee7ddb290454f77b61fc68a49140b96","after":"eab52f9a64775d3ec454ee7b86fffe08b5c05d04","ref":"refs/heads/uvite","pushedAt":"2023-12-29T12:58:52.000Z","pushType":"push","commitsCount":11,"pusher":{"login":"ghostrider-reborn","name":"Adithya","path":"/ghostrider-reborn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/34226885?s=80&v=4"},"commit":{"message":"display: Allow HBM in manual brightness if there is no time limitation\n\nIf a display does not set time limitation for HBM, it means it can\nsafely run at HBM for as long as it wants. With this in mind, we can\nallow HBM in manual brightness too for such displays. This still obeys\nthe thermal throttling and battery saver conditions for obvious reasons.\n\nChange-Id: I18ca7748c1f32dca1e70497afd0b6df8ed81ad5d","shortMessageHtmlLink":"display: Allow HBM in manual brightness if there is no time limitation"}},{"before":"b1aed193347fa07d57e837153af0f0596e0644b0","after":"73ba0635fee7ddb290454f77b61fc68a49140b96","ref":"refs/heads/uvite","pushedAt":"2023-12-28T15:11:55.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"ghostrider-reborn","name":"Adithya","path":"/ghostrider-reborn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/34226885?s=80&v=4"},"commit":{"message":"SystemUI: Use DT2W setting also to wake from AOD\n\n[ghostrider-reborn: adapt to 13-qpr2, use our custom setting]\n\nCo-authored-by: Adithya R \nChange-Id: I844e36469b0e3b0168eecb62f6e8b0e9b2bff40e","shortMessageHtmlLink":"SystemUI: Use DT2W setting also to wake from AOD"}},{"before":"def08caedb4ea8cd97ad2fb81752f391454fe77e","after":"b1aed193347fa07d57e837153af0f0596e0644b0","ref":"refs/heads/uvite","pushedAt":"2023-12-27T14:06:50.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"ghostrider-reborn","name":"Adithya","path":"/ghostrider-reborn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/34226885?s=80&v=4"},"commit":{"message":"[TEST][DNM] TelephonyManager: Set NR_SA bit for NR network type\n\nChange-Id: I72143f2939030d24e52b07cc1db3e1a8ff23be29","shortMessageHtmlLink":"[TEST][DNM] TelephonyManager: Set NR_SA bit for NR network type"}},{"before":null,"after":"def08caedb4ea8cd97ad2fb81752f391454fe77e","ref":"refs/heads/uvite","pushedAt":"2023-12-26T10:46:12.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"ghostrider-reborn","name":"Adithya","path":"/ghostrider-reborn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/34226885?s=80&v=4"},"commit":{"message":"display: Handle zero auto brightness adjustment\n\nSome apps (such as miui camera) resets the auto brightness adjustment\nto 0.0f instead of correctly using Float.NaN, causing auto brightness\nanimation to be disabled afterwards. Prevent this scenario by\noverriding it to Float.NaN ourselves.\n\nChange-Id: Idc39d120db306403482c7011db7c556f4f902468","shortMessageHtmlLink":"display: Handle zero auto brightness adjustment"}},{"before":"529e66cb7d483eb53f5cb9436a9ea2cd02c2abe2","after":"a9a915363d3cabf7d1e624f8db626860625d2579","ref":"refs/heads/topaz","pushedAt":"2023-12-24T03:27:16.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"ghostrider-reborn","name":"Adithya","path":"/ghostrider-reborn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/34226885?s=80&v=4"},"commit":{"message":"SystemUI: Internet tile: Allow long-pressing on mobile network\n\n* The current WiFi network has a setting toggle and also opens the\n settings on single click where the mobile network only allows\n connecting but not opening settings\n* Add a long press listener that goes to the subId's network settings,\n allowing for example to disable roaming or change network\n\nChange-Id: Iacc1c64d318b0240da5397f2b4e4dfb59d4834dd","shortMessageHtmlLink":"SystemUI: Internet tile: Allow long-pressing on mobile network"}},{"before":"cb68a5015ae78c2b2ed6f4827b76275303d9614c","after":"529e66cb7d483eb53f5cb9436a9ea2cd02c2abe2","ref":"refs/heads/topaz","pushedAt":"2023-12-11T08:19:38.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ghostrider-reborn","name":"Adithya","path":"/ghostrider-reborn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/34226885?s=80&v=4"},"commit":{"message":"SystemUI: Remove power menu shadow\n\nThis fits better with Material You, especially when the default shadow\ngets clipped at the edges.\n\nChange-Id: If1f421692bcc737882f76fc7929b9f9dd0dd71f0","shortMessageHtmlLink":"SystemUI: Remove power menu shadow"}},{"before":"f2cd3dec8bd9fd702241217d8c34d95484d41060","after":"cb68a5015ae78c2b2ed6f4827b76275303d9614c","ref":"refs/heads/topaz","pushedAt":"2023-12-10T08:12:52.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"ghostrider-reborn","name":"Adithya","path":"/ghostrider-reborn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/34226885?s=80&v=4"},"commit":{"message":"[WIP] PIHooks: Set system props for native hook [2/2]\n\nPass the spoofed (or not) first API and security patch level to\nnative PIHooks.\n\nChange-Id: I11a9e9c13a33c1f9962844abba7c83bd040d7a62","shortMessageHtmlLink":"[WIP] PIHooks: Set system props for native hook [2/2]"}},{"before":null,"after":"1ff115c02c1fffc3f4c3ac73e644f349f0b39da9","ref":"refs/heads/topaz-wip-pihooks","pushedAt":"2023-12-10T08:12:38.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"ghostrider-reborn","name":"Adithya","path":"/ghostrider-reborn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/34226885?s=80&v=4"},"commit":{"message":"[WIP] PIHooks: Spoof developer settings disabled to user apps\n\nChange-Id: Iae95ef937c589b013288a5baf5baf634697b4966","shortMessageHtmlLink":"[WIP] PIHooks: Spoof developer settings disabled to user apps"}},{"before":"abe3efcf6163aed74bbec36b1c61c94185f233cb","after":"f2cd3dec8bd9fd702241217d8c34d95484d41060","ref":"refs/heads/topaz","pushedAt":"2023-12-08T01:36:57.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"ghostrider-reborn","name":"Adithya","path":"/ghostrider-reborn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/34226885?s=80&v=4"},"commit":{"message":"[WIP] PIHooks: Set system props for native hook [2/2]\n\nPass the spoofed (or not) first API and security patch level to\nnative PIHooks.\n\nChange-Id: I11a9e9c13a33c1f9962844abba7c83bd040d7a62","shortMessageHtmlLink":"[WIP] PIHooks: Set system props for native hook [2/2]"}},{"before":null,"after":"86137c5a543fb9e45c12e53086dfe20a0ea7e830","ref":"refs/heads/topaz-bk-mar2023","pushedAt":"2023-12-05T05:20:06.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"ghostrider-reborn","name":"Adithya","path":"/ghostrider-reborn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/34226885?s=80&v=4"},"commit":{"message":"SystemUI: Hide QS power button in lock screen if enabled\n\nCommit 1d06c4b7 (\"Hide power menu on secure lockscreen\") allowed\ndisabling long press to launch power menu, but that didn't hide\nthe power menu button in QS footer introduced in Android 12.\n\nFine, I'll do it myself.\n\nChange-Id: I91ac1a6fa88e874858f1aed721cc89bdd0e84eba","shortMessageHtmlLink":"SystemUI: Hide QS power button in lock screen if enabled"}},{"before":"7aad6f67970a6d79f69220066fb493df7f4a0a72","after":"abe3efcf6163aed74bbec36b1c61c94185f233cb","ref":"refs/heads/topaz","pushedAt":"2023-12-03T12:53:00.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ghostrider-reborn","name":"Adithya","path":"/ghostrider-reborn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/34226885?s=80&v=4"},"commit":{"message":"[WIP] PIHooks: Spoof locked bootloader on local attestations\n\nAllows bypassing bootloader lock checks in, for example, some\nbanking apps.\n\nBased on https://github.com/chiteroman/BootloaderSpoofer.\n\nCo-authored-by: chiteroman <98092901+chiteroman@users.noreply.github.com>\nChange-Id: I6dbb69a0d36f3ada9e213368db260e12f501213b","shortMessageHtmlLink":"[WIP] PIHooks: Spoof locked bootloader on local attestations"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAD_VquAQA","startCursor":null,"endCursor":null}},"title":"Activity · pa-gr/android_frameworks_base"}