| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* This is being done by SystemGesturesPointerEventListener now.
* PowerHAL will need an update
Change-Id: I6b8e8181b5858fa96f520e656e67553cdbb9ce22
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change-Id: I8cc3fc465daa49c9010bdbbf876dae18461d7024
Require: topic:dock_battery
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Improve dock battery strings
Change-Id: Iccfa2df4ec608ae02c0bfcef99648788dab95933
systemui: fix battery text level visibility
Use present flag instead of plug-in flag to determine the battery present (only hide the
text level view if the battery is not present)
Change-Id: I8e20e107bbeeecdc846833dc80c1a2754d82a039
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
systemui: restore space between clock & battery
Initialize dock battery to GONE visibility because isn't update on device not supporting
dock battery.
Change-Id: I23aeafc27db0fc499050a7306e8549293accb507
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
SystemUI: fix battery icon jump on qs expand
The layouts are slightly different for the header and icon layouts.
Change-Id: I85d3fc007eb9b2c3e2ba09bb761a91b521b89700
Signed-off-by: Roman Birg <roman@cyngn.com>
systemui: move dock battery level views outside systemicons layout
At not the ideal, this at least will match normal battery level view, puttings battery levels
in the correct order. In addition fix two small dock battery bugs:
- BatteryLevelTextView not displayed if mode is TEXT
- Properly hide DockBatteryMetterView for modes NONE and TEXT
- Underline the dock BatteryLevelTextView to differentiate normal from dock text view
Screenshot: https://cloud.ruesga.com/f/74fe240c66/
Change-Id: Idfd3a4bb2f19bd29f9f4dd2b0ea7f645bb531986
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This should resolve the issue where sensitive notifications continue
to hide sensitive information even when unlocked.
Per app hiding of sensitive notificiations should continue to work
as well as hiding sensitive information when locked and that setting
is enabled.
Change-Id: Ib19f0709941714df6c337a7b11523d71b37c5ca2
TICKET: CYNGNOS-2176
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sometimes, the volume control expand arrow would be displayed
incorrectly. When different apps use different volume controls and
force different orientations, the position of the arrow (expand button)
will not be updated correctly. When this happens the arrow cannot be
pressed and the volume settings cannot be expanded.
The underlying reason is that onLayoutChange only compares the old
dimensions of a view with the new dimensions, which doesn't take into
account that the last time onLayoutChange was run it may have been run
for a different view (a different volume control), in which case the
dimensions of the new view may not have changed, but the arrow needs to
be repositioned anyway as it needs to be positioned in relation to
another view.
Fix this problem by storing the last stream (volume control) that the
arrow was positioned in relation to, and checking if we're positioning
in relation to the same stream the next time the position of the arrow
is updated.
Change-Id: Id23e7605d50857292e09c1909b3e27f01bdf5e22
|
|
|
|
|
|
|
|
| |
This ensures we don't get an IndexOutOfBounds exception in
StatusBarIconController when adding the notifications back in.
Change-Id: I70ffd487223f95642ccdb41e9e5a3dde3ba6990d
TICKET: CYNGNOS-2215
|
|
|
|
|
|
|
|
|
|
| |
If a user hotswaps out their SIMs on a multisim device, the
default data sim can be in an "unset" state. Since this is
a possible scenario, its better to show that no data sim
is selected vs no sims being available.
Change-Id: I1e077883472a5037f38f97e6d15afe504f787e6a
TICKET: CYNGNOS-2211
|
|
|
|
|
|
|
|
|
|
| |
This fixes an issue introduced in Ic0f6e01cf7c09d4f8ed7e8735158a6fc093b8dcc
where the user has show all notifications enabled and has turned
on hiding of sensitive notifications for specific apps, but those
notifications still show all content.
Change-Id: Ia00a6acdacfa81e0b54224655c3d81d6a4f56518
TICKET: CYNGNOS-2176
|
|
|
|
|
|
|
|
| |
The roaming indicator overlaps with the signal view
fix it to match the cm-12.1 layout and tint it as well
RM-208
Change-Id: I3b070b867fbf070cdf20cf01eb67c8e4688ac881
|
|
|
|
|
| |
Change-Id: I3688b37342eddcfceeabaae982085884e9bc63ee
TICKET: CYNGNOS-2126
|
|
|
|
|
|
|
|
| |
* Use xml drawables everywhere
* Add muted notification icon
* Use AOSP naming scheme for drawables
Change-Id: I14a3af9a7aecf4828f81a8e39855608e452848d6
|
|
|
|
|
|
|
|
|
|
| |
We need to request a relayout of the view so the panel has a chance to
pick up the new height and update to that size.
Ref: CYNGNOS-2063
Change-Id: I6fa95f7a5a72646e0a990b6ffbac51fffdcf5272
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
|
|
| |
Get the number of connected clients in onReceive and cache the value
to be used in handleUpdateState
Change-Id: I011a13e186c1fa9976df58a4ad1603e6c0cd6bbb
|
|
|
|
|
|
|
|
| |
* This is usually handled in device-specific keyhandler,
where vibration is optional and has the same duration
in all gestures
Change-Id: I879671c9d6f785137d63b8b70de35f5d5020748d
|
|
|
|
|
|
|
|
|
|
| |
In the event that panel hasn't been measured and user drags
panel down, it will be offset unecessarily. Account for this by
making the check take this into account.
OPO-506
Change-Id: Ie46444424152e7bd6101e59a055acf0957716e3a
|
|
|
|
|
|
|
|
|
|
| |
Reset the quick settings page back to the first page when the user
hasn't expanded their statusbar for 10s.
Ref: CYNGNOS-2132
Change-Id: Ia195f8c85c8e399ab5e4808fe0ccc343853a1577
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
|
| |
Fix: mPhoneState value never change
Change-Id: Ica51c1261aef15a0801e7089b788cd77c8d44d14
|
|
|
|
| |
Change-Id: I2572abdf0e2e47af2494a99047a386fbc138a1e0
|
|
|
|
|
|
|
| |
If album art is disabled for some reason (ex. turning off in eleven)
we should display lockscreen wallpaper instead of default wallpaper.
Change-Id: Ia3ccc5cbf62cbbc446fbdd0975701a1e5277824f
|
|
|
|
|
|
|
|
| |
Since we no longer post a notification showing that the wifi hotspot
is on and the # of connected clients, we now show the # of clients
connected in the label of the hotspot QS tile.
Change-Id: I9ed37b96db9b5b4320a7260524f69733ea70d030
|
|
|
|
|
|
|
|
|
|
|
| |
Fix to show the SIM card settings when QS network tile is long
pressed.
This patch also ports commit d427e02 from cm-12 to prevent showing
mobile network options for seconday users
Change-Id: I6c94fda5d2de0aa26285bd7d14b7dceac044bf41
TICKET: CYNGNOS-2052
|
|
|
|
|
|
|
|
|
|
|
| |
While going away from the detail view, sometimes it wasn't able to
refresh it's state, resulting in the icon not showing and then appearing
suddenly.
Ref: CYNGNOS-2056
Change-Id: I9a634cc4c774c78dc7316619db446f4ea6c2c79f
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
|
|
|
| |
Also verify that a third party keyguard component is even
set.
Change-Id: I9b8193c013067b76d16c035e11eb40f3cf8f46a7
TICKET: CYNGNOS-2084
|
|
|
|
|
|
|
|
|
|
| |
If the user has selected to hide private data in notifications and
switches to Swipe without changing the notification redaction, the
notifications should remain redacted until the user changes back
to show all notification content.
Change-Id: Ic0f6e01cf7c09d4f8ed7e8735158a6fc093b8dcc
TICKET: YAM-103
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Includes partial reverts:
Revert "KeyHandler: don't break old interfaces"
This reverts commit 31ecbdc5fcc1263e9028107858565d951798fd93.
Revert "framework: move device key handler logic, fix gesture camera launch"
This reverts commit db1b4e6e4880be1828342be9bc468d36565a2ef0.
Ref: OPO-427
Change-Id: Ic15543a8f63ad4521ab0ab536d00224b0bd70f8c
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
| |
Change-Id: I26be3bf614f95e3c8bc278610ab64fc86d02fda2
TICKET: CYNGNOS-2084
|
|
|
|
|
|
| |
Issue-id: CYNGNOS-1892
Change-Id: I200ccc319e81762c0485f405279bcc9880f07b71
|
|
|
|
|
| |
Change-Id: If410ed3a5ff0868c539b5f9fdb6c4b2a0ed38aac
TICKET: CYNGNOS-2031
|
|
|
|
|
|
|
|
| |
This ensures StatusBarKeyguardViewManager is in the correct state
when the keyguard is being dismissed with an end action.
Change-Id: If60da2c699dc430a62ec3ffab44bffcb4e4665fb
TICKET: CYNGNOS-2053
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some apps, I'm looking at you Chrome, don't like to do any work
if they are being started while the lock screen is shown, even
if it is being dismissed. This patch adds another version of
startActivityDismissingKeyguard() which takes an extra boolean
parameter that allows to override the afterKeyguardGone behavior.
Normally that is only true if the resolver will be shown instead
of launching an app. Overriding this allows us to get the exact
behavior we want without altering this behavior under normal
circumstances.
Change-Id: Ia804c7a5a73f2a4ad45593bcfcc192fedddf8d92
TICKET: CYNGNOS-2044
|
|
|
|
|
|
|
| |
Ref: CYNGNOS-1936
Change-Id: I08d4cf6c3613bdc8434c3cd106e6940b0c0a8005
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
|
|
|
|
|
| |
There is a race condition where if the user clears the last
remaining task, and re-opens the switcher before its cleaned up,
they see the clear all icon even with no tasks.
OPO-432
Change-Id: I5d7c04000e7d42d68fae9379075f9da318afd31f
|
|
|
|
|
|
| |
Heads up is still showing even if it's disabled.
Change-Id: I0bd2875836929d6941cbec83762292a5a2c31572
|
|
|
|
|
|
|
|
|
| |
This reverts commit 6d24aa43398a9888bc93d3d4afe0eccd24211356.
Fixes janky headsup animation when a (new) headsup is displayed.
RM-208
Change-Id: Icf2e620fec696b55ac611cba47321a23acf0120c
|
|
|
|
|
|
|
|
| |
On some legacy devices flashlight can't stay on when screen is off.
With this change, flashlight can use wakelock. For obvious reasons,
this is turned off by default and needs to be enabled through overlay.
Change-Id: Ia69309cf023430c9e90634a722be97ebbf6677ca
|
|
|
|
| |
Change-Id: Ia2fe8cbce18a505b7137f17657f35359a4c0bdb6
|
|
|
|
|
|
|
|
| |
If the user has a live lock screen enabled we should not show the
static lock screen wallpaper.
Change-Id: I7e509924b49c8acbc31d076f251f470da1eed8a6
TICKET: CYNGNOS-1963
|
|
|
|
|
|
|
| |
Continue to show the LLS when the status bar state is SHADE_LOCKED
Change-Id: I3f676bec9a036ea629e47f600f58d53d3cfa079d
TICKET: CYNGNOS-1964
|
|
|
|
| |
Change-Id: I5d4aa97ae63fc0bcc40f0fa7d9305efbba091029
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We use this method to determine wither to allow profiles and the lock
screen tile whether to allow messing with the lockscreen.
Don't check whether the keystore is empty. Check whether we allow trust
agents by DPM. And also make keyguard use this method to respect it.
Ref: CYNGNOS-1930
Change-Id: I1a2b26419d43bd2bbc1d4a5027f1ed78d2744466
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
|
|
|
|
|
|
| |
There is a CTS Verifier test which explicitly says "Please disable 'Do not disturb' by tapping the Quick Settings tile."
This commit breaks this expectation.
This reverts commit d77070c2c3c6bfc72f61fd0d48d15ba6f84cc49f.
Change-Id: I55af2c8194307590f70b2114d6fe5273f5a74528
Ref: CYNGNOS-1979
|
|
|
|
|
|
|
|
|
|
| |
During the move from VolumePanel to the new VolumeController/Dialog
setup, the volume tone logic got removed.
Ref: CYNGNOS-1891
Change-Id: I2860819e83507ef01948d1adb53840feecfa622d
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
|
|
|
|
|
| |
When you disable the left bottom lockscreen target, is suppose to be completely disabled like the right target.
While the icon itself disappears, the preview and hint are still present. This fixes that :-)
See images to see bug:
http://i.imgur.com/WhBvZkc.jpg & http://i.imgur.com/otyOn6m.png
Change-Id: If5b30f03649d5081409a98dbd36c49b99a5095d7
|
|
|
|
|
|
|
|
|
|
|
| |
Devices that support bluring remove FLAG_SHOW_WALLPAPER from the
layout params flags which causes the foreground activity to be
completely visible when the sim pin security screen is shown. If
this screen is visible we treat it as if the keyguard is visible and
show the backdrop if available, otherwise it is blurred.
Change-Id: Ifeae28816cc2f1fad30a2edf1cf51d5cabb005e9
TICKET: CYNGNOS-1266
|
|
|
|
|
|
|
|
|
|
| |
We should hide the keyguard after the user has input their SIM PIN if
the profile (or ourselves) say so.
Ref: CYNGNOS-1930
Change-Id: I6cb1478eebd4442346c4c0970729fbf7450b156c
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Disable (grey out) the lock screen tile when a profile is already
disabling it. Profiles takes precedence over the internal setting.
Also simplify lockscreen disable logic - using a null'd Boolean without
synchonization will lead to things falling out of place.
Ref: CYNGNOS-1930
Change-Id: Ia4cb7926e418a4d72426be65e5bfb11dc44bee5e
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
|
|
| |
The prompt for the PIN for second SIM was missing if lockscreen is
disabled.
Change-Id: Ia98771929e905243967c3be6a428f813c2c3d0a9
|
|
|
|
|
|
|
|
|
|
| |
Also add a broadcast receiver to watch for profile changes/updates and
update the tile whenever we receive those.
Ref: OSS NIGHTLIES-1721, CYNGNOS-1930
Change-Id: I68d4789159cb9a0a25609380054ae5545c9df5bd
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
|
|
| |
Ref: CYNGNOS-1930
Change-Id: Ie5d2557c84c1ff9f1053de525e68c5ed790ecb99
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of just set the mShowing var, we should use the locked method to notify
all the other components that the lockscreen is not going to be shown. Otherwise, the
screen will not be refreshed and will not be drawn.
This happens when PIN set is not enabled (because this one triggers the screen to introduce
the pin). Wihout the PIN set enabled, components are not notified about it.
Change-Id: I949428d47f7ff979afe0e755aa82448ebbd8c598
JIRA: NIGHTLIES-1260, CYNGNOS-1930
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
|
|
|
|
|
|
|
|
|
|
|
| |
This brings it inline with stock behavior and also fixes a couple of issues.
If lock screen was disabled via profiles, on boot you would end up with no home or recents buttons
and if you had a simpin set you would be faced with a black screen with no way to access the phone unless you
popped the sim out.
Ref: CYNGNOS-1930
Change-Id: I9f1f9f467647e31525a1179dc1a0ce7b9dc3285f
|