Commit Graph

300744 Commits

Author SHA1 Message Date
Selim Cinek
01ee2cd5c4 Allowing heads-up notifications now on the lock screen
In order to isolate notifications properly from their group
and in order to allow them to visually reorder, we now allow
heads up notifications on the lock screen.

Change-Id: I1d04a92e66ae92ecee4f8ee23b218c2b167dadd4
Test: existing tests pass
Test: add heads up on lockscreen
Test: heads up group child on lockscreen
Bug: 32442500
2016-12-21 18:23:11 +01:00
Selim Cinek
45e63815e7 Merge changes Ic88e8094,I4253bf4b,Iba4ebd3c,I943b6352,If88c0b08, ...
* changes:
  Made it easier to use updatable Animators
  Improved the interpolators of the icon appearing
  Modified the way icons merge into the shelf
  Fixed a potential heads up crash
  Fixed a bug where the notifications would close on back
  Bye bye veto button
  Only requiring 2 taps for accessibility on lock screen
  Fixed a bug where systemui could crash
  Introduced the visual stability manager
  Removing notifications always immediately when swiping them away
2016-12-21 12:23:05 +00:00
Selim Cinek
f082fe2319 Made it easier to use updatable Animators
The existing system is extended such that AnimationProperties
can be easier animated and running animations updated.

As a first sample this animates the scale of the
icons in the shelf.

Change-Id: Ic88e8094d53f37ab13f5e9e00796b63d229a5114
Test: runtest systemui
Bug: 32437839
2016-12-21 12:12:31 +01:00
Selim Cinek
061d90729b Improved the interpolators of the icon appearing
The interpolator has now a slight overshoot to it again.

Change-Id: I4253bf4b2cf9d471e3aa8c9483c9bcb88c2b3032
Test: add notifications, observe icon movement
Bug: 32437839
2016-12-21 12:10:54 +01:00
Calin Juravle
0f3fa9e3cc Merge "Add logic for recording dex files use on disk" 2016-12-21 11:03:11 +00:00
Selim Cinek
a1d9790735 Modified the way icons merge into the shelf
The icon can now also move into the shelf in an animated
way instead of just moving out of it.

Change-Id: Iba4ebd3cd48b5299b89bd0cb2b05bd318e352173
Fixes: 33463805
Test: add notification observe behavior when scrolling
2016-12-21 11:55:04 +01:00
Selim Cinek
40f8876515 Fixed a potential heads up crash
If a group became suppressed with a summary that is
heads-upped, while also being in the process of being
removed, it could lead to a crash.

Test: isolate a HUN that was being removed and is a child
Change-Id: I943b63529778a3c85b03da033837f5a677b2d352
Fixes: 33645653
2016-12-21 11:55:03 +01:00
Selim Cinek
9bb05631fa Fixed a bug where the notifications would close on back
When the panel collapsing was aborted or couldn't close
because we were tracking, then the panel wouldn't be
focusable anymore so it wouldn't handle the back pressed
for example.

Change-Id: If88c0b08301dccf8c2dcd79df5239e12fc83cce5
Test: click back while expanding, click back again when expanding finished, observe collapsing.
Fixes: 33260393
2016-12-21 11:55:02 +01:00
Selim Cinek
e907911e63 Bye bye veto button
You were just overruled by the congress
of usefulness.
In other bad joke news: this also fixes a bug
where it was focusable.

Test: dismiss notification, observe it working
Change-Id: I6d170563d0c4371066ce7b149bc40053e41ca5e2
Fixes: 32127661
2016-12-21 11:55:02 +01:00
Selim Cinek
ae1bbbb329 Only requiring 2 taps for accessibility on lock screen
On the lock screen we were requiring two double taps
in order to unlock to a notification, which seems excessive
especially since talkback do their own falsing already.

Test: add notification with talkback on, try double tap
Test: add notification without talkback, existing logic still works
Bug: 32945599
Change-Id: I07e0e4299140644f62d311d8db25ec25ff138fde
2016-12-21 11:54:49 +01:00
TreeHugger Robot
2f73883a73 Merge "CEC: Dump recent message history for better logging" 2016-12-21 07:37:33 +00:00
Joe Onorato
73c109a089 turn off warning that proto generated code causes.
Test: make
Change-Id: Ife3006dc16691dd95a2cc3d36c9b8832970601c9
2016-12-20 22:28:56 -08:00
Joe Onorato
5a991adaf5 Fix varargs bug that made incident_report print incorrectly.
Test: incident_report 3000
Change-Id: I397677ecd6e50ad143518416c8fa3e408139189b
2016-12-20 22:28:56 -08:00
Joe Onorato
7669012623 Clean up file names for protos
Test: cts-tradefed run singleCommand cts -d --module CtsIncidentHostTestCases
Change-Id: Iea2fc81768082e8e01afa8df86e113665020e7f6
2016-12-20 22:28:56 -08:00
Tim Murray
fe9a2a799f Merge "Fix incorrect FIFO cgroup assignment." am: d9ce420d9a am: a72f5f27d2 am: 4dfe21d668
am: 5ff379db34

Change-Id: I8d51249b04b67f45b0f7cbbf25accc66155ae00a
2016-12-21 02:14:57 +00:00
Tim Murray
5ff379db34 Merge "Fix incorrect FIFO cgroup assignment." am: d9ce420d9a am: a72f5f27d2
am: 4dfe21d668

Change-Id: I3840f68322659336d6737747dd86abcca48fa639
2016-12-21 02:10:23 +00:00
Tim Murray
4dfe21d668 Merge "Fix incorrect FIFO cgroup assignment." am: d9ce420d9a
am: a72f5f27d2

Change-Id: I172251111ab333e750bc862725a50b7913f20c90
2016-12-21 02:05:58 +00:00
Tim Murray
a72f5f27d2 Merge "Fix incorrect FIFO cgroup assignment."
am: d9ce420d9a

Change-Id: Ib5c5ee81058ded098d16dba1dfd43096bbd91937
2016-12-21 01:57:51 +00:00
Treehugger Robot
d9ce420d9a Merge "Fix incorrect FIFO cgroup assignment." 2016-12-21 01:47:56 +00:00
Brad Ebinger
5f4363a0c4 Merge "Adds custom call forwarding block while roaming carrier config key" into nyc-mr2-dev am: 5153e46897
am: 6c7f5eb29e  -s ours

Change-Id: If00328b9e775ba16253daff513d921c9cbbddb94
2016-12-21 01:40:37 +00:00
Brad Ebinger
d89bb30a0e Adds custom call forwarding block while roaming carrier config key am: eab25ae197
am: f979b94815  -s ours

Change-Id: Ic542f2528198c3e1e39c816ee5f044571666d73f
2016-12-21 01:39:20 +00:00
Brad Ebinger
6c7f5eb29e Merge "Adds custom call forwarding block while roaming carrier config key" into nyc-mr2-dev
am: 5153e46897

Change-Id: I1476d383602745c0e11de916c85618e2640eb24e
2016-12-21 01:34:25 +00:00
Brad Ebinger
f979b94815 Adds custom call forwarding block while roaming carrier config key
am: eab25ae197

Change-Id: Ic638971c4bae7b496e94431ae2c0f35a22261896
2016-12-21 01:34:11 +00:00
Brad Ebinger
5153e46897 Merge "Adds custom call forwarding block while roaming carrier config key" into nyc-mr2-dev 2016-12-21 01:29:13 +00:00
Amin Shaikh
70c7f97cde Merge "Change fillColor for Wi-Fi badges to #FFFFFF." am: c1940ef392 am: 380341f6c8 am: 18d7a5e95f
am: ddf90dacd4

Change-Id: I8ea23e591cfd690ebbe9fcab463ffc0429ac3eec
2016-12-21 01:24:53 +00:00
Amin Shaikh
ddf90dacd4 Merge "Change fillColor for Wi-Fi badges to #FFFFFF." am: c1940ef392 am: 380341f6c8
am: 18d7a5e95f

Change-Id: I9e0240a30524436d13c60c3a1251064012c6f7bb
2016-12-21 01:19:48 +00:00
TreeHugger Robot
92e29e94f7 Merge "Update account visibility API." 2016-12-21 01:18:02 +00:00
Amin Shaikh
18d7a5e95f Merge "Change fillColor for Wi-Fi badges to #FFFFFF." am: c1940ef392
am: 380341f6c8

Change-Id: If863fcce014adf2b2c0d866dc14ba59732f57520
2016-12-21 01:15:18 +00:00
Amin Shaikh
380341f6c8 Merge "Change fillColor for Wi-Fi badges to #FFFFFF."
am: c1940ef392

Change-Id: If3d909680cbcda0440807db40761c1a84b2cde97
2016-12-21 01:10:44 +00:00
TreeHugger Robot
76848a7965 Merge "Clear and restore the calling ID." 2016-12-21 01:03:09 +00:00
Sundeep Ghuman
09f062b3c1 Merge "Create and implement a CacheListener inside WifiNetworkScoreCache." am: 31a8f712ab am: 6d749fb489 am: c5443c1d5c
am: 2d68d1a13c

Change-Id: I118293afd44dd619c0c039d4aef9c2f22bda338c
2016-12-21 01:01:20 +00:00
Treehugger Robot
c1940ef392 Merge "Change fillColor for Wi-Fi badges to #FFFFFF." 2016-12-21 01:00:19 +00:00
Sundeep Ghuman
2d68d1a13c Merge "Create and implement a CacheListener inside WifiNetworkScoreCache." am: 31a8f712ab am: 6d749fb489
am: c5443c1d5c

Change-Id: Icbe6a2c873cdbe795092589430b15f10545a3cc2
2016-12-21 00:56:48 +00:00
Sundeep Ghuman
c5443c1d5c Merge "Create and implement a CacheListener inside WifiNetworkScoreCache." am: 31a8f712ab
am: 6d749fb489

Change-Id: I711dd2b9d142a3a92ed641b08dd944be329e503a
2016-12-21 00:51:49 +00:00
Sundeep Ghuman
6d749fb489 Merge "Create and implement a CacheListener inside WifiNetworkScoreCache."
am: 31a8f712ab

Change-Id: Iba52c9ed85a7e35c46b85a9516a81ac5096a6710
2016-12-21 00:43:15 +00:00
TreeHugger Robot
89eaa33e11 Merge "Fast-path for ViewGroup#invalidateChild, invalidate tests" 2016-12-21 00:34:05 +00:00
Treehugger Robot
31a8f712ab Merge "Create and implement a CacheListener inside WifiNetworkScoreCache." 2016-12-21 00:28:48 +00:00
Dmitry Dementyev
527454795f Update account visibility API.
Remove no longer used functions and in-memory visibility table.
Add stubs for new methods.
Actual implementation will be added in follow up CLs.
Bug: https://b.corp.google.com/issues/33046496
Test: manual tests, cts tests.

Change-Id: I990759b20c57df70bc944e27b84e59b9f77b9bd4
2016-12-20 15:44:55 -08:00
Jeremy Joslin
8f5521aa67 Clear and restore the calling ID.
Clear and restore the calling identity in IPC methods after asserting
the caller has the required permissions.

Fixed 2 tests in NetworkScoreServiceTest that were failing due to a
recent refactor.

Test: runtest frameworks-services -c com.android.server.NetworkScoreServiceTest
BUG: 33781319
Change-Id: Icd79751d12dcfe4af8026980aaa1f7bd463468dc
2016-12-20 15:44:06 -08:00
Marie Janssen
6c69241457 Merge "Bluetooth: persist state when turning on from BLE" into nyc-mr2-dev am: f77ca5fa18
am: eac9538c5c

Change-Id: I2eb357a770e8495c989caf0b092adc754b436d9c
2016-12-20 23:43:28 +00:00
Marie Janssen
e5eb5bf932 Bluetooth: persist state when turning on from BLE am: fa9bec95a5
am: e7f0fd1d36

Change-Id: I9ba028b7e0b7c366227b20ae36c8ad76fbe3f9d2
2016-12-20 23:42:29 +00:00
Andrew Sapperstein
f5bdf3df98 Merge "Add flags to send package name for feedback." into nyc-mr2-dev am: 72df83d117
am: 8392637afd

Change-Id: I2fe1e1de687e6e02bab504773f812e1545b85784
2016-12-20 23:39:52 +00:00
Marie Janssen
eac9538c5c Merge "Bluetooth: persist state when turning on from BLE" into nyc-mr2-dev
am: f77ca5fa18

Change-Id: Iee9a1e57f9b6ad0262fa5cedf1fc0daaf9c2fc00
2016-12-20 23:38:31 +00:00
Marie Janssen
e7f0fd1d36 Bluetooth: persist state when turning on from BLE
am: fa9bec95a5

Change-Id: I7fa40c657100032e400af8422b29941771b0e91a
2016-12-20 23:38:26 +00:00
Andrew Sapperstein
b9453be364 resolve merge conflicts of 4e10b37 to master
Change-Id: If5091133617285fdb7f3c0312e9e229ae8e53fe0
2016-12-20 15:31:32 -08:00
TreeHugger Robot
f77ca5fa18 Merge "Bluetooth: persist state when turning on from BLE" into nyc-mr2-dev 2016-12-20 23:29:38 +00:00
Amin Shaikh
70b1c6ab40 Change fillColor for Wi-Fi badges to #FFFFFF.
Bug: 33778046
Test: make
Change-Id: I0cfc2c6d682a2f13e665563fc1c54fa19324af53
2016-12-20 15:28:34 -08:00
Sundeep Ghuman
d76e65bead Create and implement a CacheListener inside WifiNetworkScoreCache.
Bug: 33041117
Test: Unit tests
Change-Id: Ic07522062f79223079b84c49210fcfc0217ecd38
2016-12-20 15:07:01 -08:00
Andrew Sapperstein
8392637afd Merge "Add flags to send package name for feedback." into nyc-mr2-dev
am: 72df83d117

Change-Id: I8a4bba81f402372035eaf37bd5d6489f042b52b9
2016-12-20 23:03:54 +00:00
Andrew Sapperstein
4e10b37b71 Add flags to send package name for feedback.
am: 8dc3b870a0

Change-Id: I72a213a36de7459850e3f688569c901c192dcf9a
2016-12-20 23:03:26 +00:00