| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Existing clients now use the SingleAxisSwipeDetector subclass. A
followup CL will add BothAxesSwipeDetector, whose first client will be
the quick switch from home controller.
Bug: 126596417
Change-Id: I54c71088cfe99ff28cdc719a1eb7a7d06ac95d2d
Merged-In: I54c71088cfe99ff28cdc719a1eb7a7d06ac95d2d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It is now organized as follows:
- private constants
- public constants
- private final fields
- private variable fields
- constructors
- public methods
- private methods
- public interface/abstract class
This is intended to be a functional no-op.
Bug: 141939911
Change-Id: Iad5a9b3b73b35641f8a4f1d52ada6adef3825c47
Tested: Built and sanity checked manually.
|
|
|
|
| |
Change-Id: I44bca49b8adb6fa22c3b48d10f674e42c28d792c
|
|
|
|
|
|
|
| |
Approch: approach: filter out people with null getKey before sorting.
Bug:139436782
Change-Id: I6510a12374ff4fec02c879ff76ba42b1fcdb8281
|
|
|
|
|
|
|
| |
set of person
Bug: 132336512
Change-Id: I975524e28168c10a186cdc24b188c161faf433cf
|
|
|
|
|
|
|
| |
Now that we only show dots instead of badges, we can simplify some logic
and remove a couple unused methods.
Change-Id: I72056eeb12e8968ec67b4c5b3a450d2ed5d4ee84
|
|
|
|
|
|
|
|
| |
This will reduce confusion with the other "badging" concept we use for,
e.g. work profiles. It is also consistent with the external name
"notification dots".
Change-Id: I2a2c9d96dc0d6284eb0c48adc78a856271caad4d
|
|
|
|
|
| |
Bug: 117519297
Change-Id: Ie9d948130aea50bf10c9fc625fdb16f4cfc4712e
|
|
|
|
|
|
|
|
| |
> Items ids were already being typecasted to int when being bound on the UI
> Using a consistent type allow better use of platform data-structures
> Adding IntArray and IntSet as a replacement for various Collection classes
Change-Id: Id3c650ed2420c2bfca3bd7671d2b705b56112371
|
|
|
|
| |
Change-Id: I14f2f970825a2936f4bb285834405d67daf8667c
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I9a774152d13a541e8496dd84f2469bfed407f86d
|
|/
|
|
|
|
|
|
| |
Static dependency does not work in the presence of multiple activities and
when the main activity is not Launcher (eg in fallback recents). Instead
creating FirstFrameAnimatorHelper on demand for individual animations.
Change-Id: I17bb69bbaaca92f0db994fb56fd784302c57d543
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(This cl reverts change-Id: I455edcd17bda83ab51c2c04fa40e66097a4d6975)
Various animations were marked for cancellation when launcher activity is
destroyed. This this does not work with multiple activities (Launcher,
fallback recents, shortcut confirmation). Also since launcher activity
handles configuration changes, the activity is not destroyed often.
Instead associating a target with various animations which automatically
cancels the animations when that target goes away.
Change-Id: I64cd095a28075561a9e20c9dcdeb9f90c18e1047
|
|
|
|
| |
Change-Id: Ie7bd879200b1f14d472ff03fd64429930651a39f
|
|
|
|
|
|
|
|
| |
Somethimes onSettingChanged can come after the connected has disconnected because
of posting message on the different thread.
Bug: 110929527
Change-Id: I09f503c2f2f437c8656d491a7fdec3ce4e82257b
|
|
|
|
| |
Change-Id: I5c06b18f731e2dc8e47bacba59746fc4cc02c42c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We were requesting unbind in onCreate(), but the NotificationListenerService
documentation for requestUnbind() clearly states "The service should wait for the
{@link #onListenerConnected()} event before performing this operation. I know it's
tempting, but you must wait." I was tempted, and I did not wait. :(
The fact that the notification listener was binding even though the setting was off
was not only inefficient, but also had at least one user-visible bug: because
secure settings are set per user, the global badging setting actually only applies
canShowBadge = false for user 0; other users such as work profile still show badges.
Repro steps:
1. Have a work profile
2. Get a notification on work profile app and normal app
3. Turn off global badging setting ("Allow notification dots" from home settings)
4. Reboot the device
In this case, we get onCreate, call requestUnbind() which is ignored since we aren't
bound, then get onBind() and onListenerConnected() etc. Thus the work profile app has
a notification dot and other apps don't.
Bug: 71545493
Change-Id: I7f7dc219b25c28257f8b98fba7e362b99d3cba45
|
|
|
|
|
|
|
|
|
|
| |
There seems to be an edge case where we can get a null notification in
onNotificationRemoved(); there's nothing actionable about that, so just
ignore it to prevent NPE. Also add null check to onNotificationPosted()
for good measure.
Bug: 69140873
Change-Id: I3586bf435d05aee38b99dffd3d01315b433e8476
|
|
|
|
|
| |
Bug: 77327164
Change-Id: I3580df8bf8a43cb44123f203ffed9a85fa33aea7
|
|
|
|
|
| |
Bug: 74429562
Change-Id: I82329b84d4d50f89218b431440dccb9ef33b1ba5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tested by running:
"runtest -x cts/tests/app/src/android/app/cts/NotificationManagerTest.java
-m testAutogrouping_autogroupStaysUntilAllNotificationsCanceled"
The test fails before this change, and passes afterwards.
Also manually verified that the original bug that introduced this
regression (b/65100024) remains fixed.
Bug: 68215987
Change-Id: I4af198fd5257ad1dfab5e052c11f58ea84b5095a
|
|
|
|
| |
Change-Id: I62da2da4169835edf043bc085583adfb027bebbe
|
|
|
|
|
|
|
|
|
| |
> Calculating extracted color during icon generation and storing it in model and DB
> Removing unused logic avoid various types of badge rendering
> Icons are badged with extracted colors, while folder is badged with theme color
Bug: 35428783
Change-Id: I93e30c52fbded7515c3ae1778422e84672eafb56
|
|
|
|
|
|
|
|
|
| |
> Using a single linearLayout instead of multiple nested views
> Using clipToOutline for rounded corners instead of using canvas.saveLayer
> Removing nested view elevations and overdraw
> Using LayoutTransition for animating layout changes, instead of manually creating animators
Change-Id: I8e57092f52ca5a032a2756594fdd39788acc5a0d
|
|
|
|
| |
Change-Id: I9588eee3552001b162a1e8d5ccefcfb44d221880
|
|\
| |
| |
| |
| |
| |
| |
| | |
ub-launcher3-master
* changes:
[automerger] Handle null small icon am: 207f7d7f86
Handle null small icon
|
| |\
| | |
| | |
| | | |
Change-Id: I2003fe3d654829f8a2d1d16a38213cf5a262650f
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
It shouldn't be possible to have a null small icon, but apparently
there are cases where we get one anyway. Might as well handle it
gracefully instead of crashing.
Bug: 67156108
Change-Id: I01ad0251920f7f531a3019eb694946c3d295f9de
|
|/ /
| |
| |
| |
| |
| |
| | |
to create other types of popup
Bug: 67585158
Change-Id: I966ae7bb90f941951b26feaf71b3ea30c3f3c0cc
|
| |
| |
| |
| |
| |
| |
| |
| | |
This requires maintaining notification group information by mapping
groupKey's to the summary key and child keys.
Bug: 65100024
Change-Id: Idd352ce5e243a0762bf30a9c79d36681456a1b17
|
|\ \
| | |
| | |
| | |
| | |
| | | |
22cb37745c
Change-Id: I8973d3ebdb083ed28b8516b8dc26f547f9ab0d52
|
| | |
| | |
| | |
| | |
| | | |
Bug: 64479852
Change-Id: I3bfff96a12169d0d191a36a8c7e90d4810e9f176
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
- Reduce main notification height
- Increase header height and center "Notifications"
- Footer has short height when empty to serve as padding
Bug: 65215656
Change-Id: I691d176628b0b51e8d9af030084b8c29837778dc
|
|/
|
|
|
|
|
| |
Also remove BADGE_ICONS flag as it is no longer used or necessary.
Bug: 64561196
Change-Id: Icf9656537459a7dbad3a07830eedbdeec8d8f1ce
|
|
|
|
|
|
|
|
|
|
|
| |
- Added SettingsObserver as wrapper around ContentObserver
to observe Secure or System setting changes.
- NotificationListener and LauncherAppState observe changes
to the notification dots setting and unbind and rebind
the NotificationListener service, respectively.
Bug: 36815147
Change-Id: I2cc04ac816a8974969ad0ec759c5402e181fde24
|
|
|
|
|
|
|
|
| |
> Refactoring SwipeDetector to both allow vertical and horizontal swipes
> Using SwipeDetector and common overscroll effect for notification swipes
instead of a separate logic
Change-Id: Ib706ee179811ade59ddb68184e1c202365d147c4
|
|
|
|
|
|
| |
b/63636581
Change-Id: Ia06a5be59b2114bda9b4a55ad945fdd832013110
|
|
|
|
|
| |
Bug: 63262764
Change-Id: I94e7978dafc04fc2673a9bb8c6d24ff20641416f
|
|
|
|
|
|
|
|
|
|
| |
There was a potential race condition where we would try to do a full
refresh of notifications before the listener was connected. Now we
skip the full refresh if we aren't connected, which is fine because
we also do a full refresh in onListenerConnected() anyway.
Bug: 62107069
Change-Id: I2fe4f49eb8a840230d32034be11fe7765a366e75
|
|
|
|
|
|
|
|
|
|
|
| |
- Don't remove elevation during animation (b/62905720)
- Other adjustments (b/35766387)
- Add "gutter" between notification and shortcuts
- Change shortcuts to always be primary color (e.g. white)
- Scale down shortcut icons when notifications present
- Apply icon extracted color to "Notifications" header
Change-Id: Idf791dc76d15d05d246000ad73810916d7cd1750
|
|
|
|
|
|
|
|
|
| |
NotificationListener.
2. Make few instance variable final.
3. Fix an unchecked cast.
Bug: 62466540
Change-Id: I62352c9c9b38f5eaadbbb39c13dfe1411048109d
|
|\
| |
| |
| | |
SwipeHelper class 2. Make few instance variables final Bug: 62466540" into ub-launcher3-dorval-polish
|
| |
| |
| |
| |
| |
| |
| |
| | |
SwipeHelper class
2. Make few instance variables final
Bug: 62466540
Change-Id: I6cef170c770f4da8574205ef4f4f43edbfdbbc58
|
|\ \ |
|
| |/
| |
| |
| | |
Change-Id: I028ed591cc9cf0af94fe6e09fadcd255f07cdee5
|
|\ \
| | |
| | |
| | | |
ub-launcher3-dorval-polish
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We currently only show 2 shortcuts when notifications are
present, but support up to 4 otherwise. With this change,
the hidden shortcuts are added back after dismissing the
notifications, instead of only after closing and reopening
the container.
To ensure the transition is as elegant as possible, we also
separated the shortcuts header from the rest of the shortcuts.
That way we can reveal the new shortcuts without removing the
header (the shortcuts come out from behind the header).
Bug: 38036250
Change-Id: Ie9ab35f9be57cec1d5345e9e70e84e09ea52c9fc
|
|\ \
| |/
|/|
| | |
ub-launcher3-dorval-polish
|
| |
| |
| |
| |
| | |
Bug: 62588191
Change-Id: I33671ab08411c4e4e624b579561229d32b7a29c9
|