Commit Graph

301953 Commits

Author SHA1 Message Date
Julia Reynolds
c8ae220ea5 Merge "Expose hidden constant." 2016-12-21 16:17:20 +00:00
Selim Cinek
c4946d4a00 Merge "Revert "Fast-path for ViewGroup#invalidateChild, invalidate tests"" 2016-12-21 15:57:38 +00:00
Selim Cinek
1cb8b08ae4 Revert "Fast-path for ViewGroup#invalidateChild, invalidate tests"
This reverts commit f7505803ea.

Change-Id: Ie7714360357e2baaf7723b8d992b3c6c4b0b9989
2016-12-21 15:34:30 +00:00
Calin Juravle
e83feea26a Merge "Record data about dex files use on disk" 2016-12-21 13:34:20 +00: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
Esteban Talavera
548a04b8f8 Add DISALLOW_ADD_MANAGED_PROFILE to existing device owners
For device owners set pre-O, that restriction will not
be set via setDeviceOwner(). Therefore set it during
first boot after O OTA.

Test: runtest -c com.android.server.devicepolicy.DevicePolicyManagerTest frameworks-services

Bug: 31952368

Change-Id: I7db9b14c49a75ae2760e6923a1f3f7cde0e2784b
2016-12-21 10:57:12 +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
Calin Juravle
5be781d874 Merge "Report non-primary dex files loads to PM" am: f23ea2ca62 am: 78b3889804
am: 9947e79b26

Change-Id: I8ddb7756c0690584343cb026a298bc5f0b8d4e27
2016-12-21 10:14:42 +00:00
Calin Juravle
9947e79b26 Merge "Report non-primary dex files loads to PM" am: f23ea2ca62
am: 78b3889804

Change-Id: Iaf17def2729170403fa61ce0e09ced4675a47191
2016-12-21 10:09:45 +00:00
Calin Juravle
78b3889804 Merge "Report non-primary dex files loads to PM"
am: f23ea2ca62

Change-Id: I5eb9f8c8bc7e66c074adb95ad5dfec412cec539c
2016-12-21 10:04:39 +00:00
Calin Juravle
f23ea2ca62 Merge "Report non-primary dex files loads to PM" 2016-12-21 09:57:41 +00: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
Manu Cornet
ceebe36a17 Merge "DO NOT MERGE - Delete the separate grid recents activity and related code" into nyc-mr2-dev
am: 09c0fdca7b

Change-Id: Iee06fca34f0b8fed136be45a93359414a5420734
2016-12-21 03:43:56 +00:00
Manu Cornet
15b6c78534 DO NOT MERGE - Delete the separate grid recents activity and related code
am: e93f8100a6

Change-Id: I30195b094fe27bec5b78f799942bf004000d9ef2
2016-12-21 03:43:49 +00:00
TreeHugger Robot
09c0fdca7b Merge "DO NOT MERGE - Delete the separate grid recents activity and related code" into nyc-mr2-dev 2016-12-21 03:35:45 +00:00
Manu Cornet
48de4e6afe 2D Recents: use a slightly darker scrim background
Bug: 32101881
Test: Checked recents layout on local sw600dp device
Change-Id: Ic5ae1c1c805896a4cd8d6c3473fa2c693e94d304
2016-12-20 19:01:45 -08:00
Daniel Nishi
6ee226f6e6 Merge changes from topic 'diskstats-mr2' into nyc-mr2-dev
am: 639f95dd13

Change-Id: I3491a1ef5303e8e991eafe3911c882d94d4d3ed5
2016-12-21 02:28:55 +00:00
Daniel Nishi
f1312cd68e Augment diskstats dumpsys to have categorization and apps.
am: 090b2d9d6c

Change-Id: I2c923293a1baf91b14ab50e25c880bfeb191403d
2016-12-21 02:23:50 +00:00
Daniel Nishi
a9d8602787 Add a file collector to the platform.
am: be770dce08

Change-Id: I2b908b6df1ad305207fca596d6c865dfeaecd5c9
2016-12-21 02:23:05 +00:00
Daniel Nishi
9bd20ab6c9 Merge "Add an app size collector." into nyc-mr2-dev
am: 8fd55702b1

Change-Id: I53fd6c70e49fd724fbe131dea3f485893133bf20
2016-12-21 02:22:18 +00:00
Daniel Nishi
f5e2f1ae38 Add an app size collector.
am: c7d9de59bf

Change-Id: I83bdc3b47eda2658d7467b7c298652e39ad3f238
2016-12-21 02:21:31 +00:00
Andrew Sapperstein
65d8a5fc73 Add VR mode check for thermal notification
When in VR mode, don't show the high temp notification
since VR shows its own notification.

Test: manual
Bug: 30995038
Change-Id: I845480d968a9b0da9997f035875885bc261c577a
2016-12-20 18:19:20 -08:00
Andrew Sapperstein
b7caf1d06d Show notif when device reaches throttling temp
Adds logic to SystemUI that shows a notification alerting the user
that their phone has reached a certain temperature and has throttled
itself in order to cool down.

The logic is controlled by a configuration resource:
R.bool.config_showTemperatureWarning. If false, no action is taken.

When true, PowerUI checks every 30 seconds if the current temp of
HardwarePropertiesManager.DEVICE_TEMPERATURE_SKIN is greater than
the throttling temp of HardwarePropertiesManager.DEVICE_TEMPERATURE_SKIN.
If any one of the temperatures returned is greater, a notification is shown.

Clicking on the notification will show a dialog explaining more details
about what the device is doing in response to the high temperature.

The notification will disappear once the temperature drops below
the throttling temperature.

In order to check the temperature in SystemUI, HardwarePropertiesManager
has been updated to also allow any calls made by callers holding the
signature-level DEVICE_POWER permission.

Test: runtest systemui
Bug: 30995038

Change-Id: I1b3f122341911c68e90c8a49ad35267ac382b356
2016-12-20 18:19:03 -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
TreeHugger Robot
639f95dd13 Merge changes from topic 'diskstats-mr2' into nyc-mr2-dev
* changes:
  Augment diskstats dumpsys to have categorization and apps.
  Add a file collector to the platform.
2016-12-21 02:14:54 +00:00
TreeHugger Robot
8fd55702b1 Merge "Add an app size collector." into nyc-mr2-dev 2016-12-21 02:14:54 +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
Jiaquan He
620aebabb2 DO NOT MERGE - Disabled swiping in Grid-based Recents.
Bug: 32101881
Change-Id: I45a806a6b1fc387b2c560a8f2228ad83e4068d7c
(cherry picked from commit 7e09146f13)
2016-12-21 02:02:44 +00:00
Tim Murray
a72f5f27d2 Merge "Fix incorrect FIFO cgroup assignment."
am: d9ce420d9a

Change-Id: Ib5c5ee81058ded098d16dba1dfd43096bbd91937
2016-12-21 01:57:51 +00:00
Manu Cornet
e93f8100a6 DO NOT MERGE - Delete the separate grid recents activity and related code
This was the first attempt at implementing grid-based Recents.
The new implementation doesn't use a separate activity and reuses a lot
more code.

Bug: 32101881
Test: Checked Recents behavior on local sw600dp device
Change-Id: Ic3535fc49f3f5448d6002d354678b633f122f57d
2016-12-20 17:52:45 -08:00
Treehugger Robot
d9ce420d9a Merge "Fix incorrect FIFO cgroup assignment." 2016-12-21 01:47:56 +00:00
Manu Cornet
8ff7854c4b 2D recents: show all close buttons right away
Bug: 32101881
Test: Checked recents layout on local sw600dp device.
Change-Id: Ib9b40cdc3fdb912315d52d3b47cbcd32fec9842f
2016-12-20 17:46:30 -08: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