-
Notifications
You must be signed in to change notification settings - Fork 120
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
Some commit from Pixel experience tree #139
base: thirteen
Are you sure you want to change the base?
Commits on Jul 19, 2023
-
SystemUI: Statusbar icon layout improvements
Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c8ec82d - Browse repository at this point
Copy the full SHA c8ec82dView commit details -
SystemUI: Mark colorBackgroundDrawable as protected
Change-Id: I39db23cc358fc38c31773ef2110c0cfbfb0569a6 Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 26ffc9d - Browse repository at this point
Copy the full SHA 26ffc9dView commit details -
SettingsLib: Use framework resource for headline font
We overlay default font via framework RRO so partially revert change [1] by google. This fixes headlines being stuck to roboto in settings app. [1]: https://android.googlesource.com/platform/frameworks/base/+/a0b44f11509ebdc9d1bfc328e0b908a4a6e886b6%5E%21/ Change-Id: I18a04454acc85c31f993d0aaa906919048004790 Reviewed-on: https://review.statixos.com/c/android_frameworks_base/+/8480 Reviewed-by: Sourajit Karmakar <[email protected]> Tested-by: Sourajit Karmakar <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d5a97a5 - Browse repository at this point
Copy the full SHA d5a97a5View commit details -
Deprioritize important developer notifications
Informing the user that ADB is enabled does not necessitate an alert sound. It's especially annoying with the default AOSP notification sound, but even with a less distracting sound, this doesn't need to be so intrusive. Change-Id: Idee92b44cff2473a3686a2f2d95c6f5e4e91c2f8 Reviewed-on: https://review.statixos.com/c/android_frameworks_base/+/5668 Reviewed-by: Sourajit Karmakar <[email protected]> Tested-by: Sourajit Karmakar <[email protected]> Reviewed-on: https://review.statixos.com/c/android_frameworks_base/+/7146 Reviewed-by: Anay Wadhera <[email protected]> Tested-by: Anay Wadhera <[email protected]> Reviewed-on: https://review.statixos.com/c/android_frameworks_base/+/8667 Reviewed-by: Sourajit Karmakar <[email protected]> Tested-by: Sourajit Karmakar <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 457d8be - Browse repository at this point
Copy the full SHA 457d8beView commit details -
ThemedResourceCache: Replace ArrayMap with HashMap for performance
When opening and closing activities in Settings, a significant amount of CPU time is spent looking up ArrayMap entries, as reported by simpleperf: 0.12% /system/framework/arm64/boot-framework.oat android.util.ArrayMap.binarySearchHashes ThemedResourceCache is responsible for a significant portion of the time spent in ArrayMap lookups: 0.08% 0.08% /system/framework/arm64/boot-framework.oat android.util.ArrayMap.binarySearchHashes | -- android.util.ArrayMap.binarySearchHashes | --50.00%-- android.util.ArrayMap.indexOf | |--36.71%-- android.util.ArrayMap.get | |--0.87%-- [hit in function] | | | |--9.64%-- android.content.res.ThemedResourceCache.getThemedLocked | | android.content.res.ThemedResourceCache.get | | | | | |--77.92%-- android.content.res.DrawableCache.getInstance | | | android.content.res.ResourcesImpl.loadDrawable | | | android.content.res.Resources.loadDrawable | | | android.content.res.TypedArray.getDrawableForDensity | | | android.content.res.Resources.getColor [DEDUPED] | | | | | | | |--62.94%-- android.view.View.<init> | | | | | | | | | |--64.58%-- android.view.ViewGroup.<init> | | | | | android.widget.LinearLayout.<init> | | | | | android.widget.LinearLayout.<init> | | | | | art_quick_invoke_stub | | | | | art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*) | | | | | art::InvokeConstructor(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::ObjPtr<art::mirror::Object>, _jobject*) | | | | | art::Constructor_newInstance0(_JNIEnv*, _jobject*, _jobjectArray*) | | | | | art_jni_trampoline | | | | | java.lang.reflect.Constructor.newInstance | | | | | android.view.LayoutInflater.createView | | | | | com.android.internal.policy.PhoneLayoutInflater.onCreateView | | | | | android.view.LayoutInflater.onCreateView | | | | | android.view.LayoutInflater.onCreateView | | | | | android.view.LayoutInflater.createViewFromTag | | | | | android.view.LayoutInflater.inflate | | | | | android.view.LayoutInflater.inflate | | | | | | | | | --35.42%-- android.widget.TextView.<init> | | | | android.widget.Button.<init> | | | | art_quick_invoke_stub | | | | art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*) | | | | art::InvokeConstructor(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::ObjPtr<art::mirror::Object>, _jobject*) | | | | art::Constructor_newInstance0(_JNIEnv*, _jobject*, _jobjectArray*) | | | | art_jni_trampoline | | | | java.lang.reflect.Constructor.newInstance | | | | android.view.LayoutInflater.createView | | | | com.android.internal.policy.PhoneLayoutInflater.onCreateView | | | | android.view.LayoutInflater.onCreateView | | | | android.view.LayoutInflater.onCreateView | | | | android.view.LayoutInflater.createViewFromTag | | | | android.view.LayoutInflater.rInflate | | | | android.view.LayoutInflater.rInflate | | | | android.view.LayoutInflater.rInflate | | | | android.view.LayoutInflater.inflate | | | | android.view.LayoutInflater.inflate | | | | android.view.LayoutInflater.inflate | | | | | | | --37.06%-- com.android.internal.widget.ToolbarWidgetWrapper.<init> | | | | | --22.08%-- android.content.res.ConfigurationBoundResourceCache.get | | android.content.res.ConfigurationBoundResourceCache.getInstance | | android.content.res.ResourcesImpl.loadComplexColorFromName | | android.content.res.ResourcesImpl.loadColorStateList | | android.content.res.Resources.loadColorStateList | | android.content.res.TypedArray.getColorStateList | | android.widget.TextView.readTextAppearance | | android.widget.TextView.setTextAppearance | | android.widget.TextView.setTextAppearance | | android.widget.Toolbar.setTitle | | com.android.wifi.x.com.android.internal.util.StateMachine$SmHandler.handleMessage | | android.view.SurfaceControl.copyFrom Empirical testing reveals that mThemedEntries usually contains around 14 entries, at which HashMap is 35% faster than ArrayMap for lookups and 54% faster [1] for insertions. The increased memory usage should be negligible at this size, so we can safely convert the map to a HashMap in order to improve performance in this hotpath. [1] https://docs.google.com/spreadsheets/d/136UJS2yVlZyPx30KDNgj4AWldkp9xbzIcWkLFj9RGgk/edit Test: simpleperf record -a; verify that ThemedResourceCache no longer appears under ArrayMap.binarySearchHashes Change-Id: I39e1c4b03fe0e60f933f02e253d2d3c4a483146f Reviewed-on: https://review.statixos.com/c/android_frameworks_base/+/6195 Reviewed-by: Anay Wadhera <[email protected]> Tested-by: Anay Wadhera <[email protected]> Reviewed-on: https://review.statixos.com/c/android_frameworks_base/+/7159 Reviewed-on: https://review.statixos.com/c/android_frameworks_base/+/8668 Reviewed-by: Sourajit Karmakar <[email protected]> Tested-by: Sourajit Karmakar <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b6fc84f - Browse repository at this point
Copy the full SHA b6fc84fView commit details -
LocalServices: Replace ArrayMap with HashMap for performance
When opening and closing activities in Settings, a significant amount of CPU time is spent looking up ArrayMap entries, as reported by simpleperf: 0.12% /system/framework/arm64/boot-framework.oat android.util.ArrayMap.binarySearchHashes LocalServices is responsible for a significant portion of the time spent in ArrayMap lookups: 0.08% 0.08% /system/framework/arm64/boot-framework.oat android.util.ArrayMap.binarySearchHashes | -- android.util.ArrayMap.binarySearchHashes | --50.00%-- android.util.ArrayMap.indexOf | |--36.71%-- android.util.ArrayMap.get | |--0.87%-- [hit in function] | | | |--6.12%-- com.android.server.LocalServices.getService | | | | | |--42.41%-- com.android.server.inputmethod.InputMethodManagerInternal.get [DEDUPED] | | | com.android.server.wm.-$$Lambda$DisplayContent$-xtu90EUfC_AM8Qe5g8vDDI07_E.run | | | android.os.Handler.dispatchMessage | | | android.os.Looper.loop | | | android.os.HandlerThread.run | | | com.android.server.ServiceThread.run | | | art_quick_invoke_stub | | | art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*) | | | art::JValue art::InvokeVirtualOrInterfaceWithJValues<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, jvalue const*) | | | art::Thread::CreateCallback(void*) | | | __pthread_start(void*) | | | __start_thread | | | | | |--36.66%-- com.android.server.notification.NotificationManagerService.enqueueNotificationInternal | | | com.android.server.notification.NotificationManagerService.enqueueNotificationInternal | | | com.android.server.notification.NotificationManagerService$10.enqueueNotificationWithTag | | | android.app.INotificationManager$Stub.onTransact | | | android.os.Binder.execTransactInternal | | | android.os.Binder.execTransact | | | art_quick_invoke_stub | | | art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*) | | | art::JValue art::InvokeVirtualOrInterfaceWithVarArgs<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, std::__va_list) | | | art::JValue art::InvokeVirtualOrInterfaceWithVarArgs<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list) | | | art::JNI<false>::CallBooleanMethodV(_JNIEnv*, _jobject*, _jmethodID*, std::__va_list) | | | _JNIEnv::CallBooleanMethod(_jobject*, _jmethodID*, ...) | | | JavaBBinder::onTransact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int) | | | android::BBinder::transact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int) | | | android::IPCThreadState::executeCommand(int) | | | android::IPCThreadState::getAndExecuteCommand() | | | android::IPCThreadState::joinThreadPool(bool) | | | android::PoolThread::threadLoop() | | | android::Thread::_threadLoop(void*) | | | android::AndroidRuntime::javaThreadShell(void*) | | | thread_data_t::trampoline(thread_data_t const*) | | | __pthread_start(void*) | | | __start_thread | | | | | --20.93%-- com.android.server.oemlock.OemLockService.setPersistentDataBlockOemUnlockAllowedBit | | com.android.server.oemlock.OemLockService$2.isOemUnlockAllowed | | android.service.oemlock.IOemLockService$Stub.onTransact | | android.os.Binder.execTransactInternal | | android.os.Binder.execTransact | | art_quick_invoke_stub | | art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*) | | art::JValue art::InvokeVirtualOrInterfaceWithVarArgs<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, std::__va_list) | | art::JValue art::InvokeVirtualOrInterfaceWithVarArgs<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list) | | art::JNI<false>::CallBooleanMethodV(_JNIEnv*, _jobject*, _jmethodID*, std::__va_list) | | _JNIEnv::CallBooleanMethod(_jobject*, _jmethodID*, ...) | | JavaBBinder::onTransact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int) | | android::BBinder::transact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int) | | android::IPCThreadState::executeCommand(int) | | android::IPCThreadState::getAndExecuteCommand() | | android::IPCThreadState::joinThreadPool(bool) | | android::PoolThread::threadLoop() | | android::Thread::_threadLoop(void*) | | android::AndroidRuntime::javaThreadShell(void*) | | thread_data_t::trampoline(thread_data_t const*) | | __pthread_start(void*) | | __start_thread Empirical testing reveals that sLocalServiceObjects usually contains 68 entries, at which HashMap is 47% faster than ArrayMap for lookups and 68% faster [1] for insertions. The increased memory usage should be negligible at this size, so we can safely convert the map to a HashMap in order to improve performance in this hotpath. [1] https://docs.google.com/spreadsheets/d/136UJS2yVlZyPx30KDNgj4AWldkp9xbzIcWkLFj9RGgk/edit Test: simpleperf record -a; verify that LocalServices no longer appears under ArrayMap.binarySearchHashes Change-Id: Ifd1f8b7940eba7723f93a73456470a84d34656ae Reviewed-on: https://review.statixos.com/c/android_frameworks_base/+/6196 Reviewed-by: Anay Wadhera <[email protected]> Tested-by: Anay Wadhera <[email protected]> Reviewed-on: https://review.statixos.com/c/android_frameworks_base/+/7160 Reviewed-on: https://review.statixos.com/c/android_frameworks_base/+/8669 Reviewed-by: Sourajit Karmakar <[email protected]> Tested-by: Sourajit Karmakar <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e8f2296 - Browse repository at this point
Copy the full SHA e8f2296View commit details -
LayoutInflater: Opportunistically create views directly for performance
When opening and closing activities in Settings, a significant amount of CPU time is spent performing JNI calls, as reported by simpleperf: 0.39% /system/framework/arm64/boot-framework.oat art_jni_trampoline Reflection in LayoutInflater is responsible for a significant portion of the time spent in the JNI trampoline: 6.08% 0.08% /apex/com.android.art/javalib/arm64/boot.oat art_jni_trampoline | -- art_jni_trampoline | |--12.38%-- java.lang.reflect.Constructor.newInstance | |--0.09%-- [hit in function] | | | |--88.32%-- android.view.LayoutInflater.createView | | | | | |--83.39%-- com.android.internal.policy.PhoneLayoutInflater.onCreateView | | | android.view.LayoutInflater.onCreateView | | | android.view.LayoutInflater.onCreateView | | | android.view.LayoutInflater.createViewFromTag | | | | | | | |--72.73%-- android.view.LayoutInflater.rInflate | | | | | | | | | |--57.90%-- android.view.LayoutInflater.rInflate | | | | | | | | | | | |--94.90%-- android.view.LayoutInflater.inflate | | | | | | android.view.LayoutInflater.inflate | | | | | | |--35.86%-- [hit in function] | | | | | | | | | | | | | |--58.15%-- androidx.preference.PreferenceGroupAdapter.onCreateViewHolder Empirical testing of interacting with ~113 real-world apps reveals that many of the most frequently-inflated views are framework classes: 13486 android.widget.LinearLayout 6930 android.widget.View 6447 android.widget.FrameLayout 5613 android.widget.ViewStub 5608 androidx.constraintlayout.widget.ConstraintLayout 4722 android.widget.TextView 4431 com.google.android.material.textview.MaterialTextView 3570 eu.faircode.email.FixedTextView 3044 android.widget.ImageView 2665 android.widget.RelativeLayout 1694 android.widget.Space 979 androidx.preference.internal.PreferenceImageView 926 androidx.appcompat.view.menu.ActionMenuItemView 884 androidx.appcompat.widget.AppCompatImageView 855 slack.uikit.components.icon.SKIconView 770 android.widget.ProgressBar 743 com.fastaccess.ui.widgets.FontTextView 541 androidx.recyclerview.widget.RecyclerView 442 androidx.appcompat.widget.AppCompatTextView 404 org.mariotaku.twidere.view.MediaPreviewImageView 393 com.moez.QKSMS.common.widget.QkTextView 382 android.widget.Button 365 slack.widgets.core.textview.ClickableLinkTextView 365 slack.uikit.components.avatar.SKAvatarView 352 com.google.android.libraries.inputmethod.widgets.SoftKeyView 351 com.android.launcher3.BubbleTextView 315 slack.widgets.core.viewcontainer.SingleViewContainer 315 slack.widgets.core.textview.MaxWidthTextView 313 androidx.constraintlayout.widget.Barrier 302 slack.app.ui.widgets.ReactionsLayout 302 slack.app.ui.messages.widgets.MessageLayout 302 slack.app.ui.messages.widgets.MessageHeader 290 com.android.launcher3.views.DoubleShadowBubbleTextView 285 com.android.internal.widget.CachingIconView 265 android.widget.ImageButton 262 androidx.constraintlayout.widget.Guideline 249 org.thoughtcrime.securesms.components.emoji.EmojiTextView 234 com.google.android.libraries.inputmethod.widgets.AutoSizeTextView 232 com.android.internal.widget.RemeasuringLinearLayout 228 android.view.ViewStub 227 android.app.ViewStub 226 android.webkit.ViewStub 221 im.vector.app.core.ui.views.ShieldImageView 219 androidx.constraintlayout.widget.Group 214 androidx.coordinatorlayout.widget.CoordinatorLayout 204 androidx.appcompat.widget.ContentFrameLayout All framework classes seen: 13486 android.widget.LinearLayout 6930 android.widget.View 6447 android.widget.FrameLayout 5613 android.widget.ViewStub 4722 android.widget.TextView 3044 android.widget.ImageView 2665 android.widget.RelativeLayout 1694 android.widget.Space 770 android.widget.ProgressBar 382 android.widget.Button 265 android.widget.ImageButton 228 android.view.ViewStub 227 android.app.ViewStub 226 android.webkit.ViewStub 145 android.widget.Switch 117 android.widget.DateTimeView 86 android.widget.Toolbar 68 android.widget.HorizontalScrollView 67 android.widget.ScrollView 65 android.widget.NotificationHeaderView 65 android.webkit.NotificationHeaderView 65 android.view.NotificationHeaderView 65 android.app.NotificationHeaderView 63 android.webkit.View 63 android.view.View 62 android.app.View 58 android.widget.ListView 50 android.widget.QuickContactBadge 40 android.widget.SeekBar 38 android.widget.CheckBox 16 android.widget.GridLayout 15 android.widget.TableRow 15 android.widget.RadioGroup 15 android.widget.Chronometer 13 android.widget.ViewFlipper 9 android.widget.Spinner 8 android.widget.ViewSwitcher 8 android.widget.TextSwitcher 8 android.widget.SurfaceView 8 android.widget.CheckedTextView 8 android.preference.PreferenceFrameLayout 7 android.widget.TwoLineListItem 5 android.widget.TableLayout 5 android.widget.EditText 3 android.widget.TabWidget 3 android.widget.TabHost 2 android.widget.ZoomButton 2 android.widget.TextureView 2 android.widget.ExpandableListView 2 android.webkit.TextureView 2 android.view.TextureView 2 android.app.TextureView 1 android.widget.WebView 1 android.widget.ViewAnimator 1 android.widget.TextClock 1 android.widget.AutoCompleteTextView 1 android.webkit.WebView 1 android.webkit.SurfaceView 1 android.view.SurfaceView 1 android.app.SurfaceView Unfortunately, replacing reflection with MethodHandle constructors is counter-productive in terms of performance: Constructor direct: create=5 invoke=42 Constructor reflection: create=310 invoke=433 Constructor MethodHandle: create=3283 invoke=3489 Constructor MethodHandle-exact: create=3273 invoke=3453 To reduce the performance impact of slow reflection, we can leverage the fact that the most frequently-inflated classes are from the framework, and hard-code direct constructor references for them in a switch-case block. Reflection will automatically be used as a fallback for custom app views. Test: simpleperf record -a; verify that Constructor.newInstance -> LayoutInflater no longer appears at the top under art_jni_trampoline Change-Id: I8fcc0e05813ff9ecf1eddca3cc6920e747adf4fc Reviewed-on: https://review.statixos.com/c/android_frameworks_base/+/6199 Reviewed-by: Anay Wadhera <[email protected]> Tested-by: Anay Wadhera <[email protected]> Reviewed-on: https://review.statixos.com/c/android_frameworks_base/+/7163 Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e860020 - Browse repository at this point
Copy the full SHA e860020View commit details -
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. Change-Id: I5d967c25bd9c4890549d5d20f5e66b0c6845528c Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 72d200d - Browse repository at this point
Copy the full SHA 72d200dView commit details -
CompanionDeviceManager: This uses the MANAGE_COMPANION_DEVICES permis…
…sion Without this permission, Bluetooth is not very happy when trying to connect to any device. 03-27 18:35:21.465 1876 5717 E CompanionDeviceManagerService: Error during IPC 03-27 18:35:21.465 1876 5717 E CompanionDeviceManagerService: java.lang.SecurityException: getAllAssociationsForUser: uid 1002 does not have android.permission.MANAGE_COMPANION_DEVICES. 03-27 18:35:21.465 1876 5717 E CompanionDeviceManagerService: at android.app.ContextImpl.enforce(ContextImpl.java:2240) Change-Id: I0d545e19b07f42b3c373b5a57a4dfed39447d58a Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f24362b - Browse repository at this point
Copy the full SHA f24362bView commit details -
Improve Transition GC initiation by improving the Frameworks triggering
signal Transition GC should be initiated when the app status transitions into the cached state from a non-cached state. Test: Local testing Bug: 272381448 Change-Id: I483a3ddaa11ed037d32c5481999fd996e2e2629a Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 82150e9 - Browse repository at this point
Copy the full SHA 82150e9View commit details -
Youtube application when moving to PIP animation was very bad
Problem: { 1. Start any new task with activity A 2. From Activity A start new activity B. Finish A. B must be single task. 3. B must be auto pip enabled. ( private final PictureInPictureParams.Builder mPipParamsBuilder = new PictureInPictureParams.Builder() .setAspectRatio(null); setPictureInPictureParams(mPipParamsBuilder.setAutoEnterEnabled(true).build()); ) 4. start activity C from B with flags { Intent intent = new Intent(MainActivity.this, com.example.pip.MainActivity.class); intent.addFlags(FLAG_ACTIVITY_BROUGHT_TO_FRONT | Intent.FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS|FLAG_ACTIVITY_PREVIOUS_IS_TOP); startActivity(intent); } 5. B will move to PIP. 6. Now press back key on C. 7. Now open recents. 8. Try to open same app. 9. App will automatically close } Solution: { 1. there are 2 tasks. One is PIP task and one is its parent task, in which dialog is opened. 2. Parent task has a variable mPipChildActiivty which points to PIP activity and 3. PIP task mLastParentBeforePip which points to Parent task. Both works in pairs 4. But in this issue parent task is removed. 5. But the mPipChildActiivty and mLastParentBeforePip are not dereferenced. 6. Dereference the both variables when task is removed. } Bug: 265123000 Change-Id: Iccb6a101b6631eb6bc265ca30a299ced2ee2f5dd Signed-off-by: pioush.kumar-IN009423 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 98c7bc3 - Browse repository at this point
Copy the full SHA 98c7bc3View commit details -
Fix the pip bounds error when entering pip mode.
Ignore the motion event When the pip entry animation is waiting to be started Bug: 269007413 Test: Manual test Change-Id: I462f16b19689de52f567f15b90e1f71c0e87f4fc Signed-off-by: buwenjing <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 351a55a - Browse repository at this point
Copy the full SHA 351a55aView commit details -
[BugFix]Fix NPE when pip onAnimationEnd
issue: 252105539 Signed-off-by: wangdongdong6 <[email protected]> Change-Id: Id577190f8a50e0ee447bad97f631ae194ad47f2c Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1c6aea2 - Browse repository at this point
Copy the full SHA 1c6aea2View commit details -
System crash during dismissing split in multi-user scenario
Problem: { 1. Switch to guest user or any other user. 2. Open any Settings and any other app in split 3. Switch any language in the settings 3. Try to dismiss split. Crash will happen in system } Solution: { 1. Fixing AOSP logic to make application with uid equals to system in multi-user scenario. 2. So as a result mIsActivityConfigOverrideAllowed is false. 3. So Process's configuration is not changed which will eventually does not effect whole configuration. } Bug: 262486679 Change-Id: I8f078f41ca0fd4dbde71407efe395c7376b337d8 Signed-off-by: pioush.kumar-IN009423 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d18f7b2 - Browse repository at this point
Copy the full SHA d18f7b2View commit details -
Activity not finishing even after pressing back key
Problem: { 1. Start any new task with activity A 2. Start Activity B that is in new process but must not occludes parent. 3. Then start activity C in same process of A. 4. All three must be in same task. 5. Now press back key. 6. C must override finishAfterTransition and calls API covertToTranslucent 7. Observe below activity window is shown, but not resume and above activity is not visible but it is still resumed. } Solution: { 1. Get below activity in task that is in same process. 2. Set for both below one and for below activity in same process } Bug: 273901491 Signed-off-by: pioush.kumar-IN009423 <[email protected]> Change-Id: I25e5d387a3f5fa91520d0d63a7844d7ed009c756 Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b8d89cc - Browse repository at this point
Copy the full SHA b8d89ccView commit details -
Problem: { 1. Sometime ActivityRecordInputSink does not move to the same display as like it's parent ActivityRecord 2. Due to which touch events does not work for the device } Solution: { 1. During onDisplayChanged update the ActivityRecordInputSink's inputHandle's display ID } Bug: 268301238 Signed-off-by: pioush.kumar-IN009423 <[email protected]> Change-Id: Ia0361fd98e9ff7128153ff664825fd62c5ca6258 Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c51f075 - Browse repository at this point
Copy the full SHA c51f075View commit details -
Shrink by 0.5 for YUV TextViews
Matches the behavior of PixelCopy/Readback.cpp Bug: 248949805 Test: build Change-Id: I82f34ba4d8eebf98e61670a88d9f8e427918087c Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d94e60a - Browse repository at this point
Copy the full SHA d94e60aView commit details -
Only create clip bound object when RenderNode is not quick rejected
These three objects are only used when we really draw the node, so don't create them if node has been quick rejected. Test: TBD Change-Id: Iae3f7a5d9c49aafd8ce3ede09b4093a2146d6568 Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a2c1c25 - Browse repository at this point
Copy the full SHA a2c1c25View commit details -
Fix erroneous self deletion on SkImage creation failure
TL;DR: Skia should always call releaseProc, and maybe sooner than we thought. There are multiple scenarios where SkImage:MakeFromTexture will fail, returning a nullptr and calling releaseProc due to a RefCntedCallback falling out of scope. Previously this could cause mUsageCount to fall to 0, resulting in the AutoBackendTextureRelease deleting itself even though DeferredLayerUpdater owned a ref and expected it to still exist. Also added logging for some reasons that could cause the later call to MakeFromTexture to fail. Bug: b/246831853 Test: hwui_unit_tests Change-Id: I7fd2566b9a85fe286f72b0fc42eba5450cac69b0 Merged-In: I7fd2566b9a85fe286f72b0fc42eba5450cac69b0 Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bd8733a - Browse repository at this point
Copy the full SHA bd8733aView commit details -
Add null pointer check to avoid system crash.
Add null pointer check to avoid system crash. Meet the below crash log during some app operations then app exits. F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x78 F DEBUG : Cause: null pointer dereference F DEBUG : backtrace: F DEBUG : #00 pc 0000000000323858 /system/lib64/libhwui.so (android::uirenderer::DeferredLayerUpdater::apply()+40) F DEBUG : Havoc-OS#1 pc 0000000000323040 /system/lib64/libhwui.so (_ZNSt3__110__function6__funcIZN7android10uirenderer12renderthread13 DrawFrameTask11postAndWaitEvE3$_0NS_9allocatorIS6_EEFvvEEclEv$c1671e 787f244890c877724752face20+416) Bug: b/243310920 Signed-off-by: Jessie Hao <[email protected]> Change-Id: I77226be2bd235852675bb4f7a29589e360269b33 Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 05df549 - Browse repository at this point
Copy the full SHA 05df549View commit details -
Do not kill the server process itself
Change-Id: I47612fbd6764903b119adde0e414093a875e93da Signed-off-by: Bart Van Assche <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0f8b0cc - Browse repository at this point
Copy the full SHA 0f8b0ccView commit details -
[WMS][Bugfix] Fix hang when dumping local window.
Problem: Window dumping uses pipe for transfering data. This may cause IO hang when dumping local window if buffer is full. Solution: Dump local window in IoThread's executor. Bug: 267242455 Test: Manual && Monkey Test Change-Id: I11043a79f03f7f71d0ca1daf8215580535a5d34d Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b3f9efc - Browse repository at this point
Copy the full SHA b3f9efcView commit details -
[WMS][Bugfix] Catch exception when dump local window.
The local window may update its view on its ui thread. Add synchronization in case the window is removing when dumping. Also catch exception for the race condition inside the view. Bug: 270280397 Test: Manual Change-Id: Ic0268ffff9a6a087b9e18340783da0676bf9caee Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for efa801c - Browse repository at this point
Copy the full SHA efa801cView commit details -
WindowProcessController: Fix potential memory leak
Fixes an issue where the WindowProcessController may leak after process death due to still having listeners registered. Now unregisters all listeners when the process record gets removed. Fixes: 273149525 Test: atest WindowProcessControllerTests WindowProcessControllerMapTests Change-Id: I44323f280ed7aa641ab41c4e62a354a4525a4268 Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1ce4fd8 - Browse repository at this point
Copy the full SHA 1ce4fd8View commit details -
[Bugfix]check whitelisted packages exclude nonsystem app
avoid set uninstalled for nonsystem app when first boot Bug:273457409 Change-Id: I77d19122de67869340decaf979b8f08f77070dd0 Test: Build Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 27d50f5 - Browse repository at this point
Copy the full SHA 27d50f5View commit details -
Cleanup and consistency around system server profiling.
The profiling currently works by accident: only because we profile the boot classpath which executes in JIT zygote do we not load system server AOT artifacts. So make the not loading AOT artifacts in system server explicit when the system server is being profild. Test: system server profiling Change-Id: I8d787c8f8524d9d6074dc0f552a856640f11cef0 Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 59393fb - Browse repository at this point
Copy the full SHA 59393fbView commit details -
Treat failure to create a process group as fatal
During process startup, system creates a process group and places the new process in it. If process group creation fails for some reason, the new child process will stay in its parent's group. This poses danger when the child is being frozen because the whole group is affected and its parent is being frozen as well. Considering that the parent of an app is Zygote, freezing it leads to the device becoming unusable. Fix this by treating group creation failure as a fatal error which would prevent the app from starting. When system_server fails to create a process group, it will throw an exception that's not caught and will self-destruct. Bug: 227395690 Test: fake group creation failure and confirm app failure to start Signed-off-by: Suren Baghdasaryan <[email protected]> Change-Id: Ib34b4a100c65a9a2705aaef8e7e32322fbedc531 Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 857fc54 - Browse repository at this point
Copy the full SHA 857fc54View commit details -
Screenshot: Add delete action chip intent
[ghostrider-reborn] updated to android 12, 13 Co-authored-by: Adithya R <[email protected]> Change-Id: Ia55ac91c2db2f44062674a699f8df63c96e1de5c Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 883a784 - Browse repository at this point
Copy the full SHA 883a784View commit details -
Screenshot: Remove text from expanded screenshot chip
- We are running out of space in portrait after 23205: Screenshot: Add delete action chip intent | https://gerrit.aospa.co/c/AOSPA/android_frameworks_base/+/23205 Change-Id: I8967e1c5925701a84bca81d7f15b3d0457c2bb0f Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1b8dcac - Browse repository at this point
Copy the full SHA 1b8dcacView commit details -
[SQUASH] base: Add option to cycle through ringer modes [1/2]
* Settings->System->Gestures->Prevent ringing core: Remove @Systemapi annotation for VOLUME_HUSH_CYCLE. This addition should not be annotated with @Systemapi because it creates an addition that fails the API test in user builds Signed-off-by: rituj <[email protected]> Co-authored-by: Evan Anderson <[email protected]> Change-Id: I334bd165e970665ac5300d387a0ea6745748d3ad Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 626e0b5 - Browse repository at this point
Copy the full SHA 626e0b5View commit details -
SystemUI: Add delete action to screen recorder notification
This reverts commit 6fcdb6b. Change-Id: I125d2aff9b406341a533cbfe80686ee473dd3e88 Signed-off-by: PainKiller3 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c7621b0 - Browse repository at this point
Copy the full SHA c7621b0View commit details -
SystemUI: Dismiss screenshot window on touch outside
This window can be annoying because it blocks content and we have to swipe to dismiss it, which is unintuitive. Change-Id: I72e28b8c6c071b14d5dde419660aeff4c58069fa Signed-off-by: LibXZR <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 45ca23f - Browse repository at this point
Copy the full SHA 45ca23fView commit details -
SystemUI: Dismiss existing screenshot window before new
To make sure the windows won't appear in next screenshot. Change-Id: Ic065816cb1c808540a82383a7f24f1bce0dd6589 Signed-off-by: LibXZR <[email protected]> Signed-off-by: Adithya R <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 44d335b - Browse repository at this point
Copy the full SHA 44d335bView commit details -
Update various corner radiuses to align with AOSP apps
There is a mismatch between some of the UI components in the AOSP apps, such as launcher3 (lpress shortcuts), and some dialogs and such in SystemUI/Settings. This corrects the mismatch. Bug: 216182276 Test: See examples in bug Change-Id: Ie3f6a74ef9d36d36d9ff6be956d37d030c64f12c Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9b4aa26 - Browse repository at this point
Copy the full SHA 9b4aa26View commit details -
Revert "Add an option to force pre-O apps to use full screen aspect r…
…atio" This reverts commit 9772e25. Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ae0454a - Browse repository at this point
Copy the full SHA ae0454aView commit details -
fwb: [1/2] Implement cutout force full screen
Inspired by MIUI and Essential CutoutFullscreenController: Adapted from https://github.com/LineageOS/android_lineage-sdk/blob/lineage-16.0/sdk/src/java/org/lineageos/internal/applications/LongScreen.java [cjh1249131356]: Adapt to A12 Author: Jesse Chan <[email protected]> Date: Sat, 21 Apr 2018 23:45:57 -0700 Add an option to force pre-O apps to use full screen aspect ratio When an app target pre-O releases, the default max aspect ratio is 1.86:1 which leads to ugly black areas on devices that have screens with higher aspect ratio (for example Galaxy S8/S9). This change adds an option to allow users to change aspect ratio for pre-O apps to full screen aspect ratio. Change-Id: I41d5408841593a12443be885e11959bffaebb67b Signed-off-by: cjh1249131356 <[email protected]> Change-Id: Idba39c0594eecb0a43f33fd97368f0e52d0dffbb Signed-off-by: chrisw444 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e1d32db - Browse repository at this point
Copy the full SHA e1d32dbView commit details -
TwilightService: Use temporary TwilightState when location is not ava…
…ilable * sunRise: 6 am * sunSet: 8 pm * Removes dependency from location services, night light/dark mode work irrespective of location being turned on Signed-off-by: rituj <[email protected]> Change-Id: Id442c4e88503990d8161c44462581d15b7d7a098 Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 071ccd8 - Browse repository at this point
Copy the full SHA 071ccd8View commit details -
TwilightService: Save and use last fetched location
Don't just use default time, try with latest fetched location first, if available Change-Id: I55952317eed3b7074b69fa2aa12d5f4b33cbf304 Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cf594da - Browse repository at this point
Copy the full SHA cf594daView commit details -
BatteryStatsService: limit logspam
BatteryStatsService prints info logs from wakeup callback which contaminating logcat. The log message is a fixed message and doesn't add any value. Changed to verbose level instead. Test: Builds Upstream from Meta. Change-Id: I2b97d4476d5810eb6efd603eab714324ee32cefc Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 172c348 - Browse repository at this point
Copy the full SHA 172c348View commit details -
Logspam: Properly handle optional app widgets service
If a service is not present and an exeception is thrown in the SystemServiceRegistry, we log a message and proceed with the null service. Optional feature services, like app widgets, are expected to be missing if not supported. Properly handle the lookup, so no exception that pollutes the logs is emitted for what is normal operation. Test: No exception logged with the app widgets feature disabled Upstream from Meta Change-Id: I1cae4f9188ec47b55d68d7c8208f0da1c6c263b4 Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3ad3117 - Browse repository at this point
Copy the full SHA 3ad3117View commit details -
AppOpsService: Don't log stack traces for isolated processes
AppOpsService logs a stack trace if the package and the UID of the call don't match, which includes a stack trace. Since an isolated process is running under UID that is different from that of the app, it is expected that the package and the UID don't match - this is by design. In this case, a stack trace is not helpful and spams the logs. Therefore, for isolated processes we log a short message. Test: isloated process logs have no stack trace Upstream from Meta Change-Id: Ife7bff103c3a4d1823de92461248451ff313de0e Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6ecd5b1 - Browse repository at this point
Copy the full SHA 6ecd5b1View commit details -
SystemUI: Update Brightness slider UI
Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 022d8a1 - Browse repository at this point
Copy the full SHA 022d8a1View commit details -
fwb: Incall vibration options [1/3]
* This works with google and aosp dialer: ) Change-Id: Id200af53d5a66d00ec1a420379fcff0adea1f874 Change-Id: Ia5f56a5be7b42438cdad4124b5317e75a1e85ed6 Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a48a6ec - Browse repository at this point
Copy the full SHA a48a6ecView commit details -
SystemUI: Implement lockscreen quick unlock
[BigBrother1984 <[email protected]>]: * PasswordTextView QuickUnlock listener functions and method [mydongistiny <[email protected]>]: * Forward port to Android 8 / 10 [SagarMakhar <[email protected]>]: * Forward port to Android 12 [Hikari-no-Tenshi <[email protected]>]: * Make Quick Unlock compatible with long PIN/Password (Idea from OOS) * Use AsyncTask for PIN/Password check. * Restore call on main thread check. [Hernán Castañón <[email protected]>]: * Make it independent of toggle (enabled by default) [Jyotiraditya Panda <[email protected]>]: * Code cleanup and format * Hide Ok button in favour of quick unlock * Move backspace button to right [ghostrider-reborn <[email protected]>]: * Simplify and refactor to use verifyPasswordAndUnlock() * Handle case where password length is not set * Hide backspace button when PIN is empty * Adapt to 12L - thanks to Jyotiraditya Signed-off-by: mydongistiny <[email protected]> Signed-off-by: SagarMakhar <[email protected]> Signed-off-by: Hernán Castañón <[email protected]> Signed-off-by: Jyotiraditya Panda <[email protected]> Co-authored-by: BigBrother1984 <[email protected]> Co-authored-by: Hikari-no-Tenshi <[email protected]> Co-authored-by: Adithya R <[email protected]> Signed-off-by: Adithya R <[email protected]> Change-Id: I1d721ad454fe4a37868071ef978468a12c844a03 Signed-off-by: Jason Edson <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1c36437 - Browse repository at this point
Copy the full SHA 1c36437View commit details -
FeatureFlags: Enable systemui volume panel by default
Enabled, this shows the full volume panel using SystemUIDialog instead of the panel at the bottom of the screen and just looks better. Change-Id: I312423fc6617257276f03b025992cd20feec9df3 Signed-off-by: Jason Edson <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ade9c34 - Browse repository at this point
Copy the full SHA ade9c34View commit details -
SystemUI: Grant READ_PHONE_STATE permission
This adresses the following denial: W/BroadcastQueue(2805): Permission Denial: receiving Intent { act=android.intent.action.PHONE_STATE flg=0x10 (has extras) } to ProcessRecord{80321cb 3026:com.android.systemui/u0a30} (pid=3026, uid=10030) requires android.permission.READ_PHONE_STATE due to sender android (uid 1000) Change-Id: I061ca555f397556e62b7d3a3dab7160dafeeac0b Signed-off-by: spezi77 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b0ceb5a - Browse repository at this point
Copy the full SHA b0ceb5aView commit details -
Set navbar color for device default settings theme
* This style is used by apps like Settings and Launcher. * Keeping navbar as white/black creates mismatch with monet enabled background and it appears different from rest of the screen * Let's match it to background color, so that navbar is also monet themed without divider Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: spezi77 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b9e9953 - Browse repository at this point
Copy the full SHA b9e9953View commit details -
Show Ambient instead of lockscreen on wake gestures [1/2]
Hey Google, please kang only good features by iOS -_-' * Drop soli thingy [spezi77] Moved to Settings.Secure where other doze stuff is. Signed-off-by: Jayant-Deshmukh <[email protected]> Signed-off-by: spezi77 <[email protected]> Change-Id: Icd17d8b7233ecf7ab41584d10649ac65a21df69d Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 506da70 - Browse repository at this point
Copy the full SHA 506da70View commit details -
base: use a double click effect for charging if there is no amplitude…
… control support Signed-off-by: jhonboy121 <[email protected]> Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: spezi77 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 15d7ef8 - Browse repository at this point
Copy the full SHA 15d7ef8View commit details -
Fix action bar font family on material themes
Why not ? Change-Id: I0f2835870f9c08d85384571bbf8f1aecb09a3072 Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: spezi77 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d1414b4 - Browse repository at this point
Copy the full SHA d1414b4View commit details -
SystemUI: CastTile: Open cast settings on long click
And also Get rid of old and unused detail adapter Some other minor improvements Change-Id: Ifbbc6801c9fe28c65c86801d29fb76adf8ddcd95 Signed-off-by: Omkar Chandorkar <[email protected]> Signed-off-by: spezi77 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 18a8fbf - Browse repository at this point
Copy the full SHA 18a8fbfView commit details -
Add button to AppErrorDialog to upload crash information to dogbin
Change-Id: I4cdbd92d1d366563838674cc9f49f3e15b65de56 Signed-off-by: Josh Fox(XlxFoXxlX) <[email protected]> Signed-off-by: Anirudh Gupta <[email protected]> Signed-off-by: SagarMakhar <[email protected]> Signed-off-by: spezi77 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0534e99 - Browse repository at this point
Copy the full SHA 0534e99View commit details -
stop enforcing camera sound for certain carriers
India, Japan and Korea have either industry standards or regulations for phones sold within the country enforcing camera sounds. It's trivially bypassed by taking out the SIM card, using video, using a headset or turning off the volume. It doesn't make sense for us to enforce this. Signed-off-by: spezi77 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ff00118 - Browse repository at this point
Copy the full SHA ff00118View commit details -
Calm down attention service logspam
Change-Id: Ie5f04a7a875d918db9b09f5aa1ed0b0592a1d48c Signed-off-by: Pranav <[email protected]> Signed-off-by: Joey Huab <[email protected]> Signed-off-by: DennySPb <[email protected]> Signed-off-by: spezi77 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 73f3326 - Browse repository at this point
Copy the full SHA 73f3326View commit details -
core: Switch to Hastebin for copying crash logs
Change-Id: I2f0b2ecb87fc48a15860b51562925195166f3d51 Signed-off-by: spezi77 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 613ff7d - Browse repository at this point
Copy the full SHA 613ff7dView commit details -
Camera: Don't crash when trying to disable shutter sound
08-20 10:10:01.767 2210 2494 E FlashlightController: Couldn't initialize. 08-20 10:10:01.767 2210 2494 E FlashlightController: java.lang.RuntimeException: Camera is being used after Camera.release() was called 08-20 10:10:01.767 2210 2494 E FlashlightController: at android.hardware.Camera._enableShutterSound(Native Method) 08-20 10:10:01.767 2210 2494 E FlashlightController: at android.hardware.Camera.updateAppOpsPlayAudio(Camera.java:1833) 08-20 10:10:01.767 2210 2494 E FlashlightController: at android.hardware.Camera.initAppOps(Camera.java:629) 08-20 10:10:01.767 2210 2494 E FlashlightController: at android.hardware.Camera.<init>(Camera.java:606) 08-20 10:10:01.767 2210 2494 E FlashlightController: at android.hardware.Camera.getEmptyParameters(Camera.java:2214) 08-20 10:10:01.767 2210 2494 E FlashlightController: at android.hardware.camera2.legacy.LegacyMetadataMapper.createCharacteristics(LegacyMetadataMapper.java:151) 08-20 10:10:01.767 2210 2494 E FlashlightController: at android.hardware.camera2.CameraManager.getCameraCharacteristics(CameraManager.java:274) 08-20 10:10:01.767 2210 2494 E FlashlightController: at com.android.systemui.statusbar.policy.FlashlightControllerImpl.getCameraId(FlashlightControllerImpl.java:146) 08-20 10:10:01.767 2210 2494 E FlashlightController: at com.android.systemui.statusbar.policy.FlashlightControllerImpl.tryInitCamera(FlashlightControllerImpl.java:72) 08-20 10:10:01.767 2210 2494 E FlashlightController: at com.android.systemui.statusbar.policy.FlashlightControllerImpl.addCallback(FlashlightControllerImpl.java:120) 08-20 10:10:01.767 2210 2494 E FlashlightController: at com.android.systemui.statusbar.policy.FlashlightControllerImpl.addCallback(FlashlightControllerImpl.java:40) 08-20 10:10:01.767 2210 2494 E FlashlightController: at com.android.systemui.qs.tiles.FlashlightTile.handleSetListening(FlashlightTile.java:59) 08-20 10:10:01.767 2210 2494 E FlashlightController: at com.android.systemui.qs.tileimpl.QSTileImpl.handleSetListeningInternal(QSTileImpl.java:340) 08-20 10:10:01.767 2210 2494 E FlashlightController: at com.android.systemui.qs.tileimpl.QSTileImpl.access$700(QSTileImpl.java:64) 08-20 10:10:01.767 2210 2494 E FlashlightController: at com.android.systemui.qs.tileimpl.QSTileImpl$H.handleMessage(QSTileImpl.java:475) 08-20 10:10:01.767 2210 2494 E FlashlightController: at android.os.Handler.dispatchMessage(Handler.java:106) 08-20 10:10:01.767 2210 2494 E FlashlightController: at android.os.Looper.loop(Looper.java:193) 08-20 10:10:01.767 2210 2494 E FlashlightController: at android.os.HandlerThread.run(HandlerThread.java:65) Change-Id: I544b62bc9fab1dd19e4aa1fe2cde7c3435ccada8 Signed-off-by: DennySPb <[email protected]> Signed-off-by: spezi77 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b444339 - Browse repository at this point
Copy the full SHA b444339View commit details -
DEBUG: Turn off some debugging we don't need.
Change-Id: I8871101df53e9d63dc0b1987b5f3c0540b5b5759 Signed-off-by: spezi77 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5c0fe43 - Browse repository at this point
Copy the full SHA 5c0fe43View commit details -
Media files take up a lot of spce. Deleting them cuts the size of frameworks almost in half. Change-Id: Ia540bdd22b5de3c141718107df62c3dc491e6cc7 Signed-off-by: Evan Anderson <[email protected]> Signed-off-by: spezi77 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for df2b73c - Browse repository at this point
Copy the full SHA df2b73cView commit details -
base: Remove unnecessary videos
PureNexus Edits: *also remove the makefiles as well since they are useless without the videos Change-Id: I7be80ddfbe5cd5502fbd77467216a5b67ac620c4 Signed-off-by: spezi77 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 89b142d - Browse repository at this point
Copy the full SHA 89b142dView commit details -
Add "android.permission.READ_PHONE_STATE" to manifest
Change-Id: I78d90166635bbdf6b74e2a02efc1029387b4ad8d Signed-off-by: spezi77 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for beed207 - Browse repository at this point
Copy the full SHA beed207View commit details -
Add missing INTERACT_ACROSS_USERS_FULL permission
* DatabaseUtils: java.lang.SecurityException: Permission Denial: get/set setting for user asks to run as user 0 but is calling from user 10; this requires android.permission.INTERACT_ACROSS_USERS_FULL Change-Id: I444dac4c4134e70d0fdd828c64be9ca732d3a195 Signed-off-by: spezi77 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 675490f - Browse repository at this point
Copy the full SHA 675490fView commit details -
Add missing STORAGE_INTERNAL permission for BackupRestoreConfirmation
BackupRestoreConfirmation acitivity does not show 'allow' button, because 'getPasswordType' func check "Manifest.permission.STORAGE_INTERNAL", so add missing STORAGE_INTERNAL permission. Change-Id: Ica631b7edd2529e52d6661cef6ee6e468f1f38ed Signed-off-by: spezi77 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2e388d7 - Browse repository at this point
Copy the full SHA 2e388d7View commit details -
KernelCpuUidTimeReader: Decrease log level on non-debug builds
* It is normal that kernel does not fully support this. Don't panic users on non-debug build. Change-Id: I5004d2b7d4031e924dcca7fd481a1b1788cb7dba Signed-off-by: Pranav <[email protected]> Signed-off-by: jhonboy121 <[email protected]> Signed-off-by: spezi77 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 196cafe - Browse repository at this point
Copy the full SHA 196cafeView commit details -
SystemUI: Show battery level for all devices
There is absolutely no need to restrict it to audio devices If the device doesn't support % it will return a negative value anyway Change-Id: I6745adbe89dd5ad38e856966ef3d61c067dfc55b Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: spezi77 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6d819d6 - Browse repository at this point
Copy the full SHA 6d819d6View commit details -
fix error com.google.android.gms.persistent
11-10 17:26:32.914 2574 2574 E GmsApplication: /system/etc/sysconfig/google.xml must have <allow-in-power-save package="com.google.android.gms"/>. 11-10 17:26:32.919 2574 2574 E GmsApplication: Unable to re-add to doze whitelist 11-10 17:26:32.919 2574 2574 E GmsApplication: java.lang.SecurityException: Calling app u0a106 is not on whitelist 11-10 17:26:32.919 2574 2574 E GmsApplication: at android.os.Parcel.createException(Parcel.java:2071) 11-10 17:26:32.919 2574 2574 E GmsApplication: at android.os.Parcel.readException(Parcel.java:2039) 11-10 17:26:32.919 2574 2574 E GmsApplication: at android.os.Parcel.readException(Parcel.java:1987) 11-10 17:26:32.919 2574 2574 E GmsApplication: at android.app.usage.IUsageStatsManager$Stub$Proxy.whitelistAppTemporarily(IUsageStatsManager.java:995) 11-10 17:26:32.919 2574 2574 E GmsApplication: at android.app.usage.UsageStatsManager.whitelistAppTemporarily(UsageStatsManager.java:1036) 11-10 17:26:32.919 2574 2574 E GmsApplication: at rrc.startService(:com.google.android.gms@[email protected] (120400-271418971):5) 11-10 17:26:32.919 2574 2574 E GmsApplication: at android.content.ContextWrapper.startService(ContextWrapper.java:669) 11-10 17:26:32.919 2574 2574 E GmsApplication: at android.content.ContextWrapper.startService(ContextWrapper.java:669) 11-10 17:26:32.919 2574 2574 E GmsApplication: at android.content.ContextWrapper.startService(ContextWrapper.java:669) 11-10 17:26:32.919 2574 2574 E GmsApplication: at dzh.a(:com.google.android.gms@[email protected] (120400-271418971):11) 11-10 17:26:32.919 2574 2574 E GmsApplication: at dzh.onReceive(:com.google.android.gms@[email protected] (120400-271418971):7) 11-10 17:26:32.919 2574 2574 E GmsApplication: at qlz.onReceive(:com.google.android.gms@[email protected] (120400-271418971):8) 11-10 17:26:32.919 2574 2574 E GmsApplication: at android.app.ActivityThread.handleReceiver(ActivityThread.java:3788) 11-10 17:26:32.919 2574 2574 E GmsApplication: at android.app.ActivityThread.access$1400(ActivityThread.java:219) 11-10 17:26:32.919 2574 2574 E GmsApplication: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1870) 11-10 17:26:32.919 2574 2574 E GmsApplication: at android.os.Handler.dispatchMessage(Handler.java:107) 11-10 17:26:32.919 2574 2574 E GmsApplication: at android.os.Looper.loop(Looper.java:214) 11-10 17:26:32.919 2574 2574 E GmsApplication: at android.app.ActivityThread.main(ActivityThread.java:7356) 11-10 17:26:32.919 2574 2574 E GmsApplication: at java.lang.reflect.Method.invoke(Native Method) 11-10 17:26:32.919 2574 2574 E GmsApplication: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494) 11-10 17:26:32.919 2574 2574 E GmsApplication: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930) 11-10 17:26:32.919 2574 2574 E GmsApplication: Caused by: android.os.RemoteException: Remote stack trace: 11-10 17:26:32.919 2574 2574 E GmsApplication: at com.android.server.DeviceIdleController.addPowerSaveTempWhitelistAppDirectInternal(DeviceIdleController.java:2378) 11-10 17:26:32.919 2574 2574 E GmsApplication: at com.android.server.DeviceIdleController.addPowerSaveTempWhitelistAppInternal(DeviceIdleController.java:2360) 11-10 17:26:32.919 2574 2574 E GmsApplication: at com.android.server.DeviceIdleController.addPowerSaveTempWhitelistAppChecked(DeviceIdleController.java:2324) 11-10 17:26:32.919 2574 2574 E GmsApplication: at com.android.server.DeviceIdleController$BinderService.addPowerSaveTempWhitelistApp(DeviceIdleController.java:1561) 11-10 17:26:32.919 2574 2574 E GmsApplication: at com.android.server.usage.UsageStatsService$BinderService.whitelistAppTemporarily(UsageStatsService.java:1334)va:1987) 11-10 17:26:32.919 2574 2574 E GmsApplication: at android.app.usage.IUsageStatsManager$Stub$Proxy.whitelistAppTemporarily(IUsageStatsManager.java:995) 11-10 17:26:32.919 2574 2574 E GmsApplication: at android.app.usage.UsageStatsManager.whitelistAppTemporarily(UsageStatsManager.java:1036) 11-10 17:26:32.919 2574 2574 E GmsApplication: at rrc.startService(:com.google.android.gms@[email protected] (120400-271418971):5) 11-10 17:26:32.919 2574 2574 E GmsApplication: at android.content.ContextWrapper.startService(ContextWrapper.java:669) 11-10 17:26:32.919 2574 2574 E GmsApplication: at android.content.ContextWrapper.startService(ContextWrapper.java:669) 11-10 17:26:32.919 2574 2574 E GmsApplication: at android.content.ContextWrapper.startService(ContextWrapper.java:669) 11-10 17:26:32.919 2574 2574 E GmsApplication: at dzh.a(:com.google.android.gms@[email protected] (120400-271418971):11) 11-10 17:26:32.919 2574 2574 E GmsApplication: at dzh.onReceive(:com.google.android.gms@[email protected] (120400-271418971):7) 11-10 17:26:32.919 2574 2574 E GmsApplication: at qlz.onReceive(:com.google.android.gms@[email protected] (120400-271418971):8) 11-10 17:26:32.919 2574 2574 E GmsApplication: at android.app.ActivityThread.handleReceiver(ActivityThread.java:3788) 11-10 17:26:32.919 2574 2574 E GmsApplication: at android.app.ActivityThread.access$1400(ActivityThread.java:219) 11-10 17:26:32.919 2574 2574 E GmsApplication: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1870) 11-10 17:26:32.919 2574 2574 E GmsApplication: at android.os.Handler.dispatchMessage(Handler.java:107) 11-10 17:26:32.919 2574 2574 E GmsApplication: at android.os.Looper.loop(Looper.java:214) 11-10 17:26:32.919 2574 2574 E GmsApplication: at android.app.ActivityThread.main(ActivityThread.java:7356) 11-10 17:26:32.919 2574 2574 E GmsApplication: at java.lang.reflect.Method.invoke(Native Method) 11-10 17:26:32.919 2574 2574 E GmsApplication: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494) 11-10 17:26:32.919 2574 2574 E GmsApplication: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930) 11-10 17:26:32.919 2574 2574 E GmsApplication: Caused by: android.os.RemoteException: Remote stack trace: 11-10 17:26:32.919 2574 2574 E GmsApplication: at com.android.server.DeviceIdleController.addPowerSaveTempWhitelistAppDirectInternal(DeviceIdleController.java:2378) 11-10 17:26:32.919 2574 2574 E GmsApplication: at com.android.server.DeviceIdleController.addPowerSaveTempWhitelistAppInternal(DeviceIdleController.java:2360) 11-10 17:26:32.919 2574 2574 E GmsApplication: at com.android.server.DeviceIdleController.addPowerSaveTempWhitelistAppChecked(DeviceIdleController.java:2324) 11-10 17:26:32.919 2574 2574 E GmsApplication: at com.android.server.DeviceIdleController$BinderService.addPowerSaveTempWhitelistApp(DeviceIdleController.java:1561) 11-10 17:26:32.919 2574 2574 E GmsApplication: at com.android.server.usage.UsageStatsService$BinderService.whitelistAppTemporarily(UsageStatsService.java:1334) Change-Id: I114fd5ef4ea4d72120b4fd73385f808ae2d7f3a5 Signed-off-by: spezi77 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 372ec53 - Browse repository at this point
Copy the full SHA 372ec53View commit details -
SettingsLib: Fix nav bar color on certain apps
* This is used by multiple apps like DeviceSettings and GameSpace * Follow base theme where we fixed navbar matching background: crdroidandroid/android_frameworks_base@852aad7 Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: spezi77 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1eb5d28 - Browse repository at this point
Copy the full SHA 1eb5d28View commit details -
Change the default value of sync mode to NORMAL
When journal mode is WAL ,the default sync mode is FULL. In Android S when journal mode is WAL,the default sync mode is NORMAL. In the annotation of google it's said when journal mode is WAL, the best sync mode should be NORMAL. Incorrect sync mode cause performance drop. Bug: 246753316 Test: run fs benchmark Change-Id: I8110d66091cd443db9b09f6e8564f9d97f5e7297 Signed-off-by: spezi77 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4dba134 - Browse repository at this point
Copy the full SHA 4dba134View commit details -
fwb: Link more elements to
config_dialogCornerRadius
* for system shapes to be effective Signed-off-by: spezi77 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cf294d8 - Browse repository at this point
Copy the full SHA cf294d8View commit details -
SystemUI: Link style elements to config_dialogCornerRadius
Signed-off-by: spezi77 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c40403d - Browse repository at this point
Copy the full SHA c40403dView commit details -
Permissions: Grant Mediascanner access permissions to external storage
12-13 16:52:37.579 2621 5891 E DatabaseUtils: Writing exception to parcel 12-13 16:52:37.579 2621 5891 E DatabaseUtils: java.lang.SecurityException: Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/audio/media/10579 from pid=1270, uid=1000 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission() 12-13 16:52:37.579 2621 5891 E DatabaseUtils: at android.content.ContentProvider.enforceReadPermissionInner(ContentProvider.java:634) 12-13 16:52:37.579 2621 5891 E DatabaseUtils: at com.android.providers.media.MediaProvider.enforceReadPermissionInner(MediaProvider.java:705) 12-13 16:52:37.579 2621 5891 E DatabaseUtils: at android.content.ContentProvider$Transport.enforceReadPermission(ContentProvider.java:503) 12-13 16:52:37.579 2621 5891 E DatabaseUtils: at android.content.ContentProvider$Transport.enforceFilePermission(ContentProvider.java:494) 12-13 16:52:37.579 2621 5891 E DatabaseUtils: at android.content.ContentProvider$Transport.openFile(ContentProvider.java:371) 12-13 16:52:37.579 2621 5891 E DatabaseUtils: at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:229) 12-13 16:52:37.579 2621 5891 E DatabaseUtils: at android.os.Binder.execTransact(Binder.java:731) Change-Id: I093d544a7cfa755bf9aa1704ebb1cfd2f919325c Signed-off-by: spezi77 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5051bef - Browse repository at this point
Copy the full SHA 5051befView commit details -
SettingsProvider: Resolve package name that requires permission
* Google is confused between developer and magician. It assumed that developer will understand which app is complaining about not having permission using magic wand. * Bonus after this patch - it turned out that Google itself required permission: 04-16 01:35:40.293 W/anzv (3239): java.lang.SecurityException: Permission denial: com.google.android.gms writing to settings requires:android.permission.WRITE_DEVICE_CONFIG Signed-off-by: Pranav Vashi <[email protected]> Change-Id: Ia2721a88116ee46a385e308166aedf78a86dc509 Signed-off-by: spezi77 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f3fbbfb - Browse repository at this point
Copy the full SHA f3fbbfbView commit details -
libs: PipTaskOrganizer: do not start fade out animation for pip if su…
…rfacecontrol leash is null * and here's the stack trace E/AndroidRuntime( 2321): FATAL EXCEPTION: main E/AndroidRuntime( 2321): Process: com.android.systemui, PID: 2321 E/AndroidRuntime( 2321): java.lang.NullPointerException: Attempt to invoke direct method 'void android.view.SurfaceControl.checkNotReleased()' on a null object reference E/AndroidRuntime( 2321): at android.view.SurfaceControl.access$2600(SurfaceControl.java:87) E/AndroidRuntime( 2321): at android.view.SurfaceControl$Transaction.checkPreconditions(SurfaceControl.java:2597) E/AndroidRuntime( 2321): at android.view.SurfaceControl$Transaction.setMatrix(SurfaceControl.java:2907) E/AndroidRuntime( 2321): at android.view.SurfaceControl$Transaction.setMatrix(SurfaceControl.java:2925) E/AndroidRuntime( 2321): at com.android.wm.shell.pip.PipSurfaceTransactionHelper.resetScale(PipSurfaceTransactionHelper.java:173) E/AndroidRuntime( 2321): at com.android.wm.shell.pip.PipAnimationController$PipTransitionAnimator$1.onStartTransaction(PipAnimationController.java:502) E/AndroidRuntime( 2321): at com.android.wm.shell.pip.PipAnimationController$PipTransitionAnimator.onAnimationStart(PipAnimationController.java:282) E/AndroidRuntime( 2321): at android.animation.Animator$AnimatorListener.onAnimationStart(Animator.java:539) E/AndroidRuntime( 2321): at android.animation.ValueAnimator.notifyStartListeners(ValueAnimator.java:1031) E/AndroidRuntime( 2321): at android.animation.ValueAnimator.startAnimation(ValueAnimator.java:1280) E/AndroidRuntime( 2321): at android.animation.ValueAnimator.start(ValueAnimator.java:1082) E/AndroidRuntime( 2321): at android.animation.ValueAnimator.start(ValueAnimator.java:1106) E/AndroidRuntime( 2321): at com.android.wm.shell.pip.PipTaskOrganizer.fadeExistingPip(PipTaskOrganizer.java:829) E/AndroidRuntime( 2321): at com.android.wm.shell.pip.PipTaskOrganizer.onFixedRotationStarted(PipTaskOrganizer.java:789) E/AndroidRuntime( 2321): at com.android.wm.shell.common.DisplayController.onFixedRotationStarted(DisplayController.java:202) E/AndroidRuntime( 2321): at com.android.wm.shell.common.DisplayController.access$400(DisplayController.java:43) E/AndroidRuntime( 2321): at com.android.wm.shell.common.DisplayController$DisplayWindowListenerImpl.lambda$onFixedRotationStarted$3(DisplayController.java:253) E/AndroidRuntime( 2321): at com.android.wm.shell.common.DisplayController$DisplayWindowListenerImpl.$r8$lambda$B-7e2BwvPJc-rkxPeEPH3nk4V9w(Unknown Source:0) E/AndroidRuntime( 2321): at com.android.wm.shell.common.DisplayController$DisplayWindowListenerImpl$$ExternalSyntheticLambda3.run(Unknown Source:6) E/AndroidRuntime( 2321): at android.os.Handler.handleCallback(Handler.java:938) E/AndroidRuntime( 2321): at android.os.Handler.dispatchMessage(Handler.java:99) E/AndroidRuntime( 2321): at android.os.Looper.loopOnce(Looper.java:201) E/AndroidRuntime( 2321): at android.os.Looper.loop(Looper.java:288) E/AndroidRuntime( 2321): at android.app.ActivityThread.main(ActivityThread.java:7840) E/AndroidRuntime( 2321): at java.lang.reflect.Method.invoke(Native Method) E/AndroidRuntime( 2321): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:550) E/AndroidRuntime( 2321): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003) Signed-off-by: jhonboy121 <[email protected]> Signed-off-by: spezi77 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b70f7fe - Browse repository at this point
Copy the full SHA b70f7feView commit details -
SettingsProvider: Handle WRITE_DEVICE_CONFIG permission denial for gms
Signed-off-by: cjh1249131356 <[email protected]> Signed-off-by: spezi77 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0be55bc - Browse repository at this point
Copy the full SHA 0be55bcView commit details -
QSPanel: Fix NPE in updateViewPositions()
Log: 03-29 12:29:10.729 D/AndroidRuntime(11908): Shutting down VM 03-29 12:29:10.730 E/AndroidRuntime(11908): FATAL EXCEPTION: main 03-29 12:29:10.730 E/AndroidRuntime(11908): Process: com.android.systemui, PID: 11908 03-29 12:29:10.730 E/AndroidRuntime(11908): java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference 03-29 12:29:10.730 E/AndroidRuntime(11908): at com.android.systemui.qs.QSPanel.updateViewPositions(QSPanel.java:294) 03-29 12:29:10.730 E/AndroidRuntime(11908): at com.android.systemui.qs.QSPanel.setSquishinessFraction(QSPanel.java:225) 03-29 12:29:10.730 E/AndroidRuntime(11908): at com.android.systemui.qs.QSPanelControllerBase.setSquishinessFraction(QSPanelControllerBase.java:152) 03-29 12:29:10.730 E/AndroidRuntime(11908): at com.android.systemui.qs.QSSquishinessController.updateSquishiness(QSSquishinessController.kt:32) 03-29 12:29:10.730 E/AndroidRuntime(11908): at com.android.systemui.qs.QSSquishinessController.setSquishiness(QSSquishinessController.kt:25) 03-29 12:29:10.730 E/AndroidRuntime(11908): at com.android.systemui.qs.QSFragment.setQsExpansion(QSFragment.java:575) 03-29 12:29:10.730 E/AndroidRuntime(11908): at com.android.systemui.statusbar.phone.NotificationPanelViewController.updateQsExpansion(NotificationPanelViewController.java:2330) 03-29 12:29:10.730 E/AndroidRuntime(11908): at com.android.systemui.statusbar.phone.NotificationPanelViewController.setQsExpansion(NotificationPanelViewController.java:2300) 03-29 12:29:10.730 E/AndroidRuntime(11908): at com.android.systemui.statusbar.phone.NotificationPanelViewController.closeQs(NotificationPanelViewController.java:1641) 03-29 12:29:10.730 E/AndroidRuntime(11908): at com.android.systemui.statusbar.phone.NotificationPanelViewController.resetViews(NotificationPanelViewController.java:1601) 03-29 12:29:10.730 E/AndroidRuntime(11908): at com.android.systemui.statusbar.phone.StatusBarKeyguardViewManager.reset(StatusBarKeyguardViewManager.java:563) 03-29 12:29:10.730 E/AndroidRuntime(11908): at com.android.systemui.statusbar.phone.StatusBarKeyguardViewManager.show(StatusBarKeyguardViewManager.java:413) 03-29 12:29:10.730 E/AndroidRuntime(11908): at com.android.systemui.keyguard.KeyguardViewMediator.handleShow(KeyguardViewMediator.java:2089) 03-29 12:29:10.730 E/AndroidRuntime(11908): at com.android.systemui.keyguard.KeyguardViewMediator.access$3300(KeyguardViewMediator.java:179) 03-29 12:29:10.730 E/AndroidRuntime(11908): at com.android.systemui.keyguard.KeyguardViewMediator$6.handleMessage(KeyguardViewMediator.java:1825) 03-29 12:29:10.730 E/AndroidRuntime(11908): at android.os.Handler.dispatchMessage(Handler.java:106) 03-29 12:29:10.730 E/AndroidRuntime(11908): at android.os.Looper.loopOnce(Looper.java:201) 03-29 12:29:10.730 E/AndroidRuntime(11908): at android.os.Looper.loop(Looper.java:288) 03-29 12:29:10.730 E/AndroidRuntime(11908): at android.app.ActivityThread.main(ActivityThread.java:7870) 03-29 12:29:10.730 E/AndroidRuntime(11908): at java.lang.reflect.Method.invoke(Native Method) 03-29 12:29:10.730 E/AndroidRuntime(11908): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) 03-29 12:29:10.730 E/AndroidRuntime(11908): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003) Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: spezi77 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 06dae68 - Browse repository at this point
Copy the full SHA 06dae68View commit details -
SystemUI may crash sometimes in monkey test due to exception. Catch the exception to avoid the crash. Change-Id: I548be5c6465f3c7a81c33d1cfa9b30e7269fd86d Signed-off-by: spezi77 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 939763e - Browse repository at this point
Copy the full SHA 939763eView commit details -
SystemUI: Fix issue that log can't be enabled in MobileSignalController
mTag in MobileSignalController contain "(" and ")", which can't be analyzed by Log.isLoggable,so use DEBUG to control the logs. Bug: 228813927 Test: adb root & adb remount & adb shell "echo 'log.tag.NetworkController=V' >> /system/build.prop" & adb reboot adb logcat -v time *:S NetworkController.MobileSignalController(1) NetworkController.MobileSignalController(2) Change-Id: I97992455c539665b507a4035eea5941d0081e8a9 Signed-off-by: Dmitrii <[email protected]> Signed-off-by: spezi77 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5aa45e5 - Browse repository at this point
Copy the full SHA 5aa45e5View commit details -
SystemUI: Don't force small clock when media isn't allowed on keyguard
test: hide the media player from lockscreen via settings, have the double-line clock enabled, have all notifications dismissed - observe large clock still showing Change-Id: Ic6cfbb8e5f60b69401fc69ca44e2d879b506003d Signed-off-by: spezi77 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 492264f - Browse repository at this point
Copy the full SHA 492264fView commit details -
UI: Follow Monet and light/dark theme in user 1 icon
Change-Id: I755077c6003c39ddc9428da1defe6a6ddd0e5ff8 Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: spezi77 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4acd052 - Browse repository at this point
Copy the full SHA 4acd052View commit details -
LockscreenCharging: squashed (1/3)
needed system/core patch based on: [2/2] frameworks: show charging current & voltage on lockscreen by yank555-lu [2/2]Base: show more battery info on lockscreen when charging by yank555-lu LockscreenCharging: Use double for mChargingVoltage and show as4.XV by xyyx Lockscreen charging: Formatting improvements by nathanchance DennySPb: adapt to A11 idoybh: Add settings value to backup array Change-Id: I42f90b413fd1445ded00cb5769af0ce5faf15c49 Signed-off-by: SagarMakhar <[email protected]> Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: spezi77 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c136da6 - Browse repository at this point
Copy the full SHA c136da6View commit details -
SystemUI: keyguard show charging watt
Change-Id: Ib3ea530b324d786dc5dc4fe80e68fcff2a076680 Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: spezi77 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 170f6b3 - Browse repository at this point
Copy the full SHA 170f6b3View commit details -
Lockscreen charging info: show decimal in battery temperature
Change-Id: I10bbe4df988387c401802475697452796e0afb6d Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: spezi77 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 539d5bc - Browse repository at this point
Copy the full SHA 539d5bcView commit details -
KeyguardIndication: fix fc on lockscreen charging info
* For certain devices https://del.dog/unimenocuc.log Change-Id: If096a9c3b42386a04a06e53e9a156938e281b874 Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: spezi77 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9693a39 - Browse repository at this point
Copy the full SHA 9693a39View commit details -
SystemUI: Add current divider config for lockscreen charging
* Some modern devices measure directly in mA instead uA. * We will let devices specify config_currentInfoDivider to check if uA to mA conversion is required. * Use same divider for wattage calculation. Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: spezi77 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c184a6b - Browse repository at this point
Copy the full SHA c184a6bView commit details -
SystemUI: Limit keyguard charging stats updates
During QC statistics change very fast and causes values to fluctate rapidly on lock screen. Limit update rate to 2s to make it more human readable. Signed-off-by: xNombre <[email protected]> Signed-off-by: Adithya R <[email protected]> Signed-off-by: spezi77 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 115de2e - Browse repository at this point
Copy the full SHA 115de2eView commit details -
Frameworks: Enable VoNR by default
Signed-off-by: spezi77 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 79f7433 - Browse repository at this point
Copy the full SHA 79f7433View commit details -
KeyguardIndication: Fix glitchy charging info on AOD
* This is second fix following 3bfd45371673 * Seems to be AOSP bug. :) Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: spezi77 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4846324 - Browse repository at this point
Copy the full SHA 4846324View commit details -
Fix list style alert dialog to use system font
* e.g. for all ListPreference dialogs Change-Id: I627818a1e4e3cda5f16ab34e4d266410325d416d Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f09238e - Browse repository at this point
Copy the full SHA f09238eView commit details -
Set alert dialog message to use system font
Change-Id: I4a6aa42c5c4277a2d3ecc2847e3395185b655e3b Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 533af2e - Browse repository at this point
Copy the full SHA 533af2eView commit details -
SystemUI: write initial value of SHOW_QR_CODE_SCANNER_SETTING on firs…
…t call and reset only in unregisterDefaultQRCodeScannerObserver so it is in sync with isActivityCallable Change-Id: If4fc2c541d0cee90b49b5769d34adc9d7bffbb02 Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a417059 - Browse repository at this point
Copy the full SHA a417059View commit details -
core: Remove default aspect ratio limit for old apps
I have never encountered a single app that this aspect ratio limit is actually helpful for. Most legacy apps are able to cope with longer aspect ratios fine — perhaps not optimally, but it looks better than having a big black box at the bottom of the screen. Instead of limiting older apps' screen space unconditionally or exposing it in Settings, remove the limit entirely so the user doesn't have to go through the trouble to begin with. Note that apps explicitly declaring a shorter aspect ratio will still get their constraint satisfied. Change-Id: Ic415288b24129a634476b5cc01a6f202588f4b89 Signed-off-by: Adithya <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 28663e4 - Browse repository at this point
Copy the full SHA 28663e4View commit details -
SystemUI: Implement burn-in protection for status/navbar
Devices with OLED display suffer from status-bar's notification items and nagivation bar's software keys causing permanent burn-ins when used long-term. Moving all items in the area both horizontally and vertically workarounds this problem. This new feature can be enabled by setting config_statusBarBurnInProtection to true. The shifting interval can be configured with config_shift_interval. The default shifting interval is 60 seconds. Forward-ported to oreo-mr1. Change-Id: I8df1ebc8bc0f359fe5a6a1fe11aa6201237a7359 SystemUI: rework statusbar burn-in protection controller * Turns out that this controller was instantiated twice resulting in two timers running simultaneously which resulted in views to shift abruptly. Since the shift amount was too low it was not noticeable at all. So now we instantiate it once with all final dependencies and inject PhoneStatusBarView in fragment transaction. * Finalized many instance variables and a reference to the main handler is kept instead of creating new ones in each cycle * simplified / generalised the shift algorithm a bit so that it's easily configurable * added a callback to reload shift vars on screen density changes * additional changes: * use the same controller for navigation handle, saves some cpu time Signed-off-by: jhonboy121 <[email protected]> SystemUI: inject BurnInProtectionController Signed-off-by: jhonboy121 <[email protected]> [jhonboy121]: use the scoped SysUISingleton annotation SystemUI: BurnInProtectionController: rewrite in kotlin and improvements * ditched TimerTask in favor of coroutines Signed-off-by: jhonboy121 <[email protected]> [jhonboy121]: * adapted to A13 * use BurnInHelper util functions for calculating offset [ghostrider-reborn]: * use NavigationBarView directly instead of CentralSurfaces Co-authored-by: jhonboy121 <[email protected]> Signed-off-by: jhonboy121 <[email protected]> Signed-off-by: Adithya R <[email protected]> Change-Id: I067022d43d20f43760a192b43569c31316a5337a Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 85a750c - Browse repository at this point
Copy the full SHA 85a750cView commit details -
SystemUI: Enable statusbar burn-in protection by default
* AOSP already provides a config for burn-in protection so enable statusbar burn-in protection based on that * To forcefully disable it, set config_disableStatusBarBurnInProtection to true Change-Id: I1a0b5c06ed6092153a35cb1cdc12b3b5e865ce8f Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4566552 - Browse repository at this point
Copy the full SHA 4566552View commit details -
SystemUI: BurnInProtectionController: offset less aggressively
Change-Id: Ib37b0fde6edfc34cad8876d2e01ba4f37f323036 Signed-off-by: jhonboy121 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 418459d - Browse repository at this point
Copy the full SHA 418459dView commit details -
base: Allow APK signature scheme v1 for API 30+ apps
F-Droid is currently building app packages with v1 signatures, even if they target API 30 or newer. Change-Id: I42180acc3b3fb28f073f4c19c2cffb44cba4f221 Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7a31d25 - Browse repository at this point
Copy the full SHA 7a31d25View commit details -
StrictMode: Don't enable extra features for userdebug builds
On userdebug builds, StrictMode becomes more invasive and can produce screen flashes when violations are detected. Let's treat userdebug builds the same as user builds and skip the extra StrictMode features for userdebug. Change-Id: Idd9443ac1f5c1db5071e706e013a676c2f179db4 Signed-off-by: spezi77 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3e40cd5 - Browse repository at this point
Copy the full SHA 3e40cd5View commit details -
SystemUI: Fix heads up text alignment on status bar
Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 25ca781 - Browse repository at this point
Copy the full SHA 25ca781View commit details -
SystemUI: Use new privacy indicators for location
Android has had location indicators for a while, but let's use the new privacy indicator infrastructure for displaying them. This makes them integrate better with the new camera and microphone indicators. Change-Id: Ie457bb2dad17bddbf9dc3a818e3ec586023ce918 Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8d2fdfe - Browse repository at this point
Copy the full SHA 8d2fdfeView commit details -
base: Export bodyFontFamily and bodyFontFamilyMedium symbols
* So that they can be used in apps like launcher and settings. Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b2701f2 - Browse repository at this point
Copy the full SHA b2701f2View commit details -
Wire up default fonts with font engine
Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 347de69 - Browse repository at this point
Copy the full SHA 347de69View commit details -
base: Use font configs instead hardcoded fonts
Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6e7e972 - Browse repository at this point
Copy the full SHA 6e7e972View commit details -
base: styles: Use user fonts for Material UI themes
Only using user-selected fonts for a subset of system apps leads to an inconsistent visual experience, so apply them to the system's Material UI themes for consistency. [ghostrider-reborn: revise for android 12] Co-authored-by: Adithya R <[email protected]> Change-Id: Ib0be558530ae101fae2a5c9e05610659a87cbae9 Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 698100f - Browse repository at this point
Copy the full SHA 698100fView commit details -
styles: Use user fonts for Material UI themes
Only using user-selected fonts for a subset of system apps leads to an inconsistent visual experience, so apply them to the system's Material UI themes for consistency. Change-Id: Ib0be558530ae101fae2a5c9e05610659a87cbae9 Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9e557a1 - Browse repository at this point
Copy the full SHA 9e557a1View commit details -
graphics: Override system fonts with user-selected overlays
Only using user-selected fonts for a subset of system apps leads to an inconsistent visual experience. While we've already applied them to the system's Material UI themes, many apps have hard-code references to sans-serif (whether it's through XML styles or Typeface.SANS_SERIF), so it is also necessary to override Typeface fonts at runtime. Changing overlays causes OverlayManagerService to schedule ApplicationInfo updates for affected apps, which forces a configuration change by incrementing Configuration#assetsSeq. TODO: figure out why not all apps get consistent configuration updates until manually relaunching activities Change-Id: I684a56315808f78f24a14cd6efeda0ea05e25abf Signed-off-by: Chiranth A J <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f210f01 - Browse repository at this point
Copy the full SHA f210f01View commit details -
We need know which font leads to system_server crash.
Google: 2442899 Change-Id: I22dc45c104641e671abd3c6230a345babad3fd5c Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 255ffaf - Browse repository at this point
Copy the full SHA 255ffafView commit details -
SystemUI: Speed up actions expansion animation
400 ms feels too long for this, especially when the actions already take so long to show up due to how long saving the screenshot takes. Change-Id: I67a874adeb42cbde31e9b4f7bddc59481dc2f69f Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a52cc18 - Browse repository at this point
Copy the full SHA a52cc18View commit details -
Fixed a crash in settings in tts engine selection screen.
The crash happens when you try to uninstall current tts engine and install a different one and then engine name may be null. If engine name is null then you can't select new engine because of that crash, so that whole tts feature becomes unusable. Change-Id: Ie31a947eb6444242e8536db2dae1452ef74cc1ce Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for be99d90 - Browse repository at this point
Copy the full SHA be99d90View commit details -
SystemUI: buttons should no longer be textAllCaps
Change-Id: If2e061f1c92bac99e4c480b533f6348700049d04 Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3cd325e - Browse repository at this point
Copy the full SHA 3cd325eView commit details -
aapt: Speed up the style pruning
Prior to this commit it removed each style one by one which causes the vector to repeatedly be shrunk and reallocated and copied (aka either quadratic or NlogN in the number of items removed). This commit simply makes it remove them all at once to make it linear instead. Change-Id: I541d151675ab19f37d9de1e7a323104d0d3b3c63 Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 832b8eb - Browse repository at this point
Copy the full SHA 832b8ebView commit details -
aapt: Use a std::map instead of a SortedVector
Android's SortedVectorImpl uses arrays that it must insert into the middle of. Each insertion is O(N) time because it must move on average half the elements of the array to make room for the new element. That is, O(N^2) time to build this sorted vector. std::map on the other hand normally uses red/black trees and has a cost of NlogN to add N elements to it. Change-Id: I5da0363ba806ab615b2aad0fb2a43ef9a9bec327 Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7ce7344 - Browse repository at this point
Copy the full SHA 7ce7344View commit details -
Change-Id: Id0fcc1805f4144463b4d3f040fb4d2ea1644c1a2 Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d82e978 - Browse repository at this point
Copy the full SHA d82e978View commit details -
(Point) Only calculate sin and cos once
Change-Id: I6157d91ca93a771b32bd2c3b859c19ed42efa469 Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3f5e461 - Browse repository at this point
Copy the full SHA 3f5e461View commit details -
Cache pin algorithms in PinSet
Change-Id: I6c2cd0261885b656910feffe76d67e169d8523c8 Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f96e33e - Browse repository at this point
Copy the full SHA f96e33eView commit details -
core: PinSet: fixup and improve code
* algorithms shouldn't be a static field since pins is an instance variable * use stream API's to map and collect pin algorithms to an ArraySet Signed-off-by: jhonboy121 <[email protected]> Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 94844f9 - Browse repository at this point
Copy the full SHA 94844f9View commit details -
NetworkPolicyManagerService: turn this into just a warning
Change-Id: I827d4b78ed3302af5bb95f8906c8056019568857 Signed-off-by: Simão Gomes Viana <[email protected]> Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6b26207 - Browse repository at this point
Copy the full SHA 6b26207View commit details -
Link dialog radius to config_dialogCornerRadius
Change-Id: If7ed4f038d79d702ee542de0e59170b6f6a67aa3 Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for aebfbc9 - Browse repository at this point
Copy the full SHA aebfbc9View commit details -
neko/Cat: Mark FLAG_IMMUTABLE PendingIntent with FLAG_MUTABLE
* Fixes device control crash when interacting with cat control stacktrace: java.lang.RuntimeException: java.lang.IllegalArgumentException: 0|com.android.egg|1|com.android.egg.neko:allcats|10100 Not posted. PendingIntents attached to bubbles must be mutable at android.app.job.JobServiceEngine$JobHandler.handleMessage(JobServiceEngine.java:109) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loopOnce(Looper.java:201) at android.os.Looper.loop(Looper.java:288) at android.app.ActivityThread.main(ActivityThread.java:7837) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003) Change-Id: I1e755ce8a38cfefb1474bbfefd307767a436e9d0 Signed-off-by: PainKiller3 <[email protected]> Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b379a35 - Browse repository at this point
Copy the full SHA b379a35View commit details -
libs: hwui: Build using ThinLTO
Change-Id: Id9035e9cfb02009688fbf1e0ae592caee6965d24 Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c36d473 - Browse repository at this point
Copy the full SHA c36d473View commit details -
EventLog: Disable event writing in production builds
When opening and closing activities in Settings, a measurably significant amount of CPU time is spent writing to the EventLog, as reported by simpleperf: 0.01% /system/lib64/libandroid_runtime.so android::EventLogHelper<(log_id)2, &(android::kEventLogEventClass)>::writeEventArray(_JNIEnv*, _jobject*, int, _jobjectArray*) We have no use for EventLog events in production builds, so disable event writing entirely on non-debuggable builds. To avoid having to check ro.debuggable in native code and pay the overhead of a JNI call for every event, perform checks on the Java side and make the native method implementations private for delegation. Test: simpleperf record -a; verify that EventLogHelper no longer appears in sample hits Change-Id: I3505c460f234d9a5038bd1f9d41ce911697ca76e Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 56f4b9e - Browse repository at this point
Copy the full SHA 56f4b9eView commit details -
Allow disabling qs on secure lockscreen [1/2]
* This does not prevent pulling down notification shade, qs will be entirely hidden even if you do and that's it. Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6fb0e7c - Browse repository at this point
Copy the full SHA 6fb0e7cView commit details -
base: Introduce app lock [1/4]
base: applock: refactor * encapsulate config data sources and add a data class for per app config * added support for migrating between different versions of data * fixed notification content not being redacted. services: applock: allow background authentication base: merge hidden app feature with applock services: AppLockConfig: fix a derp in hidePackage() services: applock: fix data migration and change secure notification parameter name * also fixed addPackage replacing data without checking if entry already exists services: AppLockManagerService: use the og calling uid for target intent * fixes launching app activites not exported * nift4: avoid changing public api * @neobuddy89: Add privapp permissions for Settings Change-Id: Ie35c6c7103b8bed644d510d8268d6c99cb71a1a2 Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c0073c8 - Browse repository at this point
Copy the full SHA c0073c8View commit details -
AppLock: Allow locking all apps visible in launcher
Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 557d40e - Browse repository at this point
Copy the full SHA 557d40eView commit details -
* To allow hiding apps in launcher even if app not protected Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 22ebcbd - Browse repository at this point
Copy the full SHA 22ebcbdView commit details -
AppLock: Fix hidden apps reset after reboot
Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 21e0cbc - Browse repository at this point
Copy the full SHA 21e0cbcView commit details -
SystemUI: add edge light customizations [1/2]
* Drawables and layout is from omni's commit * This a completely rewritten (in kt) and a non-hacky version of their work * (Stallix) - Adapt for A13 QPR1 Signed-off-by: jhonboy121 <[email protected]> Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 41e37de - Browse repository at this point
Copy the full SHA 41e37deView commit details -
Ambient Music Ticker - Allow to pulse on new tracks [1/2]
* @neobuddy89: Forward Port to Android 11/12/13 Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2265233 - Browse repository at this point
Copy the full SHA 2265233View commit details -
EdgeLight: Fix up applying custom color
Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1ac37bd - Browse repository at this point
Copy the full SHA 1ac37bdView commit details -
Fix: Firewall: NMS inverts default rule behavior
When setting a chain's firewall rules in NetworkManagementService, do not submit supplied UIDs to ConnectivityManager#replaceFirewallChain directly, as this does not consider what the actual rules are for those UIDs. Instead, supply the keys from the rules chain, which deletes default rules when it is updated via updateFirewallUidRuleLocked. For example, if a given UID's rule is the default rule, and it is part of the restricted chain, then the UID should be blocked, because the restricted chain is an allowlist. Prior to this change, the rules for UIDs are ignored when calling replaceFirewallChain, so the UID's mere presence among the supplied UIDs causes it to be unexpectedly added to the restricted mode allowlist. Test: CtsHostsideNetworkTests Change-Id: I0a71ad376bcfda05cea151144dfab9bec8e8b749 Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5ac2f07 - Browse repository at this point
Copy the full SHA 5ac2f07View commit details -
Fix viewing app info dashboard of hidden work app
Use the appropriate retrieval flags when looking up application info for a single app in ApplicationsState. Issue: calyxos#1586 Change-Id: I6753e218b405b85bcb710b7af4527fec5f9b0b46 Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5d7f8bc - Browse repository at this point
Copy the full SHA 5d7f8bcView commit details -
SystemUI: Enable session-based media actions for all apps
This is required to enable the new play/pause, previous and next track buttons in QS media player introduced in A13. By default, its only enabled for apps that target API 33: https://android.googlesource.com/platform/frameworks/base/+/85dddfc3c6d77105eec3e34099ee52928db7cb4a Test: Spotify, Telegram, Retro Music Change-Id: Ib05b35838bb9e1f49d0bfcd8e007d24d5a241521 Signed-off-by: Adithya R <[email protected]> Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7e8ab1d - Browse repository at this point
Copy the full SHA 7e8ab1dView commit details -
DisplayPowerController: Disable log spam
DisplayPowerController[0]: BrightnessEvent: disp=0, physDisp=local:4630946480857061761, brt=0.0, initBrt=0.0066815144, rcmdBrt=0.0066815144, preBrt=NaN, lux=0.0, preLux=0.0, hbmMax=1.0, hbmMode=off, rbcStrength=50, powerFactor=1.0, thrmMax=1.0, wasShortTermModelActive=false, flags=, reason=automatic [ dim ], autoBrightness=true Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1f4d716 - Browse repository at this point
Copy the full SHA 1f4d716View commit details -
SystemUI: Enable Partial Screensharing
* Possible fix to https://pastebin.com/R178ua3b Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 48362d5 - Browse repository at this point
Copy the full SHA 48362d5View commit details -
SystemUI: Reduce keyguard indication text padding
* To accomodate charging info with lockscreen bottom shortcuts. Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d38e28e - Browse repository at this point
Copy the full SHA d38e28eView commit details -
SystemUI: Use better icon for camera keyguard affordance
Why should it show a camcorder icon??? Change-Id: I553d56db7cf08eea600692bbe6684573fca005d3 Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 719a7d0 - Browse repository at this point
Copy the full SHA 719a7d0View commit details -
VolumePanel: Add long click for expand icon
Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 85e2341 - Browse repository at this point
Copy the full SHA 85e2341View commit details -
VolumePanel: Change bg tint for inactive rows
The secondary accent in light mode does not have a good contrast to the previously white icon. Previously: https://imgur.com/a/XHpDHDJ Now: https://imgur.com/a/QCk3QwC Change-Id: Ib61ad4803e0e3c6cc9163408137c7a16742922b6 Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6defe87 - Browse repository at this point
Copy the full SHA 6defe87View commit details -
SystemUI: Enable media player surface ripple on button press
Split out of https://gerrit.aospa.co/c/AOSPA/android_frameworks_base/+/28967 preview: https://i.imgur.com/xdgrBlO.mp4 Change-Id: Ic5a25bd11be5906950ab0f8aa92a35870411d87a Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d21eb6a - Browse repository at this point
Copy the full SHA d21eb6aView commit details -
wm: Prevent NPE for springanimation
Log: 04-19 15:01:02.154 D/AndroidRuntime(2258): Shutting down VM 04-19 15:01:02.154 E/AndroidRuntime(2258): FATAL EXCEPTION: main 04-19 15:01:02.154 E/AndroidRuntime(2258): Process: com.android.systemui, PID: 2258 04-19 15:01:02.154 E/AndroidRuntime(2258): java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object android.view.View.getTag(int)' on a null object reference 04-19 15:01:02.154 E/AndroidRuntime(2258): at com.android.wm.shell.bubbles.animation.PhysicsAnimationLayout.cancelAllAnimationsOfProperties(PhysicsAnimationLayout.java:42) 04-19 15:01:02.154 E/AndroidRuntime(2258): at com.android.wm.shell.bubbles.animation.PhysicsAnimationLayout.setActiveController(PhysicsAnimationLayout.java:18) 04-19 15:01:02.154 E/AndroidRuntime(2258): at com.android.wm.shell.bubbles.BubbleStackView$7.onDown(BubbleStackView.java:170) 04-19 15:01:02.154 E/AndroidRuntime(2258): at com.android.wm.shell.bubbles.RelativeTouchListener.onTouch(RelativeTouchListener.kt:193) 04-19 15:01:02.154 E/AndroidRuntime(2258): at android.view.View.dispatchTouchEvent(View.java:15006) 04-19 15:01:02.154 E/AndroidRuntime(2258): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3115) 04-19 15:01:02.154 E/AndroidRuntime(2258): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2788) 04-19 15:01:02.154 E/AndroidRuntime(2258): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3143) 04-19 15:01:02.154 E/AndroidRuntime(2258): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2745) 04-19 15:01:02.154 E/AndroidRuntime(2258): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3121) 04-19 15:01:02.154 E/AndroidRuntime(2258): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2745) 04-19 15:01:02.154 E/AndroidRuntime(2258): at com.android.wm.shell.bubbles.BubbleStackView.dispatchTouchEvent(BubbleStackView.java:46) 04-19 15:01:02.154 E/AndroidRuntime(2258): at android.view.View.dispatchPointerEvent(View.java:15269) 04-19 15:01:02.154 E/AndroidRuntime(2258): at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:6762) 04-19 15:01:02.154 E/AndroidRuntime(2258): at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:6562) 04-19 15:01:02.154 E/AndroidRuntime(2258): at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:6013) 04-19 15:01:02.154 E/AndroidRuntime(2258): at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:6070) 04-19 15:01:02.154 E/AndroidRuntime(2258): at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:6036) 04-19 15:01:02.154 E/AndroidRuntime(2258): at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:6201) 04-19 15:01:02.154 E/AndroidRuntime(2258): at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:6044) 04-19 15:01:02.154 E/AndroidRuntime(2258): at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:6258) 04-19 15:01:02.154 E/AndroidRuntime(2258): at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:6017) 04-19 15:01:02.154 E/AndroidRuntime(2258): at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:6070) 04-19 15:01:02.154 E/AndroidRuntime(2258): at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:6036) 04-19 15:01:02.154 E/AndroidRuntime(2258): at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:6044) 04-19 15:01:02.154 E/AndroidRuntime(2258): at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:6017) 04-19 15:01:02.154 E/AndroidRuntime(2258): at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:9115) 04-19 15:01:02.154 E/AndroidRuntime(2258): at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:9066) 04-19 15:01:02.154 E/AndroidRuntime(2258): at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:9035) 04-19 15:01:02.154 E/AndroidRuntime(2258): at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:9238) 04-19 15:01:02.154 E/AndroidRuntime(2258): at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:267) 04-19 15:01:02.154 E/AndroidRuntime(2258): at android.os.MessageQueue.nativePollOnce(Native Method) 04-19 15:01:02.154 E/AndroidRuntime(2258): at android.os.MessageQueue.next(MessageQueue.java:335) 04-19 15:01:02.154 E/AndroidRuntime(2258): at android.os.Looper.loopOnce(Looper.java:161) 04-19 15:01:02.154 E/AndroidRuntime(2258): at android.os.Looper.loop(Looper.java:288) 04-19 15:01:02.154 E/AndroidRuntime(2258): at android.app.ActivityThread.main(ActivityThread.java:7896) 04-19 15:01:02.154 E/AndroidRuntime(2258): at java.lang.reflect.Method.invoke(Native Method) 04-19 15:01:02.154 E/AndroidRuntime(2258): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) 04-19 15:01:02.154 E/AndroidRuntime(2258): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:854) Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ae38ae8 - Browse repository at this point
Copy the full SHA ae38ae8View commit details -
KeyguardIndication: Set wakelock on doze only when required
* Following implementation on S, we do not want to set wakelock every time there is update in charging info or uninteresting stuff happens. Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f47f9f1 - Browse repository at this point
Copy the full SHA f47f9f1View commit details -
Fonts: Add regular / light font config
Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4f95e58 - Browse repository at this point
Copy the full SHA 4f95e58View commit details -
hwui: Prevent systemui crash caused by segfault
* it seems like systemui isn't allowed to run on RT threads, this causes random sysui crashes [1] * i still have no idea why this happens, my only hunch was this was caused by sysui utilizing rendereffect. Unfortunately this only happens on rd... [1] 02-22 02:10:57.435 F/DEBUG (7629): Cmdline: com.android.systemui 02-22 02:10:57.435 F/DEBUG (7629): pid: 2221, tid: 2329, name: RenderThread >>> com.android.systemui <<< 02-22 02:10:57.435 F/DEBUG (7629): uid: 10402 02-22 02:10:57.435 F/DEBUG (7629): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000010 Signed-off-by: minaripenguin <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8a06c1d - Browse repository at this point
Copy the full SHA 8a06c1dView commit details -
Fixed process can't start because of mPendingStart is true problem
the ProcessRecord.mSuccessorStartRunnable incorrectly nullified by other processe. causes new processes to start silently,at the same time ProcessRecord.mPendingStart is true. so the new processRecord can no longer start. Bug: 274190516 Change-Id: I819769a20403f6858e449f2d52754dd673d71186 Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5fa20bf - Browse repository at this point
Copy the full SHA 5fa20bfView commit details -
SystemUI: Fix carrier text margin on keyguard
Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c7990fb - Browse repository at this point
Copy the full SHA c7990fbView commit details -
SystemUI: Implement Bluetooth dialog
Based on Internet dialog code. Change-Id: Iff63a49ff6a49c535b63a430bee8d7c55e78cbcc [YAAP] minor edits for r11. Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f2c198c - Browse repository at this point
Copy the full SHA f2c198cView commit details -
SystemUI: Cleanup bluetooth dialog impl
Signed-off-by: jhonboy121 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 347959c - Browse repository at this point
Copy the full SHA 347959cView commit details -
base: Remove more hardcoded fonts
Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1c0be39 - Browse repository at this point
Copy the full SHA 1c0be39View commit details -
Paint: Enable subpixel text positioning by default
On desktop Linux, subpixel text positioning is necessary to avoid kerning issues, and Android is no different. Even though most phone displays have relatively high DPIs, the lack of subpixel text positioning is only unnoticeable on high-end devices such as the Pixel 4 XL (1440x3040 @ 6.3 in => 537 dpi). For example, on the Pixel 5 (1080 x 2340 @ 6.0 in => 432 dpi), horizontally-scrolling labels in QS tiles can be seen "jittering" slightly upon close observation. This was tested with the Google Sans font on Google's stock OS. At this lower DPI, there is still a need for subpixel text positioning (at least in some cases). Enable subpixel text positioning by default to fix occasional kerning issues and jittering when text is in motion. Change-Id: I8d71e5848a745c5a2d457a28c68458920928ee09 Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 73afb77 - Browse repository at this point
Copy the full SHA 73afb77View commit details -
base: Wi-Fi timeout feature (1/2)
SDB - adapt for A12 FLAG_MUTABLE Issue: calyxos#228 Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 02ce931 - Browse repository at this point
Copy the full SHA 02ce931View commit details -
base: Bluetooth timeout feature (1/2)
SDB - adapt for A12 FLAG_MUTABLE Signed-off-by: SuperDroidBond <[email protected]> Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a1c0da4 - Browse repository at this point
Copy the full SHA a1c0da4View commit details -
SystemUI: QSAnimator: Hide secondary label in QQS
Fixes secondary label being stuck while collapsing QS panel from non-first page. Change-Id: I39d3607599950e315d93920f1e6083cd14a2d5eb Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6914001 - Browse repository at this point
Copy the full SHA 6914001View commit details -
SystemUI: Remove disconnect icon from Bluetooth Dialog
Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5a5144c - Browse repository at this point
Copy the full SHA 5a5144cView commit details -
SystemUI: Require unlocking to use Bluetooth tile
Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e2cac64 - Browse repository at this point
Copy the full SHA e2cac64View commit details -
AppProfiler: dont be so hectic on cpu battery stats
Also disable cpu monitor TheHardGamer: Port to A13 Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3366de4 - Browse repository at this point
Copy the full SHA 3366de4View commit details -
Fix the problem of slow exit of boot animation
When desc.txt configuration interval is very long, it leads to too long sleep time, which affects the execution frequency of checkExit and leads to untimely exit of boot animation. For example: 1080 2400 5 p 0 5 part0 Google: 2369728 Change-Id: I9806a934189642a31ceb72cbf35c3ff07fe6b7d8 Signed-off-by: niuwenchao <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7ccf644 - Browse repository at this point
Copy the full SHA 7ccf644View commit details -
base: support per-app volume [2/3]
Signed-off-by: cjybyjk <[email protected]> Change-Id: Iaa97787d3820b4f6c23fda678ec3ffe711061c4f Signed-off-by: AnierinB <[email protected]> Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 61fcd99 - Browse repository at this point
Copy the full SHA 61fcd99View commit details -
base: make per-app work with multi audio focus
Seems like Google merged this for OEMs to make their own take on multi-audio focus, so we'll do an oem approach to make it work with per-app volume. This will allow the adjustment of various app volumes at the same time instead of leaving it to just enable the volume for just one app :) Change-Id: I30966f6b95bdb03f139a9b2d1b7b30dbebb7a357 Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 59833f5 - Browse repository at this point
Copy the full SHA 59833f5View commit details -
SystemUI: Update App volume icon
Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7f6a0fb - Browse repository at this point
Copy the full SHA 7f6a0fbView commit details -
SystemUI: Remove excess margin in few statusbar icons
* location and data saver Change-Id: I87c641449978cbdb6054fb3370039202b262cfd3 Signed-off-by: Adithya R <[email protected]> Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d552b74 - Browse repository at this point
Copy the full SHA d552b74View commit details -
StatusBarSignalPolicy: Set initialized to false on destroy
Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c184fad - Browse repository at this point
Copy the full SHA c184fadView commit details -
SystemUI: Enable charger plug-in statusbar chip
And use colorAccent instead of colorAccentPrimary (matching QS) to fix visibility in light theme. Sample video: https://twitter.com/MishaalRahman/status/1666500007195729921 Change-Id: I8397308677414af94361920ca9c073d72b3693c1 Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 33f83f6 - Browse repository at this point
Copy the full SHA 33f83f6View commit details -
SystemUI: add haptics to brightness slider
Improves the UX while dragging the brightness slider. [someone5678]: Adapt to current brightness slider changes Change-Id: I79d9d8fd1133a9e166821ff8f7135ccb761edd58 Signed-off-by: Vaisakh Murali <[email protected]> Signed-off-by: someone5678 <[email protected]> Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1ccac14 - Browse repository at this point
Copy the full SHA 1ccac14View commit details -
SystemUI: Improve brighness slider haptics
Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ced2721 - Browse repository at this point
Copy the full SHA ced2721View commit details -
SystemUI: Enable revamped_wallpaper_ui flag
Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3f43a8e - Browse repository at this point
Copy the full SHA 3f43a8eView commit details -
SystemUI: Add null check for vibrator in brightness controller
Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c76014e - Browse repository at this point
Copy the full SHA c76014eView commit details -
Sometimes Screen does not wake up while receiving whatsapp video call
Problem: { 1. Set wipe lock screen. Press power. Then quickly video call from whatsapp from other device. 2. Try for 15 to 20 times. Issue should occur. Try it on low end pixel device if possible. Its a race condition issue. Might now reproduce on high end devices 3. When updateVisibility#KeyguardController.java is called when app has not set show when locked, lastTurnScreenOnActivity gets assigned value mTopTurnScreenOnActivity. 4. This never resets again, and when actually the app sets show when locked and wants to wakeup the screen, lastTurnScreenOnActivity and mTopTurnScreenOnActivity are equal. 5. This condition check does not allow device to wake up. } Solution: { 1. Allow the device screen to wake up when app has set show when locked attribute. } Bug: 286776817 Google: 2620918 Change-Id: I55543d010115e3608eaf6d54c24e7800d3569a05 Signed-off-by: Aditya Jadhav <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d00927c - Browse repository at this point
Copy the full SHA d00927cView commit details -
Fix system reboot in systm_server caused by SensorPrivacyService
We should unregister all listeners from sensor privacy state change notifications when binder died. Test: atest SensorPrivacyServiceMockingTest , Manual Bug: 288750681 Google: 2636344 Change-Id: Ibfab9c96412e9ed09d0105eb20b1cb03105b6d44 Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5809be2 - Browse repository at this point
Copy the full SHA 5809be2View commit details -
SystemUI: Blurs: allow blur even when GFX acceleration is disabled
isHighEndGfx returns false when ro.config.avoid_gfx_accel or config_avoidGfxAccel is set causing to disable blur. Blur is still heavy but with new renderengine patches by Kdrag0n and reducing amount of blur, it seems to be less aggressive on CPU. With this we can still reduce memory usage and keep using blur giving users option to enable it. New behaviour: blurs are only disabled if device has low ram prop set. Test: boot, enable blur toggle under developer option, reboot and blurs are visible. Change-Id: Id1729aca89b6dff22c865ae913da044c0e7c7f31 [dlwlrma123: adapted to S] Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 60caa9b - Browse repository at this point
Copy the full SHA 60caa9bView commit details -
Signed-off-by: str-br <[email protected]> Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for baa04aa - Browse repository at this point
Copy the full SHA baa04aaView commit details -
SystemUI: Also blur power sub-menus
Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 160d4c3 - Browse repository at this point
Copy the full SHA 160d4c3View commit details -
SystemUI: Use color accent for charging animation
Change-Id: Ideade5e9375510a31496ad75c5b74f12444350c9 Signed-off-by: Omkar Chandorkar <[email protected]> Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e1197d2 - Browse repository at this point
Copy the full SHA e1197d2View commit details -
SystemUI: Use lighter material you shades for charging animation
* darker shades seems to make the animation particles not look so pleasing.. Signed-off-by: minarypenguin <[email protected]> Signed-off-by: Sipun Ku Mahanta <[email protected]> Change-Id: If02e1ea667f10217f8dc49e347a548209ffa10f4 Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ee90a17 - Browse repository at this point
Copy the full SHA ee90a17View commit details -
Pause is getting scheduled 2 times
Problem: { 1. open sony liv app. 2. Play any video. 3. Press home. Observe app is going to PIP 4. Now in logs we can see. am_pause_activity 2 times. 5. erforming pause of activity that is not resumed: {com.jio.jioplay.tv/com.jio.jioplay.tv.activities.HomeActivity} 02-21 23:47:01.705 18593 18593 E ActivityThread: java.lang.RuntimeException: Performing pause of activity that is not resumed: {com.jio.jioplay.tv/com.jio.jioplay.tv.activities.HomeActivity} 02-21 23:47:01.705 18593 18593 E ActivityThread: at android.app.ActivityThread.performPauseActivity(ActivityThread.java:5342) 02-21 23:47:01.705 18593 18593 E ActivityThread: at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:5302) 02-21 23:47:01.705 18593 18593 E ActivityThread: at android.app.servertransaction.PauseActivityItem.execute(PauseActivityItem.java:53) } Solution: { 1. Need to define a variable to signify is pauseScheduled. If it is scheduled then do not schedule again for PIP. } Bug: 271360298 Signed-off-by: pioush.kumar-IN009423 <[email protected]> Change-Id: I033acec4e290875652196506f3c998d9f8c68f7f Signed-off-by: pioush.kumar-IN009423 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 642a930 - Browse repository at this point
Copy the full SHA 642a930View commit details -
SystemUI: Prevent edge lightning from pulsing outside keyguard/doze
* there were some occurences where edge light views visibility gets stucked to visible even when user is interactive, only a reboot fixes the issue. * this CL attempts to fix the issue by making sure tha pulse will only show on keyguard and when dozing test: trigger doze pulse multiple times, wake and unlock screen while edge lightning animation is midway, go to homescreen and pull down qs, edge light views hidden Change-Id: I4126700bb2747e7dd983c9d4c5e64fe86bb60f09 Signed-off-by: minaripenguin <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b27e2f1 - Browse repository at this point
Copy the full SHA b27e2f1View commit details -
SystemUI: Prevent edge lights from being directly shown by screen on …
…and notification callbacks * these callbacks directly access show() and doesnt have checks for doze and keyguard state. first test: moved pulsing condition check to canPulse() to make edge light views always visible, unlock keyguard, verified that edge light views were hidden after keyguard unlock second test: a lot of device unlocking with different pulse trigger scenarios Change-Id: I30f3c649e9311896e0ba836c5efd747d272eea9f Signed-off-by: minaripenguin <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 94f7685 - Browse repository at this point
Copy the full SHA 94f7685View commit details -
SystemUI: Flags: Enable lockscreen clock customisation
* clock styles arent available as we dont have plugin * but font customisation and colors are available now [https://t.me/aswinaskurup/189] Signed-off-by: aswin7469 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c03cc86 - Browse repository at this point
Copy the full SHA c03cc86View commit details -
SystemUI: Enable font scaling QS tile
Signed-off-by: aswin7469 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2987514 - Browse repository at this point
Copy the full SHA 2987514View commit details -
SystemUI: Flags: Enable media explicit indicator
* https://twitter.com/MishaalRahman/status/1633620821733261314?s=19 Signed-off-by: aswin7469 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2b5a428 - Browse repository at this point
Copy the full SHA 2b5a428View commit details -
KeyguardIndication: Fix glitchy charging info on lockscreen
* This should fix charging info getting refreshed with animation every couple of seconds - on both lockscreen and ambient display. Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: str-br <[email protected]> Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 85582a9 - Browse repository at this point
Copy the full SHA 85582a9View commit details -
SystemUI: Align keyguard carrier text with status bar
* Make keyguard carrier text use the same padding set in status_bar_padding_start * Adapted from Project-Awaken/android_frameworks_base@8936577 Co-authored-by: Adithya R <[email protected]> Change-Id: Ic91fa398813e1907297bb0892c444d96405950e7 Signed-off-by: Leonardo Ledda <[email protected]> Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c930bc4 - Browse repository at this point
Copy the full SHA c930bc4View commit details -
KeyguardStatusBarView: Clean up cruft
* We do not need to set carrier text margin as it was set properly in crdroidandroid/android_frameworks_base@50ed26d * Carrier text follows TextAppearance.StatusBar.Clock style, hence remove setting font size in code * Remove unused rounded corner padding leftover Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a9e2664 - Browse repository at this point
Copy the full SHA a9e2664View commit details -
SystemUI: Follow status bar battery style in QS
Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 52b6b99 - Browse repository at this point
Copy the full SHA 52b6b99View commit details -
SystemUI: Improve statusbar mobile type icons padding
The new "Silk design" mobile icons introduced in [1] have 2dp of spacing inside it on each sides. This is quite unnecessary and looks ugly as the mobile layout already provides 2.5dp of padding. For the sake of consistency, remove this spacing using insets and rely only on padding. Add space only for the second SIM's mobile data type icon. [1]: 084c13c ("Update RAT icons to match Silk design") Change-Id: I4d703e37983ee45da2219936156028d5d40f31a0 Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d565951 - Browse repository at this point
Copy the full SHA d565951View commit details -
SystemUI: Scale mobile data type icon with font size
The Material You design mobile type icons are just text such as "3G" "4G+" "5G" in Google Sans font, as such it makes sense to scale it with system font size, and it looks more consistent with battery percentage text. Change-Id: I2e3a985a82c2b9c99a6ceeb5b7eb2110d9bc2038 Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bfc8e51 - Browse repository at this point
Copy the full SHA bfc8e51View commit details -
SystemUI: Enable Lock screen long-press to open wallpaper picker
* 73260bd Signed-off-by: aswin7469 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e86111f - Browse repository at this point
Copy the full SHA e86111fView commit details -
SystemUI: Enable new back affordance
Split out of https://gerrit.aospa.co/c/AOSPA/android_frameworks_base/+/28967 Change-Id: I8175ab4abde4fb0c5615ed952d6975f436cb48f6 Signed-off-by: Mesquita <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1c0ffbc - Browse repository at this point
Copy the full SHA 1c0ffbcView commit details -
SystemUI: Hide notification icon area if headsup is visible
Change-Id: I2dc5a72015f3aee925311156350f21ad4ee60961 Signed-off-by: minaripenguin <[email protected]> Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6e3d255 - Browse repository at this point
Copy the full SHA 6e3d255View commit details -
* Opens Calendar app * Highly inspired by: SystemUI: Make clock & battery clickable again Change-Id: I80dbc37420e4f7e8a6934755c11bc6b9f88d5ad1 Signed-off-by: someone5678 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e34544c - Browse repository at this point
Copy the full SHA e34544cView commit details -
SystemUI: flags: Enable media player wave/shimmering effects
as per : https://t.me/google_nws/3036 Change-Id: I6136d3722b30d953b4cb65871c6b53c711574d05 Signed-off-by: aswin7469 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 35b7135 - Browse repository at this point
Copy the full SHA 35b7135View commit details -
SystemUI: Enable monochromatic monet theme style
Change-Id: I3198b1eee91ad24802df691ab1923fc45f843247 Signed-off-by: aswin7469 <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 81cf9c8 - Browse repository at this point
Copy the full SHA 81cf9c8View commit details -
BluetoothControllerImpl: Synchronize mConnectedDevices access
in getBatteryLevel() 03-17 21:45:13.643 2245 2245 E AndroidRuntime: FATAL EXCEPTION: main 03-17 21:45:13.643 2245 2245 E AndroidRuntime: Process: com.android.systemui, PID: 2245 03-17 21:45:13.643 2245 2245 E AndroidRuntime: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 03-17 21:45:13.643 2245 2245 E AndroidRuntime: at java.util.ArrayList.get(ArrayList.java:437) 03-17 21:45:13.643 2245 2245 E AndroidRuntime: at com.android.systemui.statusbar.policy.BluetoothControllerImpl.getBatteryLevel(BluetoothControllerImpl.java:329) 03-17 21:45:13.643 2245 2245 E AndroidRuntime: at com.android.systemui.statusbar.policy.BluetoothControllerImpl.updateBattery(BluetoothControllerImpl.java:335) 03-17 21:45:13.643 2245 2245 E AndroidRuntime: at com.android.systemui.statusbar.policy.BluetoothControllerImpl.updateConnected(BluetoothControllerImpl.java:282) 03-17 21:45:13.643 2245 2245 E AndroidRuntime: at com.android.systemui.statusbar.policy.BluetoothControllerImpl.onDeviceAttributesChanged(BluetoothControllerImpl.java:379) 03-17 21:45:13.643 2245 2245 E AndroidRuntime: at com.android.settingslib.bluetooth.CachedBluetoothDevice.dispatchAttributesChanged(CachedBluetoothDevice.java:904) 03-17 21:45:13.643 2245 2245 E AndroidRuntime: at com.android.settingslib.bluetooth.CachedBluetoothDevice.lambda$refresh$0(CachedBluetoothDevice.java:612) 03-17 21:45:13.643 2245 2245 E AndroidRuntime: at com.android.settingslib.bluetooth.CachedBluetoothDevice.$r8$lambda$4IYXIWE9azg2QshMjGh5evIGUmg(Unknown Source:0) 03-17 21:45:13.643 2245 2245 E AndroidRuntime: at com.android.settingslib.bluetooth.CachedBluetoothDevice$$ExternalSyntheticLambda1.run(Unknown Source:2) 03-17 21:45:13.643 2245 2245 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:938) 03-17 21:45:13.643 2245 2245 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99) 03-17 21:45:13.643 2245 2245 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:201) 03-17 21:45:13.643 2245 2245 E AndroidRuntime: at android.os.Looper.loop(Looper.java:288) 03-17 21:45:13.643 2245 2245 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7871) 03-17 21:45:13.643 2245 2245 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 03-17 21:45:13.643 2245 2245 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:550) 03-17 21:45:13.643 2245 2245 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003) Change-Id: I036ffeb434ddbd7f2abfcfe950414319458f455b Signed-off-by: Adithya R <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6830599 - Browse repository at this point
Copy the full SHA 6830599View commit details -
SystemUI: Fetch bluetooth battery level from any device
* 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 Change-Id: I2542ad683b1c37fccd88a3cc666409d41ec0097f Signed-off-by: Adithya R <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 17a5902 - Browse repository at this point
Copy the full SHA 17a5902View commit details -
base: Rearrange bluetooth icon on statusbar
* move it just before wifi icon Change-Id: Ibe32d32e4f06bbe5cac339f0e1433a6560f7a7ff Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 066c62c - Browse repository at this point
Copy the full SHA 066c62cView commit details -
SystemUI: Remove excess margin in few statusbar icons
* location and data saver Change-Id: I87c641449978cbdb6054fb3370039202b262cfd3 Signed-off-by: Adithya R <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c40444d - Browse repository at this point
Copy the full SHA c40444dView commit details -
Allow to suppress notifications sound/vibration if screen is ON [1/2]
Change-Id: I279b202682939d797d3116089f50d65e3dd3eb01 Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fa4f2f5 - Browse repository at this point
Copy the full SHA fa4f2f5View commit details -
Revert "SystemUI: Network Traffic [1/3]"
This reverts commit 797c882. Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6b5a9af - Browse repository at this point
Copy the full SHA 6b5a9afView commit details -
SystemUI: Squash import NetworkTraffic
This is a squash of the following: Author: Jon Haus <[email protected]> Date: Thu Jan 5 00:20:06 2017 +0100 Network Traffic [1/2] ----- 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 Author: ezio84 <[email protected]> Date: Sun Dec 9 20:17:58 2018 +0100 Move net monitor to expanded statusbar header 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 Author: SpiritCroc <[email protected]> Date: Mon Dec 24 15:03:44 2018 +0100 Network traffic: fix indicator not hiding on lost connection 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 commit 18e87ec1a6cf84e6765502c77010c2416b447834 Author: Josh Chasky <[email protected]> Date: Thu Dec 19 15:13:04 2019 -0500 Make sure that Network Traffic is disabled by default Change-Id: Ic78e82cedb676f99dd17ce88ba2e66173f000bdc Author: Alex Cruz <[email protected]> Date: Sun Jan 13 10:59:49 2019 -0600 Network Traffic: Bring back traffic indicator for all Change-Id: Ia41474a262b258f8a2d4d7b10a15891729ffd17c Author: ganeshi4u <[email protected]> Date: Tue Mar 12 16:01:38 2019 +0100 Network Traffic: OOS style network traffic indicator - 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 Author: ganeshi4u <[email protected]> Date: Wed Feb 5 22:53:25 2020 -0500 Network Traffic: Refactor text formatting - 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 Author: Alex <[email protected]> Date: Wed Feb 5 23:05:33 2020 -0500 Network Traffic: Adjust size/text style for extended statusbar Change-Id: I851dac6279e0b4a60b1697ce1bd6f85fc3e248b9 Author: ezio84 <[email protected]> Date: Sun Feb 9 10:24:36 2020 +0100 Traffic indicators: code cleanup and improvements also don't continuosly check if device has notch but do it once Change-Id: I1a97dcd6cb932d32f6bffa518a66a47a209c604e Author: ezio84 <[email protected]> Date: Sun Feb 9 15:21:33 2020 +0100 Traffic indicators: use smaller and bold fonts in expanded statusbar Change-Id: I7d9dd2fe7850ec6f27707022fc8e4fd3cf85dfd1 Author: SpiritCroc <[email protected]> Date: Tue Feb 11 18:45:51 2020 -0500 Traffic indicators: add properly to statusbar icons 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 Author: ezio84 <[email protected]> Date: Wed Feb 12 19:41:28 2020 +0100 Traffic indicators: don't show two instances in expanded statusbar 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 Author: ezio84 <[email protected]> Date: Fri Feb 14 02:55:14 2020 -0500 Traffic indicators: Prevent logspam caused by improperly calling requestLayout() 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 Author: Pranav Vashi <[email protected]> Date: Sun Jun 14 09:08:50 2020 +0200 NetworkTraffic: Fix speed format for 10*KB Change-Id: I86153e8a5a314f0f44b02500878b68970a070155 Author: SpiritCroc <[email protected]> Date: Tue Nov 20 14:42:48 2018 +0100 NPE: Avoid casting network traffic to StatusBarIconView to prevent crash Change-Id: Ib7dab59daec436f91a7c9d213583feb52f3d2b21 Author: SagarMakhar <[email protected]> Date: Fri Oct 29 14:19:51 2021 +0000 base: Fix net traffic view being white on QQS Header Signed-off-by: SagarMakhar <[email protected]> Signed-off-by: Genkzsz11 <[email protected]> Change-Id: I4f8ac1a22d1648461648174fa8725ec24e96efb0 Author: Varun Date <[email protected]> Date: Tue Jul 14 18:51:34 2020 +1000 StatubarIconList: Fix Network traffic visibility on overlayChange() Signed-off-by: Varun Date <[email protected]> Change-Id: I165d5bdef86f67bec9495517b338159a2fcd43d9 [ReallySnow: Remove expanded QS traffic and fix the traffic showing on the QS when the lockscreen slides down] Signed-off-by: ReallySnow <[email protected]> Change-Id: Ifd903896dd624340425ff26df21ae22700a54b49 Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for afa9983 - Browse repository at this point
Copy the full SHA afa9983View commit details -
NetworkTraffic: General improvements
- Remove unused resource - Fix indent - Use fixed width to avoid moving around - Use INVISIBLE rather than GONE for auto hiding to reserve space - Add missing makeVisible() for uplink - Cleanup and optimize Change-Id: Ic3b6021feeba6c2ee7b2a5f26fda7d7c4eea67cf Signed-off-by: LibXZR <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d7125b1 - Browse repository at this point
Copy the full SHA d7125b1View commit details -
NetworkTraffic: Fix excessively high reading on screen wakeup
lastUpdateTime should not be updated here as it will lead to wrong timeDelta. Update totalTxBytes here so data transmitted when screen off won't be taken into account. Change-Id: Ic2f39be197b3227811ddee4769c775ef7ffec605 Signed-off-by: LibXZR <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 27c6d5d - Browse repository at this point
Copy the full SHA 27c6d5dView commit details -
NetworkTraffic: Make sure tint is updated on decor color change
Fixes wrong text color when enabled at the first time. Change-Id: I236852b0215d19ad8f009d6fefc7e8828cf27453 Signed-off-by: LibXZR <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e979d1b - Browse repository at this point
Copy the full SHA e979d1bView commit details -
NetworkTraffic: Follow status bar texts' text appearance
Change-Id: Ie73a661536be4a4ae2d6a8f8c27fa388a51dd5de Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d4d4e6d - Browse repository at this point
Copy the full SHA d4d4e6dView commit details -
SystemUI: NetworkTraffic: Minor refinements
- reduce side padding of statusbar indicator - show /S in caps - reduce overall text size and increase line spacing SystemUI: Reduce statusbar network speed margins Change-Id: I0d031048a5499508138f04f7be2ae12819d4ee69 arrow-12.1: Correct values Change-Id: I9bc80ba00700c5a184cce2b6703d11986203739b Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0463129 - Browse repository at this point
Copy the full SHA 0463129View commit details -
NetworkTrafficSB: Adjust onDarkChanged
* After ArrowOS/android_frameworks_base@6c5ebb3. Change-Id: I2bd1c35de8d10b361c36a5e8a878843fe8118d73 Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ce44b3a - Browse repository at this point
Copy the full SHA ce44b3aView commit details -
SystemUI: Add statusbar NFC icon
* @/jhonboy121: simplify code Change-Id: I2f37887a9913348e9fd3a81499de606d6f0f9029 [ghostrider-reborn: add tuner pref icon] Signed-off-by: Adithya R <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8685442 - Browse repository at this point
Copy the full SHA 8685442View commit details -
SystemUI: Reload theme only if black theme is enabled
Currently it force reloads theme on UI mode change always for black theme to set correctly, But this has the side effect of janky transition between dark<->light mode and other glitches in QS. Perform this only if we have black theme actually enabled. Change-Id: I372bdb51dacc54305d47cd42a5b165ac35609bd8 Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a84a5b6 - Browse repository at this point
Copy the full SHA a84a5b6View commit details -
base: Add support for window ignore secure [1/2]
Feature: yt/KSCOPE-23 Change-Id: Ia9447ca17f6b24152b64526c25710a77e1388ce6 Signed-off-by: LibXZR <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2c747b3 - Browse repository at this point
Copy the full SHA 2c747b3View commit details -
Trace: Disable debug tracing on production builds
When opening and closing activities in Settings, a significant amount of CPU time is spent checking whether ATrace tags are enabled, as measured by simpleperf: 0.12% /system/lib64/libcutils.so atrace_get_enabled_tag android.os.Trace is responsible for a significant portion of the time spent in the checks: 0.10% 0.07% /system/lib64/libcutils.so atrace_get_enabled_tags | -- atrace_get_enabled_tags | | |--1.62%-- android.os.Trace.traceEnd | |--36.90%-- [hit in function] | | | |--29.76%-- android.view.Choreographer.doCallbacks | | android.view.Choreographer.doFrame | | android.view.Choreographer$FrameDisplayEventReceiver.run | | android.os.Handler.dispatchMessage | | android.os.Looper.loop | | android.os.HandlerThread.run | | com.android.server.ServiceThread.run | | art_quick_invoke_stub | | art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*) | | art::JValue art::InvokeVirtualOrInterfaceWithJValues<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, jvalue const*) | | art::Thread::CreateCallback(void*) | | __pthread_start(void*) | | __start_thread | | | |--19.00%-- com.android.server.BatteryService$BatteryPropertiesRegistrar.getProperty | | android.os.IBatteryPropertiesRegistrar$Stub.onTransact | | android.os.Binder.execTransactInternal | | android.os.Binder.execTransact | | art_quick_invoke_stub | | art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*) | | art::JValue art::InvokeVirtualOrInterfaceWithVarArgs<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, std::__va_list) | | art::JValue art::InvokeVirtualOrInterfaceWithVarArgs<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list) | | art::JNI<false>::CallBooleanMethodV(_JNIEnv*, _jobject*, _jmethodID*, std::__va_list) | | _JNIEnv::CallBooleanMethod(_jobject*, _jmethodID*, ...) | | JavaBBinder::onTransact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int) | | android::BBinder::transact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int) | | android::IPCThreadState::executeCommand(int) | | android::IPCThreadState::getAndExecuteCommand() | | android::IPCThreadState::joinThreadPool(bool) | | android::PoolThread::threadLoop() | | android::Thread::_threadLoop(void*) | | android::AndroidRuntime::javaThreadShell(void*) | | thread_data_t::trampoline(thread_data_t const*) | | __pthread_start(void*) | | __start_thread | | | --14.33%-- android.view.ViewRootImpl.performDraw | android.view.ViewRootImpl.performTraversals | android.view.ViewRootImpl.doTraversal | android.content.ContextWrapper.getAssets [DEDUPED] | android.view.Choreographer.doCallbacks | android.view.Choreographer.doFrame | android.view.Choreographer$FrameDisplayEventReceiver.run | android.os.Handler.dispatchMessage | android.os.Looper.loop | android.app.ActivityThread.main | art_quick_invoke_static_stub | art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*) | art::InvokeMethod(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned long) | art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*) | art_jni_trampoline | com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run | com.android.internal.os.ZygoteInit.main | art_quick_invoke_static_stub | art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*) | art::JValue art::InvokeWithVarArgs<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, std::__va_list) | art::JValue art::InvokeWithVarArgs<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list) | art::JNI<true>::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list) | _JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...) | android::AndroidRuntime::start(char const*, android::Vector<android::String8> const&, bool) | main | __libc_init We're unlikely to trace the system and framework in production systems, so disable debug tracing in non-debuggable builds. The ro.debuggable check is performed from the Java side for simplicity. Test: simpleperf record -a; verify that android.os.Trace no longer appears under atrace_get_enabled_tags Change-Id: I9b63d386c041ffd9d7ff34ecd0ec1eb95dc03b4b [ghostrider-reborn: disable in userdebug builds as well] Signed-off-by: Adithya R <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e5fbbcf - Browse repository at this point
Copy the full SHA e5fbbcfView commit details -
Revert "Pre-emptively take a snapshot when finishing an activity befo…
…re changing visibility" This reverts commit 6dad90e. When opening and closing activities in Settings, a significant amount of CPU time is spent rendering and compressing JPEG screenshots, as reported by simpleperf: 0.46% /system/lib64/libjpeg.so encode_mcu_gather 0.37% /system/lib64/libhwui.so neon::S32_alpha_D32_filter_DX(SkBitmapProcState const&, unsigned int const*, int, unsigned int*) 0.29% /system/lib64/libjpeg.so jsimd_extrgbx_ycc_convert_neon 0.27% /system/lib64/libjpeg.so jsimd_fdct_islow_neon 0.23% /system/lib64/libjpeg.so jsimd_huff_encode_one_block_neon 0.14% /system/lib64/libjpeg.so jsimd_quantize_neon Call graph tracing reveals that TaskSnapshotPersister is responsible for taking the screenshots: 0.16% 0.16% /system/lib64/libjpeg.so encode_mcu_gather | -- encode_mcu_gather | --50.00%-- compress_output process_data_simple_main jpeg_write_scanlines SkJpegEncoder::onEncodeRows(int) SkJpegEncoder::Encode(SkWStream*, SkPixmap const&, SkJpegEncoder::Options const&) SkEncodeImage(SkWStream*, SkPixmap const&, SkEncodedImageFormat, int) android::Bitmap::compress(SkBitmap const&, android::Bitmap::JavaCompressFormat, int, SkWStream*) android::Bitmap::compress(android::Bitmap::JavaCompressFormat, int, SkWStream*) Bitmap_compress(_JNIEnv*, _jobject*, long, int, int, _jobject*, _jbyteArray*) art_jni_trampoline android.graphics.Bitmap.compress com.android.server.wm.TaskSnapshotPersister$StoreWriteQueueItem.writeBuffer com.android.server.wm.TaskSnapshotPersister$StoreWriteQueueItem.write com.android.server.wm.TaskSnapshotPersister$1.run art_quick_invoke_stub art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*) art::JValue art::InvokeVirtualOrInterfaceWithJValues<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, jvalue const*) art::Thread::CreateCallback(void*) __pthread_start(void*) __start_thread Manual code tracing leads to ActivityRecord as the culprit, as it takes a screenshot every time an Activity is finished. This doesn't appear to be critical, so revert the commit that added it in order to reduce excess CPU usage. Test: simpleperf record -a; verify that libjpeg-turbo no longer appears in top sample hits Change-Id: Ib161679f1f3b83787f90b8ef7dcf46d246bb7c57 Signed-off-by: Adithya R <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 157d9c6 - Browse repository at this point
Copy the full SHA 157d9c6View commit details -
InsetsStateController: Replace ArrayMap with HashMap for performance
When opening and closing activities in Settings, a significant amount of CPU time is spent looking up ArrayMap entries, as reported by simpleperf: 0.12% /system/framework/arm64/boot-framework.oat android.util.ArrayMap.binarySearchHashes InsetsStateController is responsible for a significant portion of the time spent in ArrayMap lookups: 0.08% 0.08% /system/framework/arm64/boot-framework.oat android.util.ArrayMap.binarySearchHashes | -- android.util.ArrayMap.binarySearchHashes | --50.00%-- android.util.ArrayMap.indexOf | |--36.71%-- android.util.ArrayMap.get | |--0.87%-- [hit in function] | | | |--6.67%-- com.android.server.wm.InsetsStateController.peekSourceProvider | | | | | |--68.77%-- com.android.server.wm.DisplayPolicy.beginLayoutLw | | | com.android.server.wm.DisplayContent.performLayoutNoTrace | | | com.android.server.wm.DisplayContent.performLayout | | | com.android.server.wm.DisplayContent.applySurfaceChangesTransaction | | | com.android.server.wm.RootWindowContainer.applySurfaceChangesTransaction | | | com.android.server.wm.RootWindowContainer.performSurfacePlacementNoTrace | | | com.android.server.wm.RootWindowContainer.performSurfacePlacement | | | com.android.server.wm.WindowSurfacePlacer.performSurfacePlacementLoop | | | com.android.server.wm.WindowSurfacePlacer.performSurfacePlacement | | | com.android.server.wm.WindowManagerService.relayoutWindow | | | com.android.server.wm.Session.relayout | | | android.view.IWindowSession$Stub.onTransact | | | com.android.server.wm.Session.onTransact | | | android.os.Binder.execTransactInternal | | | android.os.Binder.execTransact | | | art_quick_invoke_stub | | | art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*) | | | art::JValue art::InvokeVirtualOrInterfaceWithVarArgs<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, std::__va_list) | | | art::JValue art::InvokeVirtualOrInterfaceWithVarArgs<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list) | | | art::JNI<false>::CallBooleanMethodV(_JNIEnv*, _jobject*, _jmethodID*, std::__va_list) | | | _JNIEnv::CallBooleanMethod(_jobject*, _jmethodID*, ...) | | | JavaBBinder::onTransact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int) | | | android::BBinder::transact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int) | | | android::IPCThreadState::executeCommand(int) | | | android::IPCThreadState::getAndExecuteCommand() | | | android::IPCThreadState::joinThreadPool(bool) | | | android::PoolThread::threadLoop() | | | android::Thread::_threadLoop(void*) | | | android::AndroidRuntime::javaThreadShell(void*) | | | thread_data_t::trampoline(thread_data_t const*) | | | __pthread_start(void*) | | | __start_thread | | | | | --31.23%-- com.android.server.wm.DisplayPolicy.updateHideNavInputEventReceiver | | com.android.server.wm.InsetsPolicy.updateBarControlTarget | | com.android.server.wm.DisplayPolicy.updateSystemUiVisibilityLw | | com.android.server.wm.DisplayPolicy.finishPostLayoutPolicyLw | | com.android.server.wm.DisplayContent.applySurfaceChangesTransaction | | com.android.server.wm.RootWindowContainer.applySurfaceChangesTransaction | | com.android.server.wm.RootWindowContainer.performSurfacePlacementNoTrace | | com.android.server.wm.RootWindowContainer.performSurfacePlacement | | com.android.server.wm.WindowSurfacePlacer.performSurfacePlacementLoop | | com.android.server.wm.WindowSurfacePlacer.performSurfacePlacement | | com.android.server.wm.WindowManagerService.postWindowRemoveCleanupLocked | | com.android.server.wm.WindowState.removeImmediately | | com.android.server.wm.WindowState.removeIfPossible | | com.android.server.wm.WindowState.removeIfPossible | | com.android.server.wm.WindowManagerService.removeWindow | | com.android.server.wm.Session.remove | | android.view.IWindowSession$Stub.onTransact | | com.android.server.wm.Session.onTransact | | android.os.Binder.execTransactInternal | | android.os.Binder.execTransact | | art_quick_invoke_stub | | art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*) | | art::JValue art::InvokeVirtualOrInterfaceWithVarArgs<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, std::__va_list) | | art::JValue art::InvokeVirtualOrInterfaceWithVarArgs<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list) | | art::JNI<false>::CallBooleanMethodV(_JNIEnv*, _jobject*, _jmethodID*, std::__va_list) | | _JNIEnv::CallBooleanMethod(_jobject*, _jmethodID*, ...) | | JavaBBinder::onTransact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int) | | android::BBinder::transact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int) | | android::IPCThreadState::executeCommand(int) | | android::IPCThreadState::getAndExecuteCommand() | | android::IPCThreadState::joinThreadPool(bool) | | android::PoolThread::threadLoop() | | android::Thread::_threadLoop(void*) | | android::AndroidRuntime::javaThreadShell(void*) | | thread_data_t::trampoline(thread_data_t const*) | | __pthread_start(void*) | | __start_thread | | Empirical testing reveals that mProviders usually contains 9 entries, at which HashMap is 34% faster than ArrayMap for lookups and 57% faster [1] for insertions. The increased memory usage should be negligible at this size, so we can safely convert the map to a HashMap in order to improve performance in this hotpath. [1] https://docs.google.com/spreadsheets/d/136UJS2yVlZyPx30KDNgj4AWldkp9xbzIcWkLFj9RGgk/edit Test: simpleperf record -a; verify that InsetsStateController no longer appears under ArrayMap.binarySearchHashes Change-Id: Ic08d4c3e56cf10b322eabc115de441c6c5f4a898 [ghostrider-reborn: adapt to 13] Signed-off-by: Adithya R <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2e589ff - Browse repository at this point
Copy the full SHA 2e589ffView commit details -
SystemServiceRegistry: Replace ArrayMap with HashMap for performance
When opening and closing activities in Settings, a significant amount of CPU time is spent looking up ArrayMap entries, as reported by simpleperf: 0.12% /system/framework/arm64/boot-framework.oat android.util.ArrayMap.binarySearchHashes PackageManagerService is responsible for a significant portion of the time spent in ArrayMap lookups: 0.08% 0.08% /system/framework/arm64/boot-framework.oat android.util.ArrayMap.binarySearchHashes | -- android.util.ArrayMap.binarySearchHashes | --50.00%-- android.util.ArrayMap.indexOf | |--36.71%-- android.util.ArrayMap.get | |--0.87%-- [hit in function] | | | |--5.42%-- android.app.SystemServiceRegistry.getSystemService | | android.app.ContextImpl.getSystemService | | android.view.ContextThemeWrapper.getSystemService | | android.app.Activity.getSystemService | | | | | |--52.18%-- TemporaryFile-kEdnnv[+9b97baa8] | | | TemporaryFile-FwF2he[+9b96d048] | | | art_quick_invoke_stub | | | art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*) | | | art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*) | | | bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*) | | | MterpInvokeVirtual | | | mterp_op_invoke_virtual | | | libcrypto.so[+3fac6] | | | MterpInvokeDirect | | | mterp_op_invoke_direct | | | libcrypto.so[+3faa8] | | | MterpInvokeVirtual | | | mterp_op_invoke_virtual | | | libcrypto.so[+3730c] | | | art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.13341777805210357670) | | | artQuickToInterpreterBridge | | | art_quick_to_interpreter_bridge | | | java.util.concurrent.Executors$RunnableAdapter.call | | | java.util.concurrent.FutureTask.run | | | java.util.concurrent.ThreadPoolExecutor.runWorker | | | java.util.concurrent.ThreadPoolExecutor$Worker.run | | | java.lang.Thread.run | | | art_quick_invoke_stub | | | art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*) | | | art::JValue art::InvokeVirtualOrInterfaceWithJValues<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, jvalue const*) | | | art::Thread::CreateCallback(void*) | | | __pthread_start(void*) | | | __start_thread | | | | | --47.82%-- android.view.ContextThemeWrapper.getSystemService | | android.view.ContextThemeWrapper.getSystemService | | android.content.Context.getSystemService | | android.view.View.onVisibilityAggregated | | android.view.View.dispatchAttachedToWindow | | android.view.ViewGroup.dispatchAttachedToWindow | | android.view.ViewGroup.dispatchAttachedToWindow | | android.view.ViewGroup.dispatchAttachedToWindow | | android.view.ViewGroup.dispatchAttachedToWindow | | android.view.ViewGroup.dispatchAttachedToWindow | | android.view.ViewGroup.dispatchAttachedToWindow | | android.view.ViewGroup.dispatchAttachedToWindow | | android.view.ViewRootImpl.performTraversals | | android.view.ViewRootImpl.doTraversal | | android.content.ContextWrapper.getAssets [DEDUPED] | | android.view.Choreographer.doCallbacks | | android.view.Choreographer.doFrame | | android.view.Choreographer$FrameDisplayEventReceiver.run | | android.os.Handler.dispatchMessage | | android.os.Looper.loop | | android.app.ActivityThread.main | | art_quick_invoke_static_stub | | art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*) | | art::InvokeMethod(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned long) | | art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*) | | art_jni_trampoline | | com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run | | com.android.internal.os.ZygoteInit.main | | art_quick_invoke_static_stub | | art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*) | | art::JValue art::InvokeWithVarArgs<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, std::__va_list) | | art::JValue art::InvokeWithVarArgs<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list) | | art::JNI<true>::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list) | | _JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...) | | android::AndroidRuntime::start(char const*, android::Vector<android::String8> const&, bool) | | main | | __libc_init | | Empirical testing reveals that SYSTEM_SERVICE_FETCHERS contains 134 entries, at which HashMap is 54% faster than ArrayMap for lookups and 74% faster [1] for insertions. The increased memory usage should be a worthwhile trade-off at this size, so we can safely convert the map to a HashMap in order to improve performance in this hotpath. Because SYSTEM_SERVICE_NAMES, SYSTEM_SERVICE_FETCHERS, and SYSTEM_SERVICE_CLASS_NAMES have the same names and similar uses, all of them have been converted to HashMaps for consistency and performance. [1] https://docs.google.com/spreadsheets/d/136UJS2yVlZyPx30KDNgj4AWldkp9xbzIcWkLFj9RGgk/edit Test: simpleperf record -a; verify that SystemServiceRegistry no longer appears under ArrayMap.binarySearchHashes Change-Id: I2a5b23793a4fc8aa720eead3ecc7ca4589cb67da Signed-off-by: Adithya R <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8753c66 - Browse repository at this point
Copy the full SHA 8753c66View commit details -
core/jni/libandroid_runtime: Use ThinLTO
Partial revert of cd1e70b There is no longer a build break here, this was only needed on R. Change-Id: Ic0541ed792ab1b658810ef32c9b5bf278ec62540 Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 549d951 - Browse repository at this point
Copy the full SHA 549d951View commit details -
libandroid_defaults: Use ThinLTO
In global LTO builds, this is significantly responsible for improved app launch times. Change-Id: I1c7cfb44548b4d47a0347e328c0ab730380580a4 Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c1c12c9 - Browse repository at this point
Copy the full SHA c1c12c9View commit details -
AbsListView: Improve scrolling cache
Scrolling cache helps make short scrolls/flings smooth but will cause stutter when long flings are made. This patch disables scrolling cache when long flings are made. This patch also fixes a related bug where scrolling cache will not be enabled properly when transitioning from flinging to scrolling. Patch Set 2: Calculate threshold based on maximum velocity (Sang Tae Park) Change-Id: Iad52a35120212c871ffd35df6184aeb678ee44aa Signed-off-by: Alex Naidis <[email protected]> (cherry picked from commit 740bc8e4acbb72b4de9660d302f1f22c55033627) Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 63f751d - Browse repository at this point
Copy the full SHA 63f751dView commit details -
ViewConfiguration: Set scroll friction to 0.012
Reduce scroll friction to a better default value which is used in Scroller and Overscroller. Change-Id: I66a7663a18bb80263c51f3d54a2bb1e3fe5d0b4d Signed-off-by: Alex Naidis <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cd0fd7a - Browse repository at this point
Copy the full SHA cd0fd7aView commit details -
base: Set scrolling friction to 0.006f
Improves responsiveness Change-Id: I18a52ac84ba9c8274adc757e41ca2ca995d514f6 (cherry picked from commit 880b46952860865a412f81110d4d77e03331ab51) Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a84b16f - Browse repository at this point
Copy the full SHA a84b16fView commit details -
base: Add support for strict standby policy
When dismissing from recents, this will force stop apps with restricted battery usage and put them into RESTRICTED standby bucket. Also all restrictions will be imposed even when device is charging. This can be useful to kill dirty vigorous Chinese apps. [ghostrider-reborn]: - Add more restrictions (jobs, alarms) - Show toast only in ENG build - Remove settings toggle Change-Id: I8f075ef48c5775971e3e0b8b1ea843d70a2e44c4 Co-authored-by: Adithya R <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6477e0e - Browse repository at this point
Copy the full SHA 6477e0eView commit details -
am: Block MEDIA_MOUNTED broadcast for restricted apps
This blocks ACTION_MEDIA_MOUNTED for victims of "strict standby" and "force background freezer". Some apps e.g. MobileQQ are using this for boot completed notification, which could block the process of serialized broadcast for quite a while. Also move `=` to `.equals()` because the latter one is the proper way for comparing strings, although the former one is just working fine statically within system server context. Change-Id: I46a85e7d9f386b10e6001697cf98f77ff058c3e7 Signed-off-by: LibXZR <[email protected]> Signed-off-by: Adithya R <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ab3f40a - Browse repository at this point
Copy the full SHA ab3f40aView commit details -
StrictStandby: Offload force stop onto lock-free context
Fixes potential dead lock when plenty of tasks get removed at the same time. Change-Id: Ib26dc55bfb3b86b29f25e25887406c7859f66e34 Signed-off-by: LibXZR <[email protected]> Signed-off-by: Adithya R <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3b54b74 - Browse repository at this point
Copy the full SHA 3b54b74View commit details -
https://katb.in/kat9848 I'm not 100% sure, but I believe that this was the reason for a SystemUI hang, which was responsible for the fact that the screen could not be switched on for several seconds and just remained black. Change-Id: I6ba156b35da4fe5725e5c69119967096e3a586cd Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3e96f0b - Browse repository at this point
Copy the full SHA 3e96f0bView commit details -
base: Introduce PowerOffAlarmService
A service that makes use of qcom's power off alarm feature Eliminates the need of app specific implementation for said feature Should work with any alarm app that uses AlarmManager.setAlarmClock Change-Id: I2eb9610eee5dea520683512f0e5b8e374f33152a Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1f02302 - Browse repository at this point
Copy the full SHA 1f02302View commit details -
base: PowerOffAlarmService: Add a notification
To help the user know if their app is supported by this service Change-Id: Ie489fe593b8eeb77c88ebf8b5158261e5105ec63 [ghostrider-reborn: use PendingIntent.FLAG_IMMUTABLE to fix crash] Signed-off-by: Adithya R <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3da1d40 - Browse repository at this point
Copy the full SHA 3da1d40View commit details -
fixup! QuickUnlock: Avoid saving pin/password length as in a sql db
Also animate the delete button for every pin based password input Old-Change-Id: I21c708063268eedbd63bcad89539b7ed603d5b7e Change-Id: I01eda7c078af3289c00d37c84f52d454b378c624 Signed-off-by: Adithya R <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0a8896e - Browse repository at this point
Copy the full SHA 0a8896eView commit details -
libhwui: Enable O3 when compiling with LTO
This reduces ui jitter by a lot. Jitter (averge): Before | After ---------------- ~300ms | ~200ms Test: Observe jitter values on uibench Change-Id: I0caa4d013f7eb183a88a061ae22e07c401b40eaa Signed-off-by: Vaisakh Murali <[email protected]> Signed-off-by: Adithya R <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4b680d1 - Browse repository at this point
Copy the full SHA 4b680d1View commit details -
core: Initial SenseProvider for FaceSense service
SenseProvider is a custom provider that connects and listens to FaceSense, the service responsible for face unlock on a device. The provider is loosely based on Android's HIDL provider but instead of using a HAL, we use our own service to handle face data Change-Id: I1b83429a793a50fba292a38dbf5aa8a54ae5ace3 [ghostrider-reborn: rename prop to ro.face.sense_service.enabled] Signed-off-by: Adithya R <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cb95ca1 - Browse repository at this point
Copy the full SHA cb95ca1View commit details -
SystemUI: Hide camera chip when using face unlock
Follows stock Android behavior, camera chip should not be shown when sense is the incoming package Change-Id: I29eb1e0fabb570829f29d3a3f23c9e897b1a7df0 Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2fbcad6 - Browse repository at this point
Copy the full SHA 2fbcad6View commit details -
SystemUI: Improve network traffic layout and add back unit support
Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7496b98 - Browse repository at this point
Copy the full SHA 7496b98View commit details -
SystemUI: Fix keyguard affordance icon tint in light theme
Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1c3b1d8 - Browse repository at this point
Copy the full SHA 1c3b1d8View commit details -
Squashed Import of PixelPropsUtils
commit 444afd520dd93038d8cd9f68438536240a2b608e (pixel/thirteen, m/thirteen) Author: jhenrique09 <[email protected]> Date: Sun Jul 2 18:34:00 2023 -0300 PixelPropsUtils: Remove pixel whitelist Change-Id: I28ff6643ebe656478d3f5dde28ca88cd3d7a7542 commit a8561c81d7e2cae1730a1e25b74823a980838b86 Author: jhenrique09 <[email protected]> Date: Thu Mar 23 16:22:25 2023 -0300 PixelPropsUtils: Simplify GoogleCamera whitelisting Change-Id: I7db1b60343dff661a9f1c4116f689c3cc5afbdfc commit aa4c66949ad5552b3221cbd5b7fdf072dd7ce60e Author: jhenrique09 <[email protected]> Date: Wed Mar 22 12:39:22 2023 -0300 PixelPropsUtils: Spoof user build Change-Id: Ie33e0213a2608ecceea37b0e4cfb1115d6a0b788 Change-Id: I7583251294028bd7c8a9372c4a9ee79b42213f94 commit 9c9e560381218d27dd3100789bdcb42634939521 Author: Sourajit Karmakar <[email protected]> Date: Tue Jun 20 21:45:18 2023 -0400 PixelPropsUtils: Enable new Velvet Weather UI Change-Id: I45310071f0267be1ea26f7c00044a56a763a3e6a * Adapt to current PixelPropsUtils Original commit: StatiXOS/android_frameworks_base@ce72977 Change-Id: I0989ef14aec6fabcc0733232ddb65fd96fe7d80d Signed-off-by: someone5678 <[email protected]> commit ad3fee4764092a5f8b2b36c9efda0cb55e757901 Author: aswin7469 <[email protected]> Date: Tue Jun 20 12:33:17 2023 +0530 PixelPropUtils: Misc updates * unspoof gms pkg as whole, only spoof required processes * cleanup some duplicates * spoof play store to Pixel 5 Co-authored-by: Ido Ben-Hur <[email protected]> Co-authored-by: someone5678 <[email protected]> Change-Id: Ifb9a4ed5a864e293c52f7d96a2f4d27cd6152c96 commit 232dbb7b0974819b2386cf59f3f3cf9d1c5e3ee0 Author: aswin7469 <[email protected]> Date: Sat Jun 17 13:53:45 2023 +0530 PixelPropUtils: Add emojiwalls and cinematiceffects pkgs commit dda7fccc336876d4843e32ad2b80a97edb977c47 Author: aswin7469 <[email protected]> Date: Thu Jun 8 13:30:13 2023 +0530 PixelPropUtils: Switch to raven for asi Change-Id: Ie57206e750e8554cf097c9466523526526b575b4 commit 9b492c93076552320a0bcbca65062ed7bb95551d Author: aswin7469 <[email protected]> Date: Sat Feb 18 16:18:33 2023 +0530 PixelPropsUtils: Add Pixel 6 Pro * fixes google dialer getting updated to pixel version and warn user about incompatibility * also remove unnecessory netflix spoof toggle Change-Id: I365f96acad5ee9d2aec1f74e2b49816bc121b891 Co-authored-by: someone5678 <[email protected]> commit 00a5906509e7ea00214b06820b26e0093f85e0a7 Author: Adithya R <[email protected]> Date: Thu Jun 8 16:55:44 2023 +0530 PixelPropUtils: Un-spoof GMS while adding google account GMS uses its DroidGuard service (the same that's used for safetynet) to get the device name from the build fingerprint, which from our current certified props, is Pixel XL. The device name after Google login shows up in the login alert accordingly as Pixel XL, which is inconvenient especially when you have multiple devices on the same ROM. By restarting the DroidGuard service process (gms.unstable) as soon as the user starts adding Google account (i.e when the GMS add account activity is started and moved to the top of the task stack), we can skip spoofing to certified props in this instance. When the user stops/finishes adding account (GMS add account activity is no longer at the top of the task stack), restart the process again, this time spoofing to certified props in order to be ready for safetynet. This ensures while adding a Google account, GMS reads the original properties of the device and labels the device with its original name, while in any other situation GMS reads certified properties required to pass SafetyNet/Play Integrity. Test: - Add google account from setup wizard, settings, any other app - Observe correct device name in gmail login alert - SafetyNet (basic, CTS), Play Integrity (basic, device) passes. [aswin7469]: Adapted for PixelPropUtils Change-Id: Ia5463f220a8262f7963fc5b2640a7a5311a73210 commit deaa854f20181e3e31e920510f043296f04e90e1 Author: aswin7469 <[email protected]> Date: Thu May 18 14:26:26 2023 +0530 core: block 2021/22 pixel features to ASI and pixel launcher * blacklist pe features and spoof redfin to get rid of tensor shits Change-Id: I83aa09c151f51ee61361510b2c1a9ac8865a2aee commit cdaff9a21351200bef20ffd3aa663c5a875541c5 Author: John Galt <[email protected]> Date: Fri Apr 14 09:55:46 2023 -0400 core: block 2022+ pixel experience xmls to ASI Resolves downloads on play store updated ASI (newer than image-cheetah-tq2a.230405.003.e1 shipping). commit 8451c0b203fadf036ab36a468532ddf67915a9fd Author: jhenrique09 <[email protected]> Date: Thu Feb 23 16:44:35 2023 -0300 PixelPropsUtils: Don't declare propsToChange as static * Since that variable was static, it may hold props from undesired devices (like Pixel 7), use a new instance on every app to fix that. Change-Id: I7cf0836056a9cd5c9664ef0b203fc2a9bc5237f5 commit 207382c0a673a705abaaa8eec4eba1fce46ad915 Author: John Galt <[email protected]> Date: Wed Mar 22 11:32:52 2023 -0400 PixelPropsUtils: move snapchat to walleye spoofing Snapchat on A13 without spoofing has delayed messages issue on many devices. Spoofing to newer pixels does not resolve this and additionally can harm photo quality on non pixels. However spoofing to an older device and android version such as Walleye resolve the delayed messages without harming photo quality. commit 8ed83d4d0d2c3341d30d16736e4241bfa8cfa10d Author: aswin7469 <[email protected]> Date: Wed Mar 22 16:44:42 2023 +0530 PixelPropUtils: Update spoofs commit 1793b260cf5062af2c90e339016e84c17f542dd7 Author: aswin7469 <[email protected]> Date: Tue Mar 14 04:08:17 2023 +0530 PixelPropsUtils: Update build fp to march 2023 Change-Id: I1f11e53e2718c5bbbfded177338fb11b3e3ccd39 commit 276703f3f91e19e78ef34d6998a3ac4bd4b39cc0 Author: minaripenguin <[email protected]> Date: Wed Feb 8 22:36:56 2023 +0530 PixelPropUtils: Update gms unstable process spoof to walleye * spoof product & device name also to fix cts/play certification as of today original commit: https://github.com/minaripenguin/android_frameworks_base/commit/3714dd8b8c6ab1bd621ba23cf14d32dc01abd302 Change-Id: Ia32c6a6366cea9e03b76bec48e849dfe43620d2f Co-authored-by: aswin7469 <[email protected]> commit 51b0f20d99f2dd9ba608ba53ae80069898faac28 Author: Anirudh Gupta <[email protected]> Date: Wed Jan 4 18:20:56 2023 +0000 PixelPropsUtils: Set shipping level to 32 for devices >=33 If ro.product.first_api_level is 33, its forced to use HW attestation even though the safteynet checker app shows BASIC setting it to 32 allows for software attestation and passing CTS Change-Id: Ie7326eaac48424cdea3d9633ebe13c65053ef6c1 Signed-off-by: Dyneteve <[email protected]> commit e1cc436f2d0ebe43b868bc3c26b039f4b2bae83e Author: Dyneteve <[email protected]> Date: Tue Dec 6 15:59:08 2022 +0100 PixelPropsUtils: Use actual device model name Signed-off-by: Dyneteve <[email protected]> Change-Id: I454654d87b3ea6286e12e9a9f5ed120f06cb2aa6 commit f54b8e06428fbe8b1d8b2293b6091448369b3ed0 Author: Danny Lin <[email protected]> Date: Mon Jan 23 04:31:31 2023 +0000 PixelPropsUtils: Use spoofBuildGms for FP and model alteration * From hentaiOS/platform_frameworks_base@05b3987. Change-Id: I4fb21862e8a79c4c616c1faaee3d393f2e40ba34 commit d991314b9872428c16fc54761ef94f65a4005858 Author: aswin7469 <[email protected]> Date: Thu Jan 26 00:27:15 2023 +0530 PixelPropsUtils: Update spoofs * change cheetah fingerprint to global varient Change-Id: Ie187749a304cbf4e1371d8dbed17729a92293cf4 commit 81bf1d7c04c41624034a5a5217be35b2703a8d18 Author: aswin7469 <[email protected]> Date: Fri Jan 13 20:03:52 2023 +0530 PixelPropsUtils: Add toggle for Gaming and google photos spoofs Change-Id: I0e0e3fe7289ae4334981d6eed5280c71ab417b50 Co-authored-by: Pranav Vashi <[email protected]> Co-authored-by: ghostrider-reborn <[email protected]> Co-authored-by: spezi77 <[email protected]> commit b97ca2c24fc51e3614f02f598a9875eaf6ac874e Author: aswin7469 <[email protected]> Date: Fri Jan 13 14:25:58 2023 +0530 PixelPropUtils: spoof snapchat Change-Id: I4b46bd5f1d58f256a356b685ad04e4de694d3dec commit b5c12e0de721ca37b44f2cc1f447e2b07311961c Author: aswin7469 <[email protected]> Date: Wed Jan 4 11:41:56 2023 +0530 PixelPropUtils: update january 2023 commit df0a5837b7344f62ab742192a2e09a7ac5d7787a Author: jhenrique09 <[email protected]> Date: Sun Jan 1 13:37:37 2023 -0300 PixelPropsUtils: Use redfin props for extra packages Change-Id: If51bba2e21c722301e57a85bad8387479fb83574 (cherry picked from commit 8a6da0b93664cfea9e30000bb38bf987f321be89) commit 26e9fdc220cd83093581cb96bd226a89a0590b55 commit 7248c21c7f2351c007e5f265f8415f098f400ee4 Author: aswin7469 <[email protected]> Date: Wed Nov 2 15:20:37 2022 +0530 PixelPropsUtils: spoof nothing smartcenter to pixel * after the update to 2.0.2 , its checking for NTExperince on phone 1 (Spacewar) as the custom rom's lacking it just crashes so workaround this by spoofing it TEST: app opens and successfully connect to ear (1) Change-Id: Iad9cf39bb8e55e4c22ff237d8e2ee5160dcea4e1 commit d3c447e Author: jhenrique09 <[email protected]> Date: Mon Nov 7 21:14:13 2022 -0300 PixelPropsUtils: Press F for flame and coral Change-Id: Icba703edb590586874628d672b33f5a20f7e85d3 commit 02b3886 Author: jhenrique09 <[email protected]> Date: Fri Nov 4 15:40:04 2022 -0300 PixelPropsUtils: Get package name from context instead of app 11-04 08:48:39.039 11637 11637 E AndroidRuntime: FATAL EXCEPTION: main 11-04 08:48:39.039 11637 11637 E AndroidRuntime: Process: com.NextFloor.DestinyChild, PID: 11637 11-04 08:48:39.039 11637 11637 E AndroidRuntime: java.lang.RuntimeException: Unable to get provider androidx.startup.InitializationProvider: androidx.startup.StartupException: android.content.pm.PackageManager$NameNotFoundException: ComponentInfo{/androidx.startup.InitializationProvider} 11-04 08:48:39.039 11637 11637 E AndroidRuntime: at android.app.ActivityThread.installProvider(ActivityThread.java:7488) Change-Id: Icb12f938fe0fca710f8f9d29182d0134ba3c63eb commit 11eb143 Author: jhenrique09 <[email protected]> Date: Sun Sep 11 14:58:02 2022 -0300 PixelPropsUtils: Correct spoof props for Samsung apps * Workaround to avoid force closes especially on Wearable apps Change-Id: Ieb5a6745f6f93914e2c509b1454c22324cf3c7d7 commit 0d858ac Author: Pranav Vashi <[email protected]> Date: Tue Oct 25 23:20:10 2022 +0530 PixelPropsUtils: Spoof Gboard with PixelXL Signed-off-by: Pranav Vashi <[email protected]> Change-Id: If712cb9ca4da8883bd4108d933471f8c5f2101c4 commit 0e32da6 Author: EnesSastim <[email protected]> Date: Tue Oct 25 14:04:49 2022 +0000 PixelPropsUtils: Don't spoof euicc Signed-off-by: Pranav Vashi <[email protected]> commit cb7054c Author: Dyneteve <[email protected]> Date: Tue Aug 23 18:57:05 2022 +0200 PixelPropsUtils: Apply key attestation workaround to Play Store as well Play Store is used for the new Play Integrity API, extend the hack to it as well. Test: Device Integrity and Basic Integrity passes. Change-Id: Id607cdff0b902f285a6c1b769c0a4ee4202842b1 Signed-off-by: Dyneteve <[email protected]> Signed-off-by: Pranav Vashi <[email protected]> commit b38f8d8 Author: Joey Huab <[email protected]> Date: Thu Oct 13 13:06:00 2022 +0000 PixelPropsUtils: Switch from raven fp to cheetah * Update packages * Remove GMS as we are setting it to angler Signed-off-by: Pranav Vashi <[email protected]> commit e98f2a0 Author: Alexander Winkowski <[email protected]> Date: Fri Oct 14 23:25:32 2022 +0200 PixelPropsUtils: Spoof Nexus 6P for GMS unstable process To fix Play Integrity, taken from kdrag0n/safetynet-fix#207 Signed-off-by: Pranav Vashi <[email protected]> commit 6de0e93 Author: Danny Lin <[email protected]> Date: Mon Nov 1 20:06:48 2021 -0700 PixelPropsUtils: Limit SafetyNet workarounds to unstable GMS process The unstable process is where SafetyNet attestation actually runs, so we only need to spoof the model in that process. Change-Id: Idcf663907a6c3d0408dbd45b1ac53c9eb4200df8 Signed-off-by: Pranav Vashi <[email protected]> commit 085a344 Author: Pranav Vashi <[email protected]> Date: Sun May 29 19:34:09 2022 +0530 PixelPropsUtils: Exclude recorder from pixel props * Just like YouTube apps, Recorder shows device is Pixel 5. There is no special pixel feature associated with this app, exclude it. Signed-off-by: Pranav Vashi <[email protected]> commit 7f4db31 Author: Anay Wadhera <[email protected]> Date: Fri Dec 10 13:11:49 2021 -0800 PixelPropsUtils: Remove spoofing for currently supported Pixel devices Change-Id: I3a426f8671f841c16e5af7c0a2a204d19c502464 commit 0a351e8 Author: Omkar Chandorkar <[email protected]> Date: Sat Mar 5 02:35:21 2022 +0900 PixelPropsUtils: Only spoof GMS to Raven * please shut the fuck up EdgeTpuDeviceFactory Change-Id: I2ef71a12e613bee7a01e27ae36f9b07a3b78e766 Signed-off-by: Omkar Chandorkar <[email protected]> Signed-off-by: Pranav Vashi <[email protected]> commit cff3b11 Author: Pranav Vashi <[email protected]> Date: Sun Feb 27 15:23:50 2022 +0530 PixelPropsUtils: Whitelist YouTube apps * Otherwise casting shows wrong device connected. Signed-off-by: Pranav Vashi <[email protected]> commit c90d87a Author: Joey Huab <[email protected]> Date: Thu Jan 27 13:33:48 2022 +0900 PixelPropsUtils: Whitelist ARCore * ARCore crashes due to being spoofed as hardware and software mismatch is detected. * Crash occurs while being used in Google app search feature. Signed-off-by: Pranav Vashi <[email protected]> commit 2b18c2d Author: Pranav Vashi <[email protected]> Date: Tue Jan 11 09:49:00 2022 +0530 PixelPropsUtils: Bail out early when required Signed-off-by: Pranav Vashi <[email protected]> commit 4f769c2 Author: Pranav Vashi <[email protected]> Date: Tue Jan 11 09:43:53 2022 +0530 PixelPropsUtils: Extend list of packages to keep * It's better to not touch props for these packages at all, instead running loop over it. * Ref: AOSPA/android_frameworks_base@dc2940c Signed-off-by: Pranav Vashi <[email protected]> Change-Id: Ica5aee62c38ae46c5003a1d35ba6bdc9f865b2ef commit ee51411 Author: Pranav Vashi <[email protected]> Date: Mon Jan 10 22:55:33 2022 +0530 PixelPropsUtils: Consolidate google app checks Signed-off-by: Pranav Vashi <[email protected]> commit 596a952 Author: Pranav Vashi <[email protected]> Date: Sat Jan 8 18:35:43 2022 +0530 PixelPropsUtils: Do not change props for play store * Else Play Protect certification fails. Test: Open Play Store > Settings > About Signed-off-by: Pranav Vashi <[email protected]> commit 16f7bdf Author: Danny Lin <[email protected]> Date: Mon Oct 11 20:00:44 2021 -0700 keystore: Block key attestation for SafetyNet SafetyNet (part of Google Play Services) opportunistically uses hardware-backed key attestation via KeyStore as a strong integrity check. This causes SafetyNet to fail on custom ROMs because the verified boot key and bootloader unlock state can be detected from attestation certificates. As a workaround, we can take advantage of the fact that SafetyNet's usage of key attestation is opportunistic (i.e. falls back to basic integrity checks if it fails) and prevent it from getting the attestation certificate chain from KeyStore. This is done by checking the stack for DroidGuard, which is the codename for SafetyNet, and pretending that the device doesn't support key attestation. Key attestation has only been blocked for SafetyNet specifically, as Google Play Services and other apps have many valid reasons to use it. For example, it appears to be involved in Google's mobile security key ferature. Change-Id: I5146439d47f42dc6231cb45c4dab9f61540056f6 Signed-off-by: Pranav Vashi <[email protected]> commit bc334ec Author: jhenrique09 <[email protected]> Date: Mon Aug 22 21:40:25 2022 -0300 Import PixelPropsUtils Thanks to @kdrag0n for the original idea at ProtonAOSP/android_frameworks_base@5a54bfd Also includes: commit b40a373888c6fd7287c490bbda6b53fdbcca5f09 Author: Danny Lin <[email protected]> Date: Mon Nov 1 20:06:48 2021 -0700 Limit SafetyNet workarounds to unstable GMS process 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: Idcf663907a6c3d0408dbd45b1ac53c9eb4200df8 commit 5cb42949b4725a6a21d4e021e71791578893d1be Author: Dyneteve <[email protected]> Date: Thu Dec 30 19:11:41 2021 +0100 PixelPropsUtils: Use Pixel 5a codename to GMS on Pixels Change-Id: I0ba7225e23296f1f3aa95560af43c567949ba900 (cherry picked from commit caedd884bbcad0425898d100537ac7b9a2c56456) commit 5017b2d530d5712770bd851cada56c368b5ef274 Author: Karan Parashar <[email protected]> Date: Sat Feb 5 08:01:40 2022 +0530 PixelPropsUtils: Avoid spoofing for Pixel Buds - it breaks the app, thanks to @ helenius147 [TG] for pointing this out Change-Id: Id0dd0af78ca78db6ad50617e04dbc880c0515c2e (cherry picked from commit d19d773bf1aa2a1c5abcc15e72ab1347c6e2f5c7) commit 47ddf9a78caeb2fc65481b75e6f768533133254c Author: Joey Huab <[email protected]> Date: Thu Jan 27 13:33:48 2022 +0900 PixelPropsUtils: Whitelist ARCore * ARCore crashes due to being spoofed as hardware and software mismatch is detected. * Crash occurs while being used in Google app search feature. Change-Id: I008da8b09b6467dca2ceb26649c3cb3dee44777d Signed-off-by: Chenyang Zhong <[email protected]> commit e8a20fb Author: Joey Huab <[email protected]> Date: Fri Feb 18 03:16:18 2022 +0900 PixelProps: Set Pixel 5 as spoof for more Google apps Change-Id: I7281356c89b5379f3a9c75e613e7a59e3c6c40ab commit 8e50c58 Author: Anay Wadhera <[email protected]> Date: Fri Dec 10 13:11:49 2021 -0800 PixelPropUtils: remove spoofing for currently supported Pixels Change-Id: I3a426f8671f841c16e5af7c0a2a204d19c502464 Reviewed-on: https://review.statixos.com/c/android_frameworks_base/+/6410 Tested-by: Anay Wadhera <[email protected]> Reviewed-by: Sourajit Karmakar <[email protected]> Change-Id: I926b23324e669e24079c78fecc0c7a0b77c15e13 commit 838ff9e Author: Adithya R <[email protected]> Date: Sat Nov 27 16:53:23 2021 +0530 PixelPropsUtils: Avoid spoofing props for gcam and mods Change-Id: Ia6f095b1511152ae6ba705990def71e7e4546072 commit d72b3ce Author: vladsendrix <[email protected]> Date: Fri Dec 31 03:18:04 2021 +0100 PixelPropsUtils: Spoof Pixel XL for Google Photos pixel_2016_exclusive.xml is already added, why not have it actually work Change-Id: If0b8064c7cb633139ee7c30a7bf1a8543bcc9cad commit 0f73ff5 Author: Danny Lin <[email protected]> Date: Mon Oct 11 20:00:44 2021 -0700 keystore: Block key attestation for SafetyNet SafetyNet (part of Google Play Services) opportunistically uses hardware-backed key attestation via KeyStore as a strong integrity check. This causes SafetyNet to fail on custom ROMs because the verified boot key and bootloader unlock state can be detected from attestation certificates. As a workaround, we can take advantage of the fact that SafetyNet's usage of key attestation is opportunistic (i.e. falls back to basic integrity checks if it fails) and prevent it from getting the attestation certificate chain from KeyStore. This is done by checking the stack for DroidGuard, which is the codename for SafetyNet, and pretending that the device doesn't support key attestation. Key attestation has only been blocked for SafetyNet specifically, as Google Play Services and other apps have many valid reasons to use it. For example, it appears to be involved in Google's mobile security key ferature. Change-Id: I5146439d47f42dc6231cb45c4dab9f61540056f6 Signed-off-by: jhenrique09 <[email protected]> Co-authored-by: Danny Lin <[email protected]> Signed-off-by: Pranav Vashi <[email protected]> Change-Id: Ic68aadf5d8d2352da4c3adf1e7f67ef0a1dd5df2 commit bfec00bf4ffc40297c97bf02d124696f279c0dbe Author: aswin7469 <[email protected]> Date: Wed Nov 2 15:23:14 2022 +0530 PixelPropsUtils: Spoof some more gooogle apps to cheetah * as we started using more cheetah components more spoofs are required commit 4edf7f0408d7388891879419c80570f26ddaaa19 Author: aswin7469 <[email protected]> Date: Wed Nov 2 15:20:37 2022 +0530 PixelPropsUtils: spoof nothing smartcenter to pixel * after the update to 2.0.2 , its checking for NTExperince on phone 1 (Spacewar) as the custom rom's lacking it just crashes so workaround this by spoofing it TEST: app opens and successfully connect to ear (1) commit 0349f9f528d35faacd08589b01f9dcada9b3d109 Author: Danny Lin <[email protected]> Date: Mon Sep 12 12:54:31 2022 +0000 [SQUASH] Switch to AttestationHooks Also includes: Spoof product name for Google Play Services (hentaiOS/platform_frameworks_base@05b3987 c1) NB: This code is under the gmscompat package, but it does not depend on any code from gmscompat. Change-Id: Ic018c0d7abe4573143c3b92301a2625b91e6673a keystore: Block key attestation for SafetyNet (hentaiOS/platform_frameworks_base@cac8283 0ea5) SafetyNet (part of Google Play Services) opportunistically uses hardware-backed key attestation via KeyStore as a strong integrity check. This causes SafetyNet to fail on custom ROMs because the verified boot key and bootloader unlock state can be detected from attestation certificates. As a workaround, we can take advantage of the fact that SafetyNet's usage of key attestation is opportunistic (i.e. falls back to basic integrity checks if it fails) and prevent it from getting the attestation certificate chain from KeyStore. This is done by checking the stack for DroidGuard, which is the codename for SafetyNet, and pretending that the device doesn't support key attestation. Key attestation has only been blocked for SafetyNet specifically, as Google Play Services and other apps have many valid reasons to use it. For example, it appears to be involved in Google's mobile security key ferature. Change-Id: I5146439d47f42dc6231cb45c4dab9f61540056f6 Limit SafetyNet workarounds to unstable GMS process (hentaiOS/platform_frameworks_base@fce9b65 472cb5a594) 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: Idcf663907a6c3d0408dbd45b1ac53c9eb4200df8 gmscompat: Apply the SafetyNet workaround to Play Store aswell (hentaiOS/platform_frameworks_base@c9a086f9b635bf4e3e6 1fbd501ade464f8f5b713) Play Store is used for the new Play Integrity API, extend the hack to it aswell Test: Device Integrity and Basic Integrity passes. Signed-off-by: Dyneteve <[email protected]> Change-Id: Id607cdff0b902f285a6c1b769c0a4ee4202842b1 gmscompat: Use Nexus 6P fingerprint for CTS/Integrity (hentaiOS/platform_frameworks_base@813f11628014a93d45f55dedd434 fdddd9510eb0) Google seems to have patched the KM block to Play Store in record time, but is still not enforced for anything under android N. Since we moved to angler FP we don't need to spoof model to Play Store anymore, however the KM block is still needed. Test: Run Play Intregrity Attestation Signed-off-by: Dyneteve <[email protected]> Change-Id: Ic2401a6e40ddfc4318a1d0faa87e42eb118ac3d1 Co-authored-by: Dyneteve <[email protected]> commit faa0f69a85bc241f7824057ab32b64d713716245 Author: aswin7469 <[email protected]> Date: Thu Oct 13 23:30:50 2022 +0530 core: Blacklist PIXEL_2022_EXPERIENCE for photos commit 7fa6c569bb243d442a80333d25806bd06645f110 Author: ReallySnow <[email protected]> Date: Fri Sep 23 14:18:46 2022 +0800 core: Fix Pixel feature leaked to other apps * Current execution order is [1] `((A && B) && C) || (D) || (E) || (F) || (G)` and we want the execution order is [2] `A && B && (C || D || E || F || G)` If follow [1], it will not only affect GPhoto, but also Gcam, Gcam needs to read these functions or it will prompt for unsupported device and then crash Change-Id: I53c97591fe7526c8dc6f07b914a43dc0f8b197b7 commit 34765c3259207c1ee2fd83bccfb1caf9894b8cd3 Author: Akash Srivastava <[email protected]> Date: Sat Aug 20 19:04:32 2022 +0700 core: Pixel experience Blacklist For Google Photos for Android 13 * See, in Android 13 pixel_experience_2022_midyear was added, which needs to be blacklisted aswell Change-Id: Id36d12afeda3cf6b39d01a0dbe7e3e9058659b8e commit 21e6846ac9415bbfd9acb23bf418a44e30c578e0 Author: kondors1995 <[email protected]> Date: Mon Dec 20 16:53:46 2021 +0000 core: Extend Pixel experience Blacklist For Google Photos Turns out having these brakes Original quality backups. Since these indicate that the device is pixel 4 with in the turn brakes device spoofing as OG pixel Change-Id: I336facff7b55552f094997ade337656461a0ea1d commit ac0056ac3cdfe5c82e61e958075e10a59d5bcdf8 Author: naveenjohnsonv <[email protected]> Date: Mon Dec 13 07:16:55 2021 +0000 core: Blacklist P21 midyear, P20, P20 midyear experience system feature from Google Photos naveenjohnsonv: also blacklist PIXEL_2021_MIDYEAR_EXPERIENCE, PIXEL_2020_EXPERIENCE and PIXEL_2020_MIDYEAR_EXPERIENCE from Google Photos Along with crosshatch spoof for Google Photos using PixelPropUtils, this should enable Unlimited Original Quality Backup without needing to rem ove any XMLs Test: Google Photos editor with PIXEL_2021_EXPERIENCE feature in product Change-Id: Iad083ce049cd1786494a71c3b8d575f0caabb4e7 commit d1061c15df7d259ab192345045868b7325b1054e Author: Kuba Wojciechowski <[email protected]> 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 <[email protected]> Change-Id: I51a02f8347324c7a85f3136b802dce4cc4556ac5 Change-Id: I6b32d66fda2293afc1fc6ae82c5604274e6b73b0 Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e5276e4 - Browse repository at this point
Copy the full SHA e5276e4View commit details -
base: ApplicationPackageManager: Block Tensor features for Recorder
* Now Recorder also use Tensor soc feature for mic recording Log: 07-09 11:03:53.820 15531 15721 I tflite : Initialized TensorFlow Lite runtime. 07-09 11:03:53.833 15531 15721 W libc : Access denied finding property "ro.hardware.chipname" 07-09 11:03:53.835 15531 15721 I tflite : Created TensorFlow Lite XNNPACK delegate for CPU. 07-09 11:03:53.850 15531 15722 I Recorder_ManagedSequent: Finished initializing components. 07-09 11:03:53.850 15531 15723 I Recorder_ManagedSequent: Finished initializing components. 07-09 11:03:53.876 15531 15611 I Recorder_ManagedSequent: Finished initializing components. 07-09 11:03:53.877 15531 15611 I Recorder_ManagedSequent: Finished initializing components. 07-09 11:03:53.877 15531 15573 I Recorder_ManagedSequent: Finished initializing components. 07-09 11:03:53.878 15531 15573 I Recorder_ManagedSequent: Finished initializing components. 07-09 11:03:53.879 15531 15614 I Recorder_ManagedSequent: Finished initializing components. 07-09 11:03:53.879 15531 15614 I Recorder_ManagedSequent: Finished initializing components. Change-Id: I36b30057f45f831420db3f2fc13538dbfa5ebd56 Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for be4768b - Browse repository at this point
Copy the full SHA be4768bView commit details -
base: ApplicationPackageManager: Exclude PE 2021 Midyear from tensor …
…pixel list * Pixel 5a (which is qcom soc) included this by default Change-Id: I94559b0800084bb79608251568a44a48d74a7057 Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for edf1191 - Browse repository at this point
Copy the full SHA edf1191View commit details -
core: Port CLO's Framework Boost
* This works just as well as it does on CLO. Ofc relies on CLO's Perf libs Change-Id: Icc2f6d5aa244ffcc43931c993d1a116ff7ec0bf5 Signed-off-by: chrisl7 <[email protected]> (cherry picked from commit c1f593f59b6cdd480f16023716baef2564643b52) Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5ae0d4b - Browse repository at this point
Copy the full SHA 5ae0d4bView commit details -
perf: Add lock protection for initialization in ScrollOptimizer
As the initialization function can be accessed from multiple threads, need to add lock protection to avoid data race issue. Change-Id: I22e9ae8392cdc00e36131b257e24bb17e9d8e361 CRs-Fixed: 3343100 Signed-off-by: chrisl7 <[email protected]> (cherry picked from commit 2ec1f76c32f6b8c4e1904bf554dcbdea275ded9c) Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d401cd2 - Browse repository at this point
Copy the full SHA d401cd2View commit details -
Filter multi-layer cases for pre-rendering
Multi-layer rendering can result in unexpected pending between UI thread and render thread if pre-rendering enabled. Need to disable pre-rendering for multi-layer cases. Change-Id: I569e6eb77e4feb2071b9f172d3d9ea9e7eddbacb CRs-Fixed: 3333436 Signed-off-by: chrisl7 <[email protected]> (cherry picked from commit c8e8711ffbc36661ea4b3a1cd7daa88ef0b21737) Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8ebbe34 - Browse repository at this point
Copy the full SHA 8ebbe34View commit details -
OverScroller: Import BoostFramework.ScrollOptimizer
Change-Id: I1faf475d3b935b0b9a62c5ae4225d04b078004d9 Signed-off-by: chrisl7 <[email protected]> (cherry picked from commit 32723942cbc2df78fbf37b4db5882a79e1b0bc27) Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3960183 - Browse repository at this point
Copy the full SHA 3960183View commit details -
AuthRippleView: Allow disabling ripple unlock animation using overlay
Change-Id: Ib5a1709e05ca1a405389ce0af25e7cb68c87b6ea Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9ec89b2 - Browse repository at this point
Copy the full SHA 9ec89b2View commit details -
BoostFramework: Guard it with overlay
Change-Id: I5e22a590b0f1f0e9a678d45d06bb262021cf84bb Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a65a680 - Browse repository at this point
Copy the full SHA a65a680View commit details -
core: Set default value for config_displayLightSensorType
Change-Id: Ifa67f6c403fe465fc213c5d19e2cba4abb92405e Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 612add2 - Browse repository at this point
Copy the full SHA 612add2View commit details -
Perf:Fix the issue that activity boost duration abnormal.
1. Should only apply launch boost when the activity is from main intent 2. When activity finish before show, need release boost before finish. Change-Id: I201e45ac86b60d400b67e52da063184ee75c574e CRs-Fixed: 3365671 Signed-off-by: chrisl7 <[email protected]> (cherry picked from commit 97d1f0c8f270b7f088313709e533531fdd7f0c9b) Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4e394bb - Browse repository at this point
Copy the full SHA 4e394bbView commit details -
CachedAppOptimizer : Fix compaction configuration being ignored
Till Android-S, action for some and full compactions can be configured from vendor based on vendor.appcompact.some_compact_type and vendor.appcompact.full_compact_type properties. But From Android-T these actions are hard coded and configurations from vendor are ignored. This change restores this vendor side configurability. Adding a vendor config to enable appcompaction debug logs. CRs-Fixed: 3365547 Change-Id: I3836154bc827bef04fc16fcef6a7390fd262b862 Signed-off-by: chrisl7 <[email protected]> (cherry picked from commit 68f18f807811fa6066b0a6ab6923d579b6c13b25) Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e9ecec5 - Browse repository at this point
Copy the full SHA e9ecec5View commit details -
CachedAppOptimizer : Pageout File pages during system compaction
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: 3371572 Change-Id: I81c2152b11eee458068834698395e160e6340b79 Signed-off-by: chrisl7 <[email protected]> (cherry picked from commit 91aaef8bb92bc1328a55180c4375e5093bc7992a) Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5ad94ca - Browse repository at this point
Copy the full SHA 5ad94caView commit details -
hwui: renderthread/CanvasContext: Reduce the timeout for dequeueing b…
…uffers * QPR1 has introduced an issue on all moto-common projects where * OpenGLRenderer could fail to dequeue buffers sproradically * We can reduce this timeout in order to not inconvenience * the user with a laggy UI Change-Id: Ib8bed652d597c1789806211bdfa885050caf1dfe Signed-off-by: electimon <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 963448f - Browse repository at this point
Copy the full SHA 963448fView commit details -
Fix an issue that the FoldStateListener induces a memory leak
FoldStateListener is non-static inner class and keeps reference to the outer class which is CameraManager. As CameraManager also keeps context with mContext, memory leak could exist. Changing FoldStateListener to static inner class, so that the class won't keep the reference. Bug: 242264787 Test: Manual test with memory profiling Change-Id: I77652bd94b50eabc80041e13274b619c0da36601 Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 11bb3e1 - Browse repository at this point
Copy the full SHA 11bb3e1View commit details -
SystemUI: Refactor lockscreen charging info for Adaptive charging
Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f1bd7f4 - Browse repository at this point
Copy the full SHA f1bd7f4View commit details -
ApplicationPackageManager: Conditionally enable tensor features
Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 04f7bff - Browse repository at this point
Copy the full SHA 04f7bffView commit details -
SystemUI: VolumeDialog: add support for unlinked ringer streams
Change-Id: Ib08fa774688eb669b80cc0804716438abe6b5807 Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c11dd1c - Browse repository at this point
Copy the full SHA c11dd1cView commit details -
base: Add switch to unlink ringtone and notifications volume [1/2]
* Make use of AOSP config to set default initial value Ref: crdroidandroid/android_frameworks_base@345ff7b crdroidandroid/android_frameworks_base@ab1aad9 @SKULSHADY: Use the AOSP drawables for volume panel Signed-off-by: Pranav Vashi <[email protected]> Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a35d804 - Browse repository at this point
Copy the full SHA a35d804View commit details -
policy: Add support for device alert sliders
* Provide support for alert slider hardware. * Ability to swap order of alert slider within system setting. * Enable setting config_hasAlertSlider to true and defining proc nodes for state path and UEvent match path. * Contributors: @Thecrazyskull @carlosavignano TODO> SystemUI integration. Forward ported to Pie by @Sirhc95 Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3b52ada - Browse repository at this point
Copy the full SHA 3b52adaView commit details -
SystemUI: Introduce user interface for Alert Sliders
Ported from OxygenOS and reworked for our alert slider implementation. We target AudioManager instead of Zen, icons are also the same as aosp and the dialog uses the material theme as well as support for our themes. To use, the alert slider config must be enabled. By default, the dialog shows on the left side. To move it to the right side, set the location config to 1. Change-Id: Ie1954a44cc5242c95a731abd7404379ea638fe70 Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 377863d - Browse repository at this point
Copy the full SHA 377863dView commit details -
SystemUI: Improve alert slider dialog
- Convert px to dip - Modify the dialog to match toast - Fix positioning for OP7 Pro slider - Remove unused dimens and drawables Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5ab081b - Browse repository at this point
Copy the full SHA 5ab081bView commit details -
SystemUI: Make tri-state SystemUI dialog dimensions conditional
Adjust this based on the left/right config. @SKULSHADY: Fix dimens for right dialog Change-Id: I282f1a318bc9bf1cfd20c6b8c41be5f79fab4534 Signed-off-by: Anushek Prasal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 619170f - Browse repository at this point
Copy the full SHA 619170fView commit details
Commits on Jul 25, 2023
-
Camera: Add feature extensions
This change includes below gerrits: # This is a combination of 8 commits. # The first commit's message is: Camera: Add support for QC camera features. Added APIs and keys for all QC features. This will enable application to get/set paramters. (cherrypicked from commit d0c5a0ee7e9af41320fed00ff324c6d0f22eb697) Change-Id: I68c23aaf7267645efeb4d4743b390a048292b7fd # This is the 2nd commit message: Camera: Adds support for meta data callbacks - This change adds a new type of callback that will be called when there are pending meta data notifications. Change-Id: I84f5cbafe4f023c7b0efa9ec8620756b0eaa428d # This is the 3rd commit message: Camera: Adds support for longshot configuration - The Camera API is extended with one additional call for longshot mode configuration. (cherrypicked from commit 867c4865b2a61a8e844e2784c41b7aafc392aec0 ) Change-Id: Idb91a21dc0d9fa9d22b4a6bbcc0b2eebfc2cb6db # This is the 4th commit message: Camera: Add support for manual 3A Add API for manual 3A (awb/af/aec). Change-Id: Ia5240207ce7a6628e8fdfef79f56db01add14aef # This is the 5th commit message: Camera: use single KEY for set/get manual 3A parameters. Instead of using different KEYs, we can share one same key, for set/get 3A parameters from APK. Change-Id: Ie3216ee4e1b8f62fcdd57a0be119d4b8dcdd81b3 # This is the 6th commit message: Framework: Adding support for Auto HDR Adding support for Auto HDR for camera CRs-fixed: 629556 Change-Id: Ie5e4718524d2ed799f1f9af1f76e89c01d743ac8 # This is the 7th commit message: Camera: Add support for video rotation Adding apis to support video rotation. CRs-Fixed: 672804 Change-Id: Ic67e82058824a6dc7cc803ef0efe61475350bafc # This is the 8th commit message: Camera: Expose aux camera if package name is null In case of the package name not being found properly the name would always be found in the excludelist, even if the list is empty. This leads to denying aux camera access in some cases where it is not intended to be blocked.
Configuration menu - View commit details
-
Copy full SHA for 5b8b7c2 - Browse repository at this point
Copy the full SHA 5b8b7c2View commit details -
here are 2 commits camera: Add backwards-compatible CaptureResultExtras constructor Commit PixelExperience/frameworks_base@e16fed2 added readout timestamp parameters which changed the constructor, but is unsupported by few stock camera apps, such as MIUI Camera. camera2: Add non burst sizes to mandatory streams for ultra high resolution
Configuration menu - View commit details
-
Copy full SHA for 22654b1 - Browse repository at this point
Copy the full SHA 22654b1View commit details