Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

SystemUI: Import Brazilian Portuguese translations #4

Open
wants to merge 760 commits into
base: 15
Choose a base branch
from

Conversation

franklin-albuquerque
Copy link

No description provided.

PMS22 and others added 30 commits October 20, 2024 20:58
- Saves more juice when kept in pocket

Change-Id: Ic5fb2afaa0c7a3e6c9e9732c64601638c58a089a
Signed-off-by: PMS22 <[email protected]>
Signed-off-by: NurKeinNeid <[email protected]>
* match with lockscreen clock color

Change-Id: I07019e783fc21b3e7576cdc29a94d1d40cd87a96
Signed-off-by: minaripenguin <[email protected]>
* We usually do "userdebug" builds, it is better to disable this.

* Leave it enabled for "eng" builds.

Change-Id: I1a63a9e95fc9e776dcdf84faccfdb42bb7de6d8b
Signed-off-by: Saalim Quadri <[email protected]>
Change-Id: I90fa08f534960ba8684c9fde04c0c51f513af524
WTF google??? this was always true by default. you have a config set to 1 as well.
Please stop smoking.
Consistency was killed with this change introduced in QPR2:
https://android.googlesource.com/platform/frameworks/base/+/14a03f2418f4c2c74a9346f435094358b41af308
I expect it to be fixed by google down the road.
Change-Id: Ia86631dfcf6c4827a80b6caae9095d863995928b
Log:
06-05 15:49:21.806  3530  3530 E AndroidRuntime: FATAL EXCEPTION: main
06-05 15:49:21.806  3530  3530 E AndroidRuntime: Process: com.android.systemui, PID: 3530
06-05 15:49:21.806  3530  3530 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke interface method 'java.util.List com.android.systemui.plugins.clocks.ClockProvider.getClocks()' on a null object reference
06-05 15:49:21.806  3530  3530 E AndroidRuntime: 	at com.android.systemui.shared.clocks.ClockRegistry$pluginListener$1.onPluginLoaded(ClockRegistry.kt:223)
06-05 15:49:21.806  3530  3530 E AndroidRuntime: 	at com.android.systemui.shared.clocks.ClockRegistry$pluginListener$1.onPluginLoaded(ClockRegistry.kt:147)
06-05 15:49:21.806  3530  3530 E AndroidRuntime: 	at com.android.systemui.shared.plugins.PluginInstance.loadPlugin(PluginInstance.java:166)
06-05 15:49:21.806  3530  3530 E AndroidRuntime: 	at com.android.systemui.shared.plugins.PluginInstance.onCreate(PluginInstance.java:116)
06-05 15:49:21.806  3530  3530 E AndroidRuntime: 	at com.android.systemui.shared.plugins.PluginActionManager.onPluginConnected(PluginActionManager.java:213)
06-05 15:49:21.806  3530  3530 E AndroidRuntime: 	at com.android.systemui.shared.plugins.PluginActionManager.lambda$handleQueryPlugins$6(PluginActionManager.java:279)
06-05 15:49:21.806  3530  3530 E AndroidRuntime: 	at com.android.systemui.shared.plugins.PluginActionManager.$r8$lambda$3aJVE1yNrdzfP7_csYMIjrdk6Hc(PluginActionManager.java:0)
06-05 15:49:21.806  3530  3530 E AndroidRuntime: 	at com.android.systemui.shared.plugins.PluginActionManager$$ExternalSyntheticLambda4.run(R8$$SyntheticClass:0)
06-05 15:49:21.806  3530  3530 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:959)
06-05 15:49:21.806  3530  3530 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:100)
06-05 15:49:21.806  3530  3530 E AndroidRuntime: 	at android.os.Looper.loopOnce(Looper.java:232)
06-05 15:49:21.806  3530  3530 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:317)
06-05 15:49:21.806  3530  3530 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:8502)
06-05 15:49:21.806  3530  3530 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
06-05 15:49:21.806  3530  3530 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:555)
06-05 15:49:21.806  3530  3530 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)

Change-Id: I42512041db498a963ed726efd62d748d5d5033d2
Signed-off-by: someone5678 <[email protected]>
If the UID changes while a dim was set it'd never be set back to 0
This was actually triggered for some users:

setting the dim with no UID via adb immediately reverted to whatever the app set
dumpsys wallpaper showed a UID under mUidToDimAmount
only settings the dim for that UID via adb allowed having 0 dim back again.

Change-Id: I3c2a90e60c4fd3e5339f0276a5f176ee9cd91c59
Change-Id: I86e1b93152882e79512570899604d2cb49b4dce1
And don't launch camera when camera is in use.

Change-Id: I55a96d6c777104155d879251400956713cb119b5
If the cellular network is in service, and the data network name is not
available for some reason, rather than falling back to the default
network name of "No service", use the carrier name.

Issue: calyxos#2256
Change-Id: Ibf02f67b70cfc5d4804e9d6a3f53a9d112811d1d
Change-Id: I388a4b98e7a10ebba32cdbe4c98a62c340b902d1
Signed-off-by: NurKeinNeid <[email protected]>
Change-Id: I15c3500f069f2bee40b7272f3eaa65cb320de50a
Signed-off-by: cjh1249131356 <[email protected]>
…ride

Original change changed the resource array type for primary display, but left the secondary display resource as a string array. This causes DisplayCutout#getDisplayCutoutSideOverrides() to fail as it's trying to read the resource as an int array.

Change-Id: I77a084cd0de953f595984290d4ff3bbbdff3d9d8
kinda hacky but should work with minimal code changes for now.
From SQ3A.220605.009.A1

[ghostrider-reborn]
- Adapt to aosp, fix crash on click, misc cleanup

This squashes the following commits:
Author: Jake Weinstein <[email protected]>
Date:   Sat Jun 17 05:29:07 2023 +0900

    SystemUI: Apply "Remove smartspace flag" to KeyguardSmartspaceController

    Change-Id: I7bbd0767d69d54854db691f6c90188a33373f529

Author: Adithya R <[email protected]>
Date:   Thu May 18 10:40:11 2023 +0530

    fixup! SystemUI: Open google weather on tapping smartspace

    Add null check for smartspaceTarget before hijacking the intent.

    Fixes AOSPA/Tracker#5

    Change-Id: I1cf9057589f88ba1571a5068fb639cbe011f7a67

Author: Adithya R <[email protected]>
Date:   Thu Jan 26 12:32:39 2023 +0530

    SystemUI: Open google weather on tapping smartspace

    Since smartspace weather activity won't open due to
    caller package (Launcher3) not being google signed,
    hijack the intent to open the google app's exported
    weather activity, which behaves in the same fashion.

    Change-Id: Ic01ede73ab6253bcb301ac794985c3720c5beda3

Author: Ido Ben-Hur <[email protected]>
Date:   Wed Mar 15 11:21:00 2023 +0200

    SystemUI: smartspace: Adapt to 13-QPR2

    Change-Id: I142ee24fb02d2234fc1aec50b8d7ff03eba3d5cf
    Signed-off-by: aswin7469 <[email protected]>

Author: Adithya R <[email protected]>
Date:   Wed Jan 25 18:24:21 2023 +0530

    [WIP] SystemUI: Update smartspace to 13-QPR1

    Credits to https://github.com/BenzoRom/frameworks_packages_SystemUIGoogle (Jason Edson <[email protected]>) for SystemUIGoogle jar and resources.

    Change-Id: I82c310ca72a5b4ae33b414fda223d127abd0d8d2

Author: Adithya R <[email protected]>
Date:   Sat Oct 15 15:04:25 2022 +0000

    SystemUI: BcSmartspaceView: Allow setting current page

    Required by launcher smartspace.

    Change-Id: I51d7728b6b2d3d7dfb06e39d1c9363f89795b54f

Author: jhenrique09 <[email protected]>
Date:   Wed Oct 5 12:26:30 2022 +0900

    SystemUI: Smartspace: Fix music indication on doze/aod

    Change-Id: If375051a6bf44c67344ad05a4366b6cc663f15d9
    Signed-off-by: Omkar Chandorkar <[email protected]>

Author: Adithya R <[email protected]>
Date:   Thu Aug 18 19:11:14 2022 +0530

    SystemUI: Forward-port smartspace to Android 13

    Change-Id: Iddf5c22562b1858e3159fd939c54890e23b29063

Author: SahilSonar <[email protected]>
Date:   Mon Oct 16 16:01:54 2023 +0200

    SystemUI: Forward-port smartspace to Android 14

    Change-Id: Ie408c347613af96cf271735071c93e374ae9e06e

Change-Id: I39444dd95621ccfbe1dfd737e357145014e440d0
Co-authored-by: Anay Wadhera <[email protected]>
Co-authored-by: Adithya R <[email protected]>
This solves the press action not showing dismiss keyguard as it should
Probably caused by outdated RE smartspace.
Oh well, this does it for now.


Former-commit-id: 4c850c890bf5118b2ff6776e3270e45af0ffb88f
11-19 10:05:22.800  3994  3994 W BcSmartspaceView: Unable to register Doze Always on content observer.
11-19 10:05:22.800  3994  3994 W BcSmartspaceView: java.lang.SecurityException: No access to content://settings/secure/doze_always_on: Neither user 10209 nor current process has android.permission.INTERACT_ACROSS_USERS_FULL.

Change-Id: Ibaf64b2e19ee5010a1e58317ede8aa8498bd4ff0
Signed-off-by: Andrzej Perczak <[email protected]>
Signed-off-by: Pranav Vashi <[email protected]>
Matches other cards and prevents the content from being too close to
the page indicator.

Change-Id: I092055e36883095118ef281232fa3721b7c54aa7
 * Expose AutoBrightness button
 * Add tunables
 * Use vector drawables for brightness icons

[BadDaemon]
 * Adapt to SystemUI changes
 * Change code style to use lambdas and locals where possible

[marshmello61]
 * Forward port to Android 13

Author: Luca Stefani <[email protected]>
Date:   Thu Apr 20 18:00:52 2017 +0200

    SystemUI: Use AOSP AutoBrightness implementation

    Change-Id: I3e3660065407d460f30c6e936d951d4d5eae30c6

Author: Michael Bestas <[email protected]>
Date:   Thu Apr 27 14:57:49 2017 +0300

    SystemUI: Use already existing overlay to show QS auto brightness

    * No need for a new overlay when one exists for years

    Change-Id: I9e09a1770f8e645093e880cf1a48597405e0bcf2

Author: Alberto97 <[email protected]>
Date:   Mon May 29 21:07:05 2017 +0200

    SystemUI: Specify user while changing brightness mode

    Allow any user changing brightness mode,
    without this only the main one is able to do that.

    BUGBASH-598

    Change-Id: Ib51e9a45c42837cabb1cfb0d48334165b023a827

Author: Michael Bestas <[email protected]>
Date:   Sun Apr 30 13:45:39 2017 +0300

    SystemUI: Add tunable for auto brightness icon

    Change-Id: I02fe3f5500f95ba9369b952bbec2a073b7ae8316

Author: Alexander Westphal <[email protected]>
Date:   Wed Apr 26 09:20:53 2017 +0100

    SystemUI: use vector drawables for brightness icons

    Change-Id: I8d22f8de22040d68ed1bfab0da3a78aec717fa62

Author: qjohn <[email protected]>
Date:   Sun Jun 18 16:28:10 2017 +0700

    SystemUI: Remove unnecessary brightness icons

    Change-Id: I7e60ff73125bd0304f9ca14ad5c5a9ce11ffceda

Author: Michael W <[email protected]>
Date:   Mon May 25 15:38:33 2020 +0200

    SystemUI: Brightness slider: Always show the brightness icon

    * Right now, we reserve the space for the icon but it's not displayed
      (reserved space is there so the slider doesn't jump)
    * Always display the icon (if automatic brightness is available)
      so it's more consistent

    Change-Id: I5238dc6aad51407349a8d42fae840ea76841dc3d

Author: Michael W <[email protected]>
Date:   Fri May 29 20:09:18 2020 +0200

    SystemUI: Fix for auto brightness icon being shown when disabled

    * With commit 9d42c48c16bba2fcc836cbb68e2979ed9c0d1b23 the case of a
      manually disabled auto brightness icon got lost
    * Re-implement it by also respecting the Settings value instead of just
      the build time flag

    Change-Id: I991977be7e1f7c33947073dbd3ce7a800fb158bf

Author: maxwen <[email protected]>
Date:   Tue Apr 3 18:10:05 2018 +0200

    Allow tuning position for brightness slider

    neobuddy89: Cleaned up, fixed and optimized.
    marshmello61: Forward port to Android 13

    Signed-off-by: Pranav Vashi <[email protected]>
    Signed-off-by: Mayur <[email protected]>

Author: Mayur <[email protected]>
Date:   Wed Aug 31 12:02:23 2022 +0530

    Revert "Remove QQS brightness controller"

    This reverts commit 32b7c35.

    Signed-off-by: Mayur <[email protected]>

Author: Pranav Vashi <[email protected]>
Date:   Sun Mar 27 10:08:48 2022 +0530

    Bring back QQS brightness slider
    [marshmello61: forward port to Android 13]

    Signed-off-by: Pranav Vashi <[email protected]>
    Signed-off-by: Mayur <[email protected]>

Author: Pranav Vashi <[email protected]>
Date:   Thu Mar 31 09:17:08 2022 +0530

    Brightness slider: Fix issues with media mode

    * Properly add brightness slider to required position.

    Signed-off-by: Pranav Vashi <[email protected]>
    Signed-off-by: Mayur <[email protected]>

Author: minarypenguin <[email protected]>
Date:   Mon May 30 19:24:44 2022 +0800

    SystemUI: Refactor brightness slider paddings

    Signed-off-by: minarypenguin <[email protected]>
    Signed-off-by: Mayur <[email protected]>

Author: Pranav Vashi <[email protected]>
Date:   Sun May 8 23:36:19 2022 +0530

    Use brightness icon matching with slider redesign

    * Extracted from crdroidandroid/android_frameworks_base@91bd04a

    Signed-off-by: Pranav Vashi <[email protected]>
    Signed-off-by: Mayur <[email protected]>

Author: timjosten <[email protected]>
Date:   Fri Jul 1 21:44:01 2022 +0900

    SystemUI: Clean up and fix QQS Brightness slider padding

Author: SamarV-121 <[email protected]>
Date:   Wed Dec 14 12:50:23 2022 +0000

    SystemUI: Re-evaluate system theme on QS brightness slider position change

    Change-Id: I1682b81e5abfa1b470c74a6a2872cf8c009eee91

Author: Tim Zimmermann <[email protected]>
Date:   Sat Sep 24 22:11:36 2022 +0200

    SystemUI: Change brightness slider position defaults

    Change-Id: I3cd5b4e3c0f3b4cbf4f3104bc5fd41fe2993169b

Change-Id: Id743ec835cffe4e732f3625080c629c12c5ea544
Wonder why it wasn't done already smh...

Change-Id: I9296fa8ed0f7d95a8024af23dfa53cf6ad9aa5be
* Some usages of the system icons were not updated on a pack change.
  Change that by recreating the icons on theme changes.

Change-Id: Ic2b774d243546a88ac2e17f8441e073629caa1c8
Add Wi-Fi timeout setting

Issue: calyxos#228
Change-Id: I1ac6b19eb35af656afd38eac24bb37fe618859f1
This is so it can be accessed by the Bluetooth APEX module.

Change-Id: I81941dc4e390b17e4ec8f57bf45327f3b8b525db
Easier to activate.

Change-Id: Iced1fdeda8c5a54383424bca60348f71240a8031
crdroidandroid/android_frameworks_base@b670f4b claims to have done this, but it didnt

Change-Id: I4eefdf9dd8f1f48d793a371189d471a5282ea745
Signed-off-by: Joe Maples <[email protected]>
Ghosuto and others added 9 commits October 20, 2024 20:58
Squahed with:

    Author: Pranav Vashi <[email protected]>
    Date:   Sat Feb 19 18:44:31 2022 +0530

    ThemeUtils: Make it compatible for all targets

    * Also, sort packages here itself and remove unused function.

    Signed-off-by: Pranav Vashi <[email protected]>
    Change-Id: Id2b8e924094d2187ded969e396939256ffda9fb4

    Author: spezi77 <[email protected]>
    Date:   Tue Dec 14 17:18:13 2021 +0100

    ThemeOverlayApplier: Catch a potential NPE

    java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.om.OverlayIdentifier android.content.om.FabricatedOverlay.getIdentifier()' on a null object reference

    Signed-off-by: spezi77 <[email protected]>

    Author: Pranav Vashi <[email protected]>
    Date:   Sat Aug 24 02:07:37 2024 +0530

    ThemeUtils: Use current user for THEME_CUSTOMIZATION_OVERLAY_PACKAGES

    * Follow ThemePicker and SystemUI.

    Signed-off-by: Pranav Vashi <[email protected]>

Co-authored-by: Pranav Vashi <[email protected]>
Co-authored-by: spezi77 <[email protected]>
Change-Id: I4324e8bc8d7c6d7df1809a1bd3424abf4dfa1306
After r16, a commit to cleanup the KeyguardClockSwtich and unify it's structure was merged.
Also, this added a new resource into the frameworks core, which allows us to overlay the custom clock font.
So, we need to overlays now to customize this. This makes me really happy because it removes the ugly method that we were doing years ago.
* as seen on NOS 1.5

Signed-off-by: minaripenguin <[email protected]>
[spezi77] Use ThemeUtils method to determine current ClockFontOverlay
          instead of using a settings string.

Change-Id: I05db9d8b13afd0d2979ac07037ba5d78f9058c48
Signed-off-by: minaripenguin <[email protected]>
Signed-off-by: spezi77 <[email protected]>
FLAG_ONLY_UPDATE_TICKER may not always be set by the app because it will prevent update of notification content in Flyme OS, follow Flyme OS behaviour to classify what lyric is
Status bar lyrics: Fix bug where some lyric would be wrongly ignored
@NurKeinNeid NurKeinNeid force-pushed the 15 branch 6 times, most recently from 682a7e2 to a2e0172 Compare November 20, 2024 21:09
@NurKeinNeid NurKeinNeid force-pushed the 15 branch 8 times, most recently from fea6cf9 to 912ef06 Compare December 1, 2024 00:36
@NurKeinNeid NurKeinNeid force-pushed the 15 branch 5 times, most recently from 5691c3b to 575342b Compare December 8, 2024 00:08
@NurKeinNeid NurKeinNeid force-pushed the 15 branch 2 times, most recently from b040574 to d5bbc0e Compare December 21, 2024 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.