Open
Conversation
[someone5678] * Adapt to current project * Use Settings instead of DeviceConfig as GMS don't likes it Ref: https://gitlab.com/CalyxOS/platform_packages_apps_Settings/-/commit/72db57c966dd996cb7a9106e52a6416c589df92d crdroidandroid/android_packages_apps_Settings@48e00e2 crdroidandroid/android_packages_apps_crDroidSettings@33c49aa crdroidandroid/android_packages_apps_crDroidSettings@bc81eea Issue: calyxos#2208 Change-Id: Ib6b62b5bc97473e192ed3dbdb4feadd868e3bdf7 Signed-off-by: someone5678 <59456192+someone5678@users.noreply.github.com>
This is necessary in order to toggle recent apps from other system apps using platform APIs, which we need for implementing gestures in a modular way. Ref: "core: Expose method to start assistant through Binder" Change-Id: I1664c0618251a525697e73a2de0c8247a71dd27e
Patches required in: - frameworks/base [1/3] - frameworks/opt/telephony [2/3] - packages/apps/settings [3/3] Workflow after this patch: --------------------------------------------------------------------------------------------- Hardware CA | Force LTE_CA Toggle | Code Path | Icon Shows | ------------|---------------------|--------------------------------------------|------------| No | Unset (null) | Returns false | LTE | No | ON (true) | Software-based Forced LTE-CA (mForceLteCA) | LTE+ | No | OFF (false) | Returns mForceLteCA (false) | LTE | Yes | Unset (null) | Returns false | LTE | Yes | ON (true) | Returns mForceLteCA (true) | LTE+ | Yes | OFF (false) | Returns mForceLteCA (false) | LTE | --------------------------------------------------------------------------------------------- Change-Id: Ib8bdf4207fb55b80f829187328ec24ae2bbcdcf0 Signed-off-by: Arindam Bhattacharjee <abhattacharjee717@gmail.com> Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
I don't wanna record a single app and it's so annoying to open the dropdown menu Every. Single. Time. Change-Id: Idef4ec7a7ea76d3fb648dbc4089a9141439bfa2e
Reset to show/hide bouncer when sleeping state change. As dozing signal may be skipped on power button double press. Fixes: 413156280 Test: manual - hit power button twice when on SIM unlock Google: 3618014 Change-Id: I86ef82d5eea537fbd999da6b8759ea73de313806
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Ref: 0329145 Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Test: 1. Create a virtual display from your launcher app. 2. Turn display off by pressing the power button. 3. Run: `adb shell dumpsys power | grep -i mHalAutoSuspendModeEnabled` 4. You should see mHalAutoSuspendModeEnabled=true Change-Id: I773ba8db10973bc3ea3442f5922ba5672a74fbad Signed-off-by: mukesh22584 <mks22584@gmail.com>
* 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 Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com> Change-Id: I57c19a0042083a86e86f2c210288904f6dc87e2c
If DDS is currently not set or invalid, fallback to the first active sub ID if available. This is inline with mobile data QS tile behaviour and can avoid some scenarios where mobile data toggle disappears from the internet dialog. Change-Id: If402feebe2ce01d2f6296acc4bd69594287c0c8e Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Large screen header is used on landscape mode and without this in landscape the status icons don't reappear even after the privacy chip goes away. Change-Id: I206a5d829584f872fbef1739244912d9b5b37813 Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
crash: 10-16 14:49:40.890 1663 1663 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main 10-16 14:49:40.890 1663 1663 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke interface method 'android.content.SharedPreferences$Editor android.content.SharedPreferences.edit()' on a null object reference 10-16 14:49:40.890 1663 1663 E AndroidRuntime: at com.android.server.display.AutoAODService$SettingsObserver.onChange(AutoAODService.java:220) 10-16 14:49:40.890 1663 1663 E AndroidRuntime: at android.database.ContentObserver.onChange(ContentObserver.java:184) 10-16 14:49:40.890 1663 1663 E AndroidRuntime: at android.database.ContentObserver.onChange(ContentObserver.java:202) 10-16 14:49:40.890 1663 1663 E AndroidRuntime: at android.database.ContentObserver.onChange(ContentObserver.java:224) 10-16 14:49:40.890 1663 1663 E AndroidRuntime: at android.database.ContentObserver.onChange(ContentObserver.java:236) 10-16 14:49:40.890 1663 1663 E AndroidRuntime: at android.database.ContentObserver.lambda$dispatchChange$1(ContentObserver.java:332) 10-16 14:49:40.890 1663 1663 E AndroidRuntime: at android.database.ContentObserver.$r8$lambda$_30FqRqKC3pUku8T3BsVPQAFotM(Unknown Source:0) 10-16 14:49:40.890 1663 1663 E AndroidRuntime: at android.database.ContentObserver$$ExternalSyntheticLambda1.run(D8$$SyntheticClass:0) 10-16 14:49:40.890 1663 1663 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:959) 10-16 14:49:40.890 1663 1663 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:100) 10-16 14:49:40.890 1663 1663 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:232) 10-16 14:49:40.890 1663 1663 E AndroidRuntime: at android.os.Looper.loop(Looper.java:317) 10-16 14:49:40.890 1663 1663 E AndroidRuntime: at com.android.server.SystemServer.run(SystemServer.java:981) 10-16 14:49:40.890 1663 1663 E AndroidRuntime: at com.android.server.SystemServer.main(SystemServer.java:665) 10-16 14:49:40.890 1663 1663 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 10-16 14:49:40.890 1663 1663 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580) 10-16 14:49:40.890 1663 1663 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:864) Signed-off-by: minaripenguin <minaripenguin@users.noreply.github.com> Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Other (system) apps can use this to perform specific tasks, such as for DOZE state.
Change-Id: I2c62767a60db58e3999de65fbf506e5cc137e28e
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
* instead of trigerring errnoexception, check if the file or directory exists first , otherwise perform a early return so we can skip the following exception below 12-16 13:05:46.592 1438 1438 E BootReceiver: Could not open /sys/kernel/tracing/instances/bootreceiver/trace_pipe 12-16 13:05:46.592 1438 1438 E BootReceiver: android.system.ErrnoException: open failed: ENOENT (No such file or directory) 12-16 13:05:46.592 1438 1438 E BootReceiver: at libcore.io.Linux.open(Native Method) 12-16 13:05:46.592 1438 1438 E BootReceiver: at libcore.io.ForwardingOs.open(ForwardingOs.java:563) 12-16 13:05:46.592 1438 1438 E BootReceiver: at libcore.io.BlockGuardOs.open(BlockGuardOs.java:274) 12-16 13:05:46.592 1438 1438 E BootReceiver: at android.system.Os.open(Os.java:494) 12-16 13:05:46.592 1438 1438 E BootReceiver: at com.android.server.BootReceiver.onReceive(BootReceiver.java:162) 12-16 13:05:46.592 1438 1438 E BootReceiver: at android.app.ActivityThread.handleReceiver(ActivityThread.java:4336) 12-16 13:05:46.592 1438 1438 E BootReceiver: at android.app.ActivityThread.-$$Nest$mhandleReceiver(Unknown Source:0) 12-16 13:05:46.592 1438 1438 E BootReceiver: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2154) 12-16 13:05:46.592 1438 1438 E BootReceiver: at android.os.Handler.dispatchMessage(Handler.java:106) 12-16 13:05:46.592 1438 1438 E BootReceiver: at android.os.Looper.loopOnce(Looper.java:201) 12-16 13:05:46.592 1438 1438 E BootReceiver: at android.os.Looper.loop(Looper.java:288) 12-16 13:05:46.592 1438 1438 E BootReceiver: at com.android.server.SystemServer.run(SystemServer.java:982) 12-16 13:05:46.592 1438 1438 E BootReceiver: at com.android.server.SystemServer.main(SystemServer.java:667) 12-16 13:05:46.592 1438 1438 E BootReceiver: at java.lang.reflect.Method.invoke(Native Method) 12-16 13:05:46.592 1438 1438 E BootReceiver: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:553) 12-16 13:05:46.592 1438 1438 E BootReceiver: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:924) Signed-off-by: minaripenguin <minaripenguin@users.noreply.github.com> Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Change-Id: Ia9864a45551e969abaccd351e8b6d65e21d99165 Signed-off-by: Pulkit077 <pulkitagarwal2k1@gmail.com> Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
some UI stress (or sleep on UI thread) causes a crash from DESTROY_TIMEOUT_MSG. The steps that crash the app are: 1. build two activities ,such as A and B; 2. A start B; 3. B(oncreate) start A use FLAG_ACTIVITY_CLEAR_TOP; 4. B(oncreate) stall UI thread (Thread.sleep, heavy task) 5. crash tring to handleLaunchActivity or handleResumeActivity Bug: 128469605 Test: manual - write an app to jump between two activities, then Thread.sleep(); Change-Id: I4027dfc0cf3878c12964cabee54ad82bc108d79c Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Change-Id: Ic19fe142be51fad4bbf7e29168c6e33c9ab1809b Signed-off-by: rmp22 <195054967+rmp22@users.noreply.github.com> Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Fixes notch hide overlay on some devices
commit 5481d59996b34cda1cb6b680af7510fee7b53b42
Author: daniml3 <danimoral1001@gmail.com>
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 <danimoral1001@gmail.com>
Change-Id: I1316c61280dadc30a86f2ae72559437a61dd4616
Co-authored-by: daniml3 <danimoral1001@gmail.com>
Change-Id: I5a049099ab375833f1e5ebbda49dc36c3c0b0a68
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Based on: ezio84/abc_frameworks_base@62537d0 [neobuddy89] * Code clean up, optimization and disabled by default. * Adapted for Android 11 [jhenrique09] * Remove check for keyguard if advanced restart is enabled Change-Id: I668b36669905bbc664e3a3a4244f5235dde11881 Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Bug: 303823820 Test:adb shell device_config put activity_manager max_cached_processes 2147483647;adb reboot Change-Id: I3f18b56386cd9cf597a574d61d28be4049bbf646 Signed-off-by: huyuxin <huyuxin@xiaomi.com> Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
* No QCOM devices has value above 128. Let's prevent devices misusing device config or overlay to modify no. of cached processes. * Shorter time to kill empty app processes. Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
* Pulled from CAF Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Persistent app compaction broken, fix by only do oom adj throttle check for APP compact type CRs-Fixed: 3453069 Change-Id: I2dc0ea5aca0b36fd09e71942fdd0f3eafdac2eec Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
CRs-Fixed: 3858822 Change-Id: I6f06176d8e5e40a5fd2afb53b9417005f2e26b2a Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
During system compaction, mark File pages as MADVISE_PAGEOUT instead of MADVISE_COLD. This will drop clean pages and swap-out file pages mapped as private. This improves the bootup free memory. CRs-Fixed: 3365547 Change-Id: I1311126d8fd551c48599e160360122c05cc8ea02 Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
[neobuddy89: Drop experimental stuff.] Change-Id: I67d917630fbbba8c72bb94d0cd96ee2de1d71165 Signed-off-by: rmp22 <195054967+rmp22@users.noreply.github.com> Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Change-Id: I27277ae924f3563ee56a323804ba41e64e317731 Signed-off-by: rmp22 <195054967+rmp22@users.noreply.github.com> Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Change-Id: If1ed8a9a02c190ba9fb056c093c21b8b91c85161 Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
* Make it safer with proc lock block. * Exclude important foreground states. * Compact all non-zygote processes while at it. Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
This file contains hidden or 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
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.