-
Notifications
You must be signed in to change notification settings - Fork 4
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
introduce pocket judge/lock #7
Open
darknius09
wants to merge
51
commits into
PixelBlaster-OS-11:eleven
Choose a base branch
from
darknius09:eleven
base: eleven
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Judge if device is in pocket. * Notify clients callbacks when pocked state changes. * Start listening when device becomes not interactive. * Stop listening when device becomes interactive and is NOT in pocket. Ticket: NOUGAT-9. Signed-off-by: Carlo Savignano <carlosavignano@aospa.co> Signed-off-by: Alex Naidis <alex.naidis@linux.com> Squashed commits: commit a712df9f2569ff72f4fb9c42adda472df5f2d4c4 Author: jhenrique09 <jhenrique09.mcz@hotmail.com> Date: Sat Sep 12 11:55:04 2020 -0300 Pocket Lock: Don't show immersive confirmation ui Change-Id: I7de7cda0a1482ef7ef107cd69a28ac80b9f747d4 commit 586a00f09d668ab4cb300b6dcb10c0965cd0a156 Author: jhenrique09 <jhenrique09.mcz@hotmail.com> Date: Tue Sep 8 09:44:29 2020 -0300 PocketLock: fix flickering on animations Change-Id: I4b5499042d0e9ae8f73ecf5c32030d146f640362 commit d4b16d04f61d0a68f73172db2105259b5350a199 Author: RadixCube <radixcube@gmail.com> Date: Sun Jun 2 18:14:51 2019 +0000 pocket: Reduce sleep timeout for pocket lock *if the proximity value changes within 10s, pocketlock exits to lockscreen. Inorder to avoid that reduce timeout to 3s Change-Id: Ie233f17d59c0383538a0e8cb71707c07010fc905 commit be8b1515dfacce20b1ea2656d5aacc29f1dd4685 Author: paphonb <paphonb@gmail.com> Date: Sat Jun 8 08:37:35 2019 +0000 Fix an edge case in KeyguardUpdateMonitor pocket callback Change-Id: I7489d1fbda5622d6bff72b9a1c27e35becaa3eb1 commit 9addd6201ecebcaae108583f9c3212e4a56c4ae8 Author: Henrique Silva <jhenrique09.mcz@hotmail.com> Date: Thu May 2 16:35:09 2019 -0300 Pocket lock improvements * Fix auto hide not working correctly * Restore systemui visibility when hidden Change-Id: I2bb57b56cdf431d32cdbc3c67f272bf982518884 commit fd6c2dd9934265119be3c7ffd0f9bd082b25d1d6 Author: TheStrix <parthbhatia98@gmail.com> Date: Wed Mar 6 20:02:08 2019 +0530 pocket: Fix pocket lock view for display cutouts - Use LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES layout flag to extend pocket lock view for display cutout mode. Change-Id: I21e4e47cf999b3a0f3d6ebf9165ba9f5596ece0e commit cf5e15aa099036988258cdfbdf6a39c80249d0a0 Author: TheStrix <parthbhatia98@gmail.com> Date: Wed Mar 6 14:40:06 2019 +0530 pocket: Adjust sleep timeout for pocket lock view to 10 secs - Fix the case where user sets a high value for sleep timeout in display settings and the pocket view is also displayed for that much duration. Change-Id: If6c4daa1fd98992141f22db70e0e86d5d990f789 commit 3ccc78d41b42a8a37dd17b76c1e22179ab6df557 Author: Chris Lahaye <dev@chrislahaye.com> Date: Tue Apr 25 00:10:35 2017 +0200 pocket: introduce pocket bridge This service communicates pocket state to the pocket judge kernel driver. It maintains the pocket state by binding to the pocket service. Ticket: NOUGAT-49 Change-Id: Iee77f767f23d3f77a0d1d871f9305f3b3c6d6630 Signed-off-by: Chris Lahaye <dev@chrislahaye.com> Signed-off-by: Alex Naidis <alex.naidis@linux.com> commit 11a523c5091037445e35cbac91d2313354dbc875 Author: Alex Naidis <alex.naidis@linux.com> Date: Mon Aug 14 20:56:16 2017 -0400 PocketService: Adjust light sensor rate to 400ms We already adjusted the proximity sensor rate to 400ms, so adjust the rate for the light sensor accordingly and create a tunable. Change-Id: Ie6dda80df8cdc677eb6cdb873a5ce1e888572fe7 Signed-off-by: Alex Naidis <alex.naidis@linux.com> commit 5650e0db14c74921c02db899894281dafc2c6d0d Author: Chris Lahaye <dev@chrislahaye.com> Date: Tue Sep 26 19:19:19 2017 +0200 pocket: Add hardware acceleration and properly maintain SYSTEM_UI flags Change-Id: I585598242beec34bd92c5df5836ab395b36cea05 commit f73d036f1da30fa9fa4b9b872f80254886b1bc41 Author: Carlo Savignano <carlosavignano@aospa.co> Date: Tue Oct 25 18:45:47 2016 +0800 policy: introduce pocket lock * Block touch screen and keys inputs when device is in pocket. * Safe-door to disable pocket lock within long press power button if sensors do not behave correctly after PocketManager.isDeviceInPocket() returns true. * Window uses TYPE_SYSTEM_ERROR flag with ensure high priority over the lockscreen and other high priority windows. * Do not illuminate buttons when pocket lock is showing. * Disable fingerprint events and gestures when in pocket * Be friendly towards Keypress Boost Contributors: Carlo Savignano <carlosavignano@aospa.co> Chris Lahaye <dev@chrislahaye.com> Anas Karbila <anaskarbila@aospa.co> Alex Naidis <alex.naidis@linux.com> Park Ju Hyung <qkrwngud825@gmail.com> Ticket: NOUGAT-15 Change-Id: I21e121c03a978fc2a0640d98a9d693a3e9812e2b Signed-off-by: Carlo Savignano <carlosavignano@aospa.co> Signed-off-by: Alex Naidis <alex.naidis@linux.com> Signed-off-by: jhenrique09 <jhenrique09.mcz@hotmail.com> Change-Id: I5d5cc35a98381e5b7030c384fda4df348e32361a
Change-Id: I144b0eb18bb8686e8ebd391532db3d80925a49e7
Some devices (ie OnePlus) have own pocket sensor. This change allow to use native pocket sensor instead of proximity and light. Sensor name must be specified in device tree overlay. In this case PocketService will try to use vendor sensor first. If sensor wasn't found, fallback sensors (proximity and light) will be in use. Example for OnePlus sensor: <string name="config_pocketJudgeVendorSensorName">oneplus.sensor.pocket</string> Change-Id: Ibe423478cfd9d49e0831e2df0af793178f62c0e0
Change-Id: I6768c9f8cdd40b2a62df3bd9ddfa04022d69ce10
* On some devices using light sensor may break autobrightness Change-Id: I2bb4aad1ecc6808a4546dfdcada4335074d0d40e
Some devices (ie OnePlus) have bunch of proximity sensors and default one may not work properly. This change allow to use particular proximity sensor. Example for OnePlus infrared proximity sensor: <string name="config_pocketJudgeVendorProximitySensorName">oneplus.sensor.infrared.proximity</string> Change-Id: Ifc6411966338a5d8aaa5144d1d56954e8d98175c
This reverts commit 10ee40d.
Squash revert commits: commit 212eeec2fb927b04dde8f38b2ea684f349e44eb5 (HEAD) Author: palaych <palaych@arrowos.net> Date: Fri Sep 2 08:16:05 2022 +0900 Revert "Introduce PixelPropsUtils" This reverts commit 10d151880f95b838cad81fa3b43bcd268b31d7fd. commit d3a493c52a1393911b96e60112c3a3e53095ccfa Author: palaych <palaych@arrowos.net> Date: Fri Sep 2 08:16:05 2022 +0900 Revert "PixelPropsUtils: Override fingerprint for SettingsIntelligence" This reverts commit 6f5ecc6f55dc52e33a80f5f7d4516886cfb31ffb. commit 286d8ea58b8183072294cfad7866f8a434385d51 Author: palaych <palaych@arrowos.net> Date: Fri Sep 2 08:16:05 2022 +0900 Revert "PixelPropsUtils: Cleanup apps" This reverts commit c153795f9797fc2ff664c2039205929f45b76f86. commit 74e923585b18ffa3ada49188e4779b5c56e3f672 Author: palaych <palaych@arrowos.net> Date: Fri Sep 2 08:16:05 2022 +0900 Revert "PixelPropsUtils: bring back wallpaper collection" This reverts commit ef9f1a3a7b427b5e1e0b44cd520d8e6644b07792. commit 30916992884aebf766fe986e195be5418cf92d28 Author: palaych <palaych@arrowos.net> Date: Fri Sep 2 08:16:05 2022 +0900 Revert "PixelPropsUtils: Don't set build type/build debug props" This reverts commit 7828fb471854e35a60007f90350f1512fe1a7b20. commit 60f4478afb785f3ff8805ef99e1abfe27bcfdef2 Author: palaych <palaych@arrowos.net> Date: Fri Sep 2 08:16:04 2022 +0900 Revert "PixelPropsUtils: Change props to crosshatch" This reverts commit 80ead834d93b7a0ca1057016a01493ac352023a8. commit 6d55ee926393fc024eb31337b907045343cd7ce0 Author: palaych <palaych@arrowos.net> Date: Fri Sep 2 08:16:04 2022 +0900 Revert "PixelPropsUtils: Set pixel 5 props for specific apps" This reverts commit 46f375bfd0551b73576c26bf7a2769166d9836a2. commit 80a404924402cef91a345b33eaec55fdea0fb944 Author: palaych <palaych@arrowos.net> Date: Fri Sep 2 08:16:04 2022 +0900 Revert "PixelPropsUtils: Switch back to Pixel 5 props for all apps" This reverts commit 57e8f4782f3b7a79ca41b017cdfbb82ed48ddf68. commit 9fdc28d8badaf3c0152aacbf6345930e57888d36 Author: palaych <palaych@arrowos.net> Date: Fri Sep 2 08:16:04 2022 +0900 Revert "PixelPropsUtils: Set redfin build fingerprint" This reverts commit 83263054da49aaacd45b5bc01d315cbd21330388. commit 1b9a4a49e960aeb5da1b51a5b09315ab3aba845f Author: palaych <palaych@arrowos.net> Date: Fri Sep 2 08:16:04 2022 +0900 Revert "PixelPropsUtils: Update packages" This reverts commit 10e8819ac1734c6c6a1f6f54a3828bd946747bfc. commit bf85eb1f991702d603dd646fb8fa64f97f627583 Author: palaych <palaych@arrowos.net> Date: Fri Sep 2 08:16:04 2022 +0900 Revert "PixelPropsUtils: add Google Play Store to party as well" This reverts commit b1851e71bde9caa12ee81a815f07d3312111eebf. commit cac22fc79f58a78aefec223a8d8f1a18e9e02e0b Author: palaych <palaych@arrowos.net> Date: Fri Sep 2 08:16:04 2022 +0900 Revert "PixelPropsUtils: Spoof Pixel XL for Google Photos" This reverts commit 509d4ae5db873304690c7bef416d179cf62a6526. commit 095a4fa7ef9a0155e524905019daa51e0804d26a Author: palaych <palaych@arrowos.net> Date: Fri Sep 2 08:16:04 2022 +0900 Revert "PixelPropsUtils: Don't set model prop if gms" This reverts commit c785b20c3d7d5841e4dc56eaf33758fae59e7952. commit 58e64cfd687daf252e8962922a13b66396e9df60 Author: palaych <palaych@arrowos.net> Date: Fri Sep 2 08:16:04 2022 +0900 Revert "PixelPropsUtils: Update fingerprints" This reverts commit cabeea50680141b4e5f9f89e3428cc3a2f82a3cc. commit 969995530fd3329444ba298d0f315cfb2607abcf Author: palaych <palaych@arrowos.net> Date: Fri Sep 2 08:16:04 2022 +0900 Revert "PixelPropsUtils: Remove some packages" This reverts commit 6ae95a02bafa1fb2a7a82affdd9f7288caa4ccdf. commit dd9309658b355f6002c4dbf92ba6cdb0926a8791 Author: palaych <palaych@arrowos.net> Date: Fri Sep 2 08:16:04 2022 +0900 Revert "base: PixelPropsUtils: Update fp to RQ3A.211001.001" This reverts commit a828f7f8bf602dee27dce3c24510c9f2cac27076. commit 63464dfe5bde2bf9d33df274546039651e7bd8d5 Author: palaych <palaych@arrowos.net> Date: Fri Sep 2 08:16:04 2022 +0900 Revert "base: PixelPropsUtils: Update redfin fp to SP1A.211105.003" This reverts commit 58ed13dbb9e76396bc8c0125f10585c2c6538487. commit d5f8babf95f9097492e8ee86ac907012ff776cfd Author: palaych <palaych@arrowos.net> Date: Fri Sep 2 08:16:04 2022 +0900 Revert "base: PixelPropsUtils: Update redfin fp to SQ1A.211205.008" This reverts commit deb8d2d2d89b0a788b56e6f26752da156ddd3672. commit 6bede11bea04c6924a17eace32953f1f21766ea0 Author: palaych <palaych@arrowos.net> Date: Fri Sep 2 08:16:03 2022 +0900 Revert "base: PixelPropsUtils: Update redfin fp to SQ1A.220105.002" This reverts commit fc2aed638934a5f2d2575734578dbd5e7d83e72a. commit 7b2bd497cbec3ea0c7097dfeafec5008ff5bb526 Author: palaych <palaych@arrowos.net> Date: Fri Sep 2 08:16:03 2022 +0900 Revert "base: PixelPropsUtils: Update redfin fp to SQ1A.220205.002" This reverts commit 03546eaf08e9d3a4a99ea823eb8e539f4698c834. Change-Id: Ia13a86b20f2fc2a7fc5f6e06fdc3b89bc2f3cc73
SafetyNet's CTS profile attestation checks whether Build.FINGERPRINT matches that of the device's stock OS, which has passed CTS testing. Spoof the fingerprint for Google Play Services to help pass SafetyNet. NB: This code is under the gmscompat package, but it does not depend on any code from gmscompat. arrow edits: - Correct prop name for our logic. We are planning to use fp for different devices (like old oreo or follow new Pixel's). Signed-off-by: palaych <palaych@arrowos.net> Change-Id: I26a2498eb2e2163933303b03f6d516e5fb30fe51
As of September 2, Google is enforcing SafetyNet's previously opportunistic hardware-backed attestation based on device information. Append a space to the device model name in order to avoid such enforcement. Change-Id: Ib7779e0aae40cab3730a56785e9231896917ab0a
The unstable process is where SafetyNet attestation actually runs, so we only need to spoof the model in that process. Leaving other processes fixes various issues caused by model detection and flag provisioning, including screen-off Voice Match in Google Assistant, broken At a Glance weather and settings on Android 12, and more. Change-Id: Icfe2c34c357c833d8108cf6b5650214f32d273f5
Squash commits: Author: Albert I <kras@raphielgang.org> Date: Thu May 12 05:37:43 2022 +0800 core: pm: Wipe package cache when upgrading system As we keep adding and removing features with each build, it's necessary to have package cache wiped out to avoid certain potential issues from arising due to a dirty flash. This commit is meant to supplement existing check for builds with incremental version that starts with "eng" (not eng build type, which skips generating package cache by design) which will continue to behave as expected. Signed-off-by: Albert I <kras@raphielgang.org> Author: Albert I <kras@raphielgang.org> Date: Fri Apr 8 18:59:52 2022 +0800 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 <kras@raphielgang.org> Change-Id: I5d967c25bd9c4890549d5d20f5e66b0c6845528c Author: Pranav Vashi <neobuddy89@gmail.com> Date: Thu Nov 14 01:40:35 2019 +0530 Restore cache clean up code in PackageManagerService * Forward ported to Android 10 Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> Co-authored-by: Pranav Vashi <neobuddy89@gmail.com> Change-Id: Ieebe379853b69eb9268814169f58cf7794d8a0a5
Duplicate permissions definition with different group allows privilege permission escalation to a different permission group. Android studio and gradle plugin does not allow duplicate permissions with different attributes, these tools only allow if duplicate permissions are exact copies. Also platform stores permissions in map at multiple places with permission name as key. This suggests that we can disallow duplicate permissions during package install/update Bug: 213323615 Test: AppSecurityTests Change-Id: I1910dca44104e35a57eba4acfa8188cd9b8626ac Merged-Id: I34120fff2ec2a158dfa55779d2afd4bbd49487ff Merged-In: I9bc839836786a0876e67fd73c05f8944bb532249 (cherry picked from commit f9a9dc720c151ce9d8a2bba6f5400f5a8f759b2d) Merged-In: I1910dca44104e35a57eba4acfa8188cd9b8626ac
Before, it was like getting a used pan with food stuck on it. We run a clean ship here. You want a Parcel? You get a fresh Parcel. When we recycle a Parcel, we do a real clean-up job. Air freshener. All bits brushed over. These Parcel objects are clean as heck now! (specifically cleans mClassCookies) Bug: 208279300 Test: build Merged-In: I250872f5c6796bb64e2dc68008154c0e90feb218 Change-Id: I250872f5c6796bb64e2dc68008154c0e90feb218 (cherry picked from commit 46770fa49c9a5e51a5ea5a3afc7aab0dba2e59bd) (cherry picked from commit b5c79e141a81fa86fc834980d46886ac3c86ab11) Merged-In: I250872f5c6796bb64e2dc68008154c0e90feb218
Bug: 213323615 Test: AppSecurityTests Change-Id: I993832e148636f1795ffe393c6dc74a08b9442f8 Merged-In: I8f823487ca16861a35135cfc3383fa2ce8258017 Merged-In: I4b61d13256ce0bfb8fc9d21db52ee78ce2097f14 (cherry picked from commit bbe2a118277d9b225a272c53e509fdeb2fe0a993) Merged-In: I993832e148636f1795ffe393c6dc74a08b9442f8
Enables unlimited photos and videos backup (restored functionality from PixelPropsUtils). Make this optional via overlay, as it needs to be disabled on some devices such as Pixel 6 series in order to utilize its tensor features. Squashed: Author: ReallySnow <reallysnow233@gmail.com> Date: Fri Dec 31 16:40:23 2021 +0800 core: Blacklist Pixel 2017 and 2018 exclusive for Google Photos * In this way can use PixelPropsUtils to simulate the Pixel XL prop method to use the unlimited storage space of Google Photos * Thanks nullbytepl for the idea Change-Id: I92d472d319373d648365c8c63e301f1a915f8de9 Author: kondors1995 <normandija1945@gmail.com> Date: Mon Dec 20 16:53:46 2021 +0000 core: Extend Pixel feature blacklist for Google Photos Turns out having these breaks Original quality backups. Since these indicate that the device is pixel 4 which in turn breaks device spoofing as OG pixel Change-Id: Ibc57af35ca7e7146b3a839a544476ef716f85925 Author: Kuba Wojciechowski <nullbytepl@gmail.com> Date: Fri Nov 5 01:52:51 2021 +0300 core: Blacklist P21 experience system feature from Google Photos We want to include the P21 experience flag to enable new features, however it seems like Google Photos uses it to decide whether to use the TPU tflite delegate. There doesn't seem to be any fallback so we need to make sure the feature is not exposed to the app so that a normal NNAPI/GPU delegate can be used instead. Test: Google Photos editor with PIXEL_2021_EXPERIENCE feature in product Signed-off-by: Kuba Wojciechowski <nullbytepl@gmail.com> Change-Id: I51a02f8347324c7a85f3136b802dce4cc4556ac5 Co-authored-by: Kuba Wojciechowski <nullbytepl@gmail.com> Co-authored-by: kondors1995 <normandija1945@gmail.com> Co-authored-by: ReallySnow <reallysnow233@gmail.com> Change-Id: Ia785b7a004192c96d1c0abe58733fb8700d43e25 Signed-off-by: palaych <palaych@arrowos.net> Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
darknius09
force-pushed
the
eleven
branch
2 times, most recently
from
November 17, 2022 13:36
2ea2bb7
to
a79deb9
Compare
----- abc ezio84: use O darkintensity api use arrows vectors from aosp net arrows commit (thanks @Mazda-- for this find!): ezio84/abc_frameworks_base@ad71ae1 fix visual glitch on statusbar expand (arrows showing and quickly hiding again) don't show arrows when no data remove unit settings (KB is good) remove interval (set to 1sec by def) and single arrow options don't get settings values again when not needed fix padding between arrows and speed values and expose the padding value code cleanup ----- Change-Id: I026f67caec69a09c0c1969a09fbe99aa6b6f0510
no need to keep the net monitor working if screen is off and waste system / battery resources Change-Id: I977eee3b38d19a755b9e9a0b38c13e86aea433c5
Preview: https://i.ibb.co/1TCCwV8/455010636-14778.jpg Actually, with notch or low dpi and more statusbar icons we have not so much space there to show the net monitor. A notch can hide it and the system can now handle only a fixed max number of notifications and status icons, so when net monitor shows itself it can force the system to drop some icons to show the infamous dot. Let's also consider we usually check the monitor to see if the data transfer is working as expected and the speed is proper, so it's not an info we want to see always (it's also distracting when reading something). So, let's move it to expanded statusbar. There we have also some room to add line spacing and more info. Change-Id: I3fca786aec4f27c763e70d404448bd71dfaecceb
Change-Id: I5c4d7a3c5fdc626fe8b34c88212ed01154b3ab65
With https://gerrit.aicp-rom.com/c/AICP/frameworks_base/+/80636 ("Statusbar net monitor: stop the handler if screen is off"), connectivity status can change without us noticing, so let's update in updateSettings() (which is called after turning the screen on) also if there is no connection. Change-Id: I674f9cc3946f679b1ff9696079c5608fdfaa12d7
Change-Id: Ic78e82cedb676f99dd17ce88ba2e66173f000bdc
Change-Id: Ia41474a262b258f8a2d4d7b10a15891729ffd17c
singleLine is deprecated use maxLines instead Follow system font Change-Id: Ib739bdca613be43411a0822bbee86013c48e2bd7
- add separate dimens. values for SBtraffic - adjust size and alignment - reduce left right padding - make traffic text bold/font - set gravity to right - nuked arrow indicators - upload and download speeds view switch depending on which is higher Change-Id: I48a16dc383ce333f0a64aa87b994d300b26e6a9c
- Rework the displayed digits logic and convert them to spannable strings for better individual refinement of digits/unit - Get rid of the text size dimen as there's no need of it anymore **DU Edits** - Do to one what you do to the other. Apply the same changes to both classes, statusbar and extended statusbar. Change-Id: I7c7161460236bbc83ee530adf7c73fb9d592b3c6
Change-Id: I851dac6279e0b4a60b1697ce1bd6f85fc3e248b9
also don't continuosly check if device has notch but do it once Change-Id: I1a97dcd6cb932d32f6bffa518a66a47a209c604e
Change-Id: I7d9dd2fe7850ec6f27707022fc8e4fd3cf85dfd1
Make it behave fine on devices that don't have much status bar space (e.g. because of a display cutout/"notch") duabc: adapt to our code Change-Id: I541e2430e2075d8dc650829d5e90039628799a15
There's no fucking reason for these traffic indicators to be showing in the keyguard. Who does that? Nobody....that's who lol Change-Id: Ie7f8cfbbf787d3096094c31daa6feff0e305a687
we keep the one on top right of the screen (there we have more space and in the future can add more net traffic info) Change-Id: I098c93b9dd0edd146d08fd23c8c721274b9859ec
…estLayout() Simple as that. Improperly calling requestLayout() was causing ViewRootImpl spam the living crap out of us. https://github.com/DirtyUnicorns/android_frameworks_base/blob/q10x/core/java/android/view/ViewRootImpl.java#L3178 Change-Id: Ia7f20be9e31508ab5188ceeaeb83716ab6548d02
Change-Id: I86153e8a5a314f0f44b02500878b68970a070155
Change-Id: I6274b370e0154927fb90131612789fcb3a4f2c9e
* devices like surya have a small hole-punch cutout that can easily fit the network traffic monitor in the statusbar along with the other icons, for such devices, override the notch check by setting config_forceShowNetworkTrafficOnStatusBar to true in SystemUI overlay. Change-Id: Iebce2052f4e4cccf96c44a7ce42ef31abe6ca23b
- remove unwanted padding on top of expanded statusbar traffic indicator and center it properly - reduce side padding of statusbar indicator - show /S in caps - reduce overall text size and increase line spacing - use op slate medium font (600 weight) Change-Id: I9bc80ba00700c5a184cce2b6703d11986203739b
Change-Id: I0d031048a5499508138f04f7be2ae12819d4ee69
Change-Id: I929c46884a698bc7ea2f406a0a2e7d522b9c69e8
Signed-off-by: cjybyjk <cjybyjk@zjnu.edu.cn> Change-Id: I2052c7f64d1cb7d9e0907b60cc144f172d2f4bfb
Can be useful in some cases. Change-Id: I999337cc55e9675cedde35191a6438d90744e5aa Signed-off-by: LibXZR <i@xzr.moe>
Feature: yt/KSCOPE-23 Change-Id: Ia9447ca17f6b24152b64526c25710a77e1388ce6 Signed-off-by: LibXZR <i@xzr.moe> fix derp
Root Cause: ResolveActivity doesn't enable hardware accelerated. Soluton: Add ActivityInfo.FLAG_HARDWARE_ACCELERATED Change-Id: I1537cd8cedd75385679cfe19e90696b5a9b5fae5 Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
* In case of faulty gapps, there are no default IME left on the system. This shouldn't be situation where user cannot boot at all. * Handle InputMethodUtils to prevent PackageManagerService crashing system. Log: 12-31 23:07:42.668 2559 2559 E System : ****************************************** 12-31 23:07:42.668 2559 2559 E System : ************ Failure starting system services 12-31 23:07:42.668 2559 2559 E System : java.lang.RuntimeException: Failed to boot service com.android.server.inputmethod.InputMethodManagerService$Lifecycle: onBootPhase threw an exception during phase 550 12-31 23:07:42.668 2559 2559 E System : at com.android.server.SystemServiceManager.startBootPhase(SystemServiceManager.java:211) 12-31 23:07:42.668 2559 2559 E System : at com.android.server.SystemServer.lambda$startOtherServices$6$SystemServer(SystemServer.java:2294) 12-31 23:07:42.668 2559 2559 E System : at com.android.server.SystemServer$$ExternalSyntheticLambda4.run(Unknown Source:30) 12-31 23:07:42.668 2559 2559 E System : at com.android.server.am.ActivityManagerService.systemReady(ActivityManagerService.java:9653) 12-31 23:07:42.668 2559 2559 E System : at com.android.server.SystemServer.startOtherServices(SystemServer.java:2291) 12-31 23:07:42.668 2559 2559 E System : at com.android.server.SystemServer.run(SystemServer.java:608) 12-31 23:07:42.668 2559 2559 E System : at com.android.server.SystemServer.main(SystemServer.java:424) 12-31 23:07:42.668 2559 2559 E System : at java.lang.reflect.Method.invoke(Native Method) 12-31 23:07:42.668 2559 2559 E System : at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592) 12-31 23:07:42.668 2559 2559 E System : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:925) 12-31 23:07:42.668 2559 2559 E System : Caused by: java.lang.IllegalArgumentException: Unknown package: com.google.android.inputmethod.latin 12-31 23:07:42.668 2559 2559 E System : at com.android.server.pm.PackageManagerService.getApplicationEnabledSetting(PackageManagerService.java:21539) 12-31 23:07:42.668 2559 2559 E System : at com.android.server.inputmethod.InputMethodUtils.setDisabledUntilUsed(InputMethodUtils.java:681) 12-31 23:07:42.668 2559 2559 E System : at com.android.server.inputmethod.InputMethodUtils.setNonSelectedSystemImesDisabledUntilUsed(InputMethodUtils.java:673) 12-31 23:07:42.668 2559 2559 E System : at com.android.server.inputmethod.InputMethodManagerService.systemRunning(InputMethodManagerService.java:1913) 12-31 23:07:42.668 2559 2559 E System : at com.android.server.inputmethod.InputMethodManagerService$Lifecycle.onBootPhase(InputMethodManagerService.java:1636) 12-31 23:07:42.668 2559 2559 E System : at com.android.server.SystemServiceManager.startBootPhase(SystemServiceManager.java:208) 12-31 23:07:42.668 2559 2559 E System : ... 9 more 12-31 23:07:42.668 2559 2559 E Zygote : System zygote died with exception 12-31 23:07:42.668 2559 2559 E Zygote : java.lang.RuntimeException: Failed to boot service com.android.server.inputmethod.InputMethodManagerService$Lifecycle: onBootPhase threw an exception during phase 550 12-31 23:07:42.668 2559 2559 E Zygote : at com.android.server.SystemServiceManager.startBootPhase(SystemServiceManager.java:211) 12-31 23:07:42.668 2559 2559 E Zygote : at com.android.server.SystemServer.lambda$startOtherServices$6$SystemServer(SystemServer.java:2294) 12-31 23:07:42.668 2559 2559 E Zygote : at com.android.server.SystemServer$$ExternalSyntheticLambda4.run(Unknown Source:30) 12-31 23:07:42.668 2559 2559 E Zygote : at com.android.server.am.ActivityManagerService.systemReady(ActivityManagerService.java:9653) 12-31 23:07:42.668 2559 2559 E Zygote : at com.android.server.SystemServer.startOtherServices(SystemServer.java:2291) 12-31 23:07:42.668 2559 2559 E Zygote : at com.android.server.SystemServer.run(SystemServer.java:608) 12-31 23:07:42.668 2559 2559 E Zygote : at com.android.server.SystemServer.main(SystemServer.java:424) 12-31 23:07:42.668 2559 2559 E Zygote : at java.lang.reflect.Method.invoke(Native Method) 12-31 23:07:42.668 2559 2559 E Zygote : at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592) 12-31 23:07:42.668 2559 2559 E Zygote : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:925) 12-31 23:07:42.668 2559 2559 E Zygote : Caused by: java.lang.IllegalArgumentException: Unknown package: com.google.android.inputmethod.latin 12-31 23:07:42.668 2559 2559 E Zygote : at com.android.server.pm.PackageManagerService.getApplicationEnabledSetting(PackageManagerService.java:21539) 12-31 23:07:42.668 2559 2559 E Zygote : at com.android.server.inputmethod.InputMethodUtils.setDisabledUntilUsed(InputMethodUtils.java:681) 12-31 23:07:42.668 2559 2559 E Zygote : at com.android.server.inputmethod.InputMethodUtils.setNonSelectedSystemImesDisabledUntilUsed(InputMethodUtils.java:673) 12-31 23:07:42.668 2559 2559 E Zygote : at com.android.server.inputmethod.InputMethodManagerService.systemRunning(InputMethodManagerService.java:1913) 12-31 23:07:42.668 2559 2559 E Zygote : at com.android.server.inputmethod.InputMethodManagerService$Lifecycle.onBootPhase(InputMethodManagerService.java:1636) 12-31 23:07:42.668 2559 2559 E Zygote : at com.android.server.SystemServiceManager.startBootPhase(SystemServiceManager.java:208) 12-31 23:07:42.668 2559 2559 E Zygote : ... 9 more 12-31 23:07:42.668 2559 2559 D AndroidRuntime: Shutting down VM 12-31 23:07:42.669 2559 2559 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main 12-31 23:07:42.669 2559 2559 E AndroidRuntime: java.lang.RuntimeException: Failed to boot service com.android.server.inputmethod.InputMethodManagerService$Lifecycle: onBootPhase threw an exception during phase 550 12-31 23:07:42.669 2559 2559 E AndroidRuntime: at com.android.server.SystemServiceManager.startBootPhase(SystemServiceManager.java:211) 12-31 23:07:42.669 2559 2559 E AndroidRuntime: at com.android.server.SystemServer.lambda$startOtherServices$6$SystemServer(SystemServer.java:2294) 12-31 23:07:42.669 2559 2559 E AndroidRuntime: at com.android.server.SystemServer$$ExternalSyntheticLambda4.run(Unknown Source:30) 12-31 23:07:42.669 2559 2559 E AndroidRuntime: at com.android.server.am.ActivityManagerService.systemReady(ActivityManagerService.java:9653) 12-31 23:07:42.669 2559 2559 E AndroidRuntime: at com.android.server.SystemServer.startOtherServices(SystemServer.java:2291) 12-31 23:07:42.669 2559 2559 E AndroidRuntime: at com.android.server.SystemServer.run(SystemServer.java:608) 12-31 23:07:42.669 2559 2559 E AndroidRuntime: at com.android.server.SystemServer.main(SystemServer.java:424) 12-31 23:07:42.669 2559 2559 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 12-31 23:07:42.669 2559 2559 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592) 12-31 23:07:42.669 2559 2559 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:925) 12-31 23:07:42.669 2559 2559 E AndroidRuntime: Caused by: java.lang.IllegalArgumentException: Unknown package: com.google.android.inputmethod.latin 12-31 23:07:42.669 2559 2559 E AndroidRuntime: at com.android.server.pm.PackageManagerService.getApplicationEnabledSetting(PackageManagerService.java:21539) 12-31 23:07:42.669 2559 2559 E AndroidRuntime: at com.android.server.inputmethod.InputMethodUtils.setDisabledUntilUsed(InputMethodUtils.java:681) 12-31 23:07:42.669 2559 2559 E AndroidRuntime: at com.android.server.inputmethod.InputMethodUtils.setNonSelectedSystemImesDisabledUntilUsed(InputMethodUtils.java:673) 12-31 23:07:42.669 2559 2559 E AndroidRuntime: at com.android.server.inputmethod.InputMethodManagerService.systemRunning(InputMethodManagerService.java:1913) 12-31 23:07:42.669 2559 2559 E AndroidRuntime: at com.android.server.inputmethod.InputMethodManagerService$Lifecycle.onBootPhase(InputMethodManagerService.java:1636) 12-31 23:07:42.669 2559 2559 E AndroidRuntime: at com.android.server.SystemServiceManager.startBootPhase(SystemServiceManager.java:208) 12-31 23:07:42.669 2559 2559 E AndroidRuntime: ... 9 more Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Inspired by looking at few magisk/substratum module :P Signed-off-by: StarkDroid <gamerprince.exp@gmail.com> Signed-off-by: Rahmad Adi Pratama <OhMyVenyx@proton.me>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.