31847 Commits

Author SHA1 Message Date
Lei Yu
500719cf9c Merge "Add tint for edit and setting icon" 2016-12-13 19:03:14 +00:00
Lei Yu
bce06d4847 Merge "Add tint for plus & minus icon" 2016-12-13 19:01:54 +00:00
Manu Cornet
f5def62226 Merge "Revert "Grid recents: tweak task header layout to better match mocks"" 2016-12-13 17:33:51 +00:00
Manu Cornet
c733803433 Revert "Grid recents: tweak task header layout to better match mocks"
This reverts commit 4701b993569cc5c9347571f84db8973a95c35495.

Change-Id: Id1a2f93f55b32e6544083254bb16e3d3722aa3dd
2016-12-13 17:32:20 +00:00
TreeHugger Robot
235117ac21 Merge "Grid recents: tweak task header layout to better match mocks" 2016-12-13 17:10:32 +00:00
TreeHugger Robot
aa5f515b1a Merge "Extract checking profiles for restrictions into a shared method." 2016-12-13 16:48:17 +00:00
Manu Cornet
4701b99356 Grid recents: tweak task header layout to better match mocks
Test: Checked layout on local sw600dp device
Bug: 32101881
Change-Id: Ic205beea47fc67fca9b3c95b3d1318c156ccc9c1
2016-12-13 07:26:03 -08:00
Andrew Scull
4e201486b5 Extract checking profiles for restrictions into a shared method.
Test: m RunSettingsLibRoboTests
Change-Id: Ie8fd3121771a7a2213ee441aef5a0746ad09a6c9
2016-12-13 10:45:37 +00:00
TreeHugger Robot
363df9b83c Merge "Import translations. DO NOT MERGE" 2016-12-13 03:42:17 +00:00
jackqdyulei
42878251e3 Add tint for plus & minus icon
Bug: 32592245
Test: Manual
Change-Id: I9c3278c87bc669b69cf2d9d571b9935a6ef846ac
2016-12-12 18:17:10 -08:00
jackqdyulei
cbc1ab862a Add tint for edit and setting icon
Bug: 32592245
Test: Manual
Change-Id: Ibed4eca205afce44d50440f56b77edadf9a47505
2016-12-12 17:17:57 -08:00
Bill Yi
53ca81fee7 Import translations. DO NOT MERGE
Change-Id: Ib707e6db3da131afd77fe1e56a3d30fbc8142bd0
Auto-generated-cl: translation import
2016-12-12 16:52:27 -08:00
Xiaohui Chen
6d2e7ee49c sysui: add assets and dimentions for sw900dp am: 376b1756d4
am: bb18d78ea1

Change-Id: I1340f23f5113c51b9fa1a34a5fab587aa44c8ecb
2016-12-12 23:49:08 +00:00
Xiaohui Chen
bb18d78ea1 sysui: add assets and dimentions for sw900dp
am: 376b1756d4

Change-Id: I4df31eea74b4978a4e8711730507e5d26877431d
2016-12-12 23:42:50 +00:00
Jason Monk
d67f6d9cc6 Fix animations for app QS tiles. am: d2274f848c
am: 46f24b6707

Change-Id: Ibf818c7f003a9f79483b09b6b0e2f3756e0e563b
2016-12-12 20:47:16 +00:00
Jason Monk
c1062100c3 Fix loading bar positioning. am: 76bf8eb3d6
am: fe6e3dd735

Change-Id: I8f821d80c2ed7f7584b67f7b5801a38961d527a6
2016-12-12 20:44:57 +00:00
Jason Monk
46f24b6707 Fix animations for app QS tiles.
am: d2274f848c

Change-Id: I32fdb2e9047e402650e374024fcc7cb39b2a83f9
2016-12-12 20:33:51 +00:00
Jason Monk
fe6e3dd735 Fix loading bar positioning.
am: 76bf8eb3d6

Change-Id: Ibf167360200be9969c1c725d84e4b9b9e442f553
2016-12-12 20:31:56 +00:00
Lei Yu
408753d1f1 Merge "Add tint for data saver icon" 2016-12-12 19:03:16 +00:00
Lei Yu
9e3211b7fa Merge "Add tint for hotspot icon" 2016-12-12 19:02:45 +00:00
Lei Yu
ec0cfc0354 Merge "Add tint color for airplane icon" 2016-12-12 19:02:05 +00:00
Lei Yu
c3823f9d8a Merge "Rename the Theme.DeviceDefault.Settings.Dark to QuickSettings" 2016-12-12 18:58:27 +00:00
Jason Monk
76bf8eb3d6 Fix loading bar positioning.
Move it down and make sure it covers entire width.

Change-Id: If906ea86ae1e78b7a75e2376c65f0ff0e191b86c
Fixes: 30292983
Test: Manual visual inspection of UI element locations
2016-12-12 13:07:50 -05:00
Jason Monk
d2274f848c Fix animations for app QS tiles.
Use correct context for third party tile drawable creation, also
fix comparison so that AVDs don't animate multiple times.

Change-Id: Ifcf7b818304d6677eacf080ed8c22893c91fdf73
Fixes: 32779384
Test: Install app with animated app QS tile.
2016-12-12 12:02:16 -05:00
Selim Cinek
55ca7508e6 Merge "Fixed a bug where both icons were visible initially" 2016-12-10 02:17:26 +00:00
Lingjun Li
19c5e1bae5 Merge "Adding unlockProfile to trust-agent meta data and makes TrustAgent runnable under direct boot" 2016-12-10 00:37:19 +00:00
Selim Cinek
6598974fdf Fixed a bug where both icons were visible initially
Because the default state was visible the icon visibilities
were never updated.

Change-Id: I8c54a204e9cbf304d53d82b4dbb22acf3f7d487d
Test: add fresh notificaitions, adb shell killall com.android.systemui, observe no double notification when added from shelf
Bug: 32437839
2016-12-09 16:11:07 -08:00
Selim Cinek
be3b1aa6ad Merge "Only doing the icon animations now when expanding slowly" 2016-12-10 00:07:32 +00:00
Bill Yi
06457bb323 Merge "Revert "Import translations. DO NOT MERGE"" 2016-12-09 23:59:17 +00:00
Bill Yi
e7ffc04f84 Revert "Import translations. DO NOT MERGE"
This reverts commit 012932e05920d43e035c265aea55415e769f7dab.

Change-Id: I5578b1560a17981fed1175617981cbd4dae64396
2016-12-09 23:58:35 +00:00
Bill Yi
2d660f4b73 Merge "Import translations. DO NOT MERGE" 2016-12-09 23:37:39 +00:00
TreeHugger Robot
61bde4d40c Merge "Replace ContentProvider SQL args w/ Bundle & Constants." 2016-12-09 22:25:29 +00:00
Selim Cinek
d5ab645f46 Only doing the icon animations now when expanding slowly
Previously the animation was too distrating when expanding
fast.

Test: add notification, expand fast, observe no animations
Change-Id: I11658368b49094368886c64028c210a1dc95d938
Fixes: 33458094
2016-12-09 13:00:20 -08:00
Lingjun Li
20914d7939 Adding unlockProfile to trust-agent meta data and makes TrustAgent runnable under direct boot
Test: manual
Change-Id: I1f0ccafac08be2cc3f4540232e764ef21d4fed38
2016-12-09 12:33:52 -08:00
Steve McKay
ea93fe7539 Replace ContentProvider SQL args w/ Bundle & Constants.
Test: cts-tradefed run cts-dev -m CtsContentTestCases
Bug: 30927484
Change-Id: Idb9dbc2b80896e9f8474a0db71353b7a3810d597
2016-12-09 12:31:44 -08:00
TreeHugger Robot
ca029c2d13 Merge "Cancels out long press on recents button when viewing home screen" 2016-12-09 19:44:41 +00:00
phweiss
9d945d90a4 Add implementation of isNetworkLoggingEnabled to FakeSecurityController
Fix build breakage introduced by ag/1666505.

Test: Did a local build.

Change-Id: Ie3c2d8cc89f71583b546a6085c3f991e0affaa61
2016-12-09 17:49:31 +01:00
Philipp Weiß
9498f5a81b Merge "Add network logging icon to Quicksettings when enabled" 2016-12-09 16:31:41 +00:00
Bill Yi
012932e059 Import translations. DO NOT MERGE
Change-Id: Iafe4d2feadf4e7ecbb6efc8fb7bd3158a570208d
Auto-generated-cl: translation import
2016-12-08 23:57:59 -08:00
Bill Yi
06aef87285 Import translations. DO NOT MERGE
Change-Id: If19b0f9bab18312c1b4b77bec30be54e509212bb
Auto-generated-cl: translation import
2016-12-08 23:26:16 -08:00
Svetoslav Ganov
4d97c73eda Fix vulnerability in MemoryIntArray am: 1181f448c1 am: d08cf2b071 am: 385277305e
am: 69b9db8c5d

Change-Id: I06ce1c69064ff8c2c346877b9f834d412eba7829
2016-12-09 01:57:20 +00:00
Svetoslav Ganov
69b9db8c5d Fix vulnerability in MemoryIntArray am: 1181f448c1 am: d08cf2b071
am: 385277305e

Change-Id: I3d7222359d095d5e53f3e6fbfeda10352fa43f76
2016-12-09 01:52:56 +00:00
Svetoslav Ganov
ff112f6ad2 Fix vulnerability in MemoryIntArray am: 1181f448c1 am: d08cf2b071
am: 385277305e

Change-Id: Ie90f6504f26526256671b057dfbb0c93e8c193c5
2016-12-09 01:52:48 +00:00
Svetoslav Ganov
385277305e Fix vulnerability in MemoryIntArray am: 1181f448c1
am: d08cf2b071

Change-Id: I436a09f1e49626fa45a7f6cc6bff92b2e5486a97
2016-12-09 01:48:16 +00:00
Svetoslav Ganov
d08cf2b071 Fix vulnerability in MemoryIntArray
am: 1181f448c1

Change-Id: I4217066be49bb9525e945f110c22eb864ec6c212
2016-12-09 01:43:52 +00:00
Svetoslav Ganov
1181f448c1 Fix vulnerability in MemoryIntArray
MemoryIntArray was using the size of the undelying
ashmem region to mmap the data but the ashmem size
can be changed until the former is memory mapped.
Since we use the ashmem region size for boundary
checking and memory unmapping if it does not match
the size used while mapping an attacker can force
the system to unmap memory or to access undefined
memory and crash.

Also we were passing the memory address where the
ashmem region is mapped in the owner process to
support cases where the client can pass back the
MemoryIntArray instance. This allows an attacker
to put invalid address and cause arbitrary memory
to be freed.

Now we no longer support passing back the instance
to the owner process (the passed back instance is
read only), so no need to pass the memory adress
of the owner's mapping, thus not allowing freeing
arbitrary memory.

Further, we now check the memory mapped size against
the size of the underlying ashmem region after we do
the memory mapping (to fix the ahsmem size) and if
an attacker changed the size under us we throw.

Tests: Updated the tests and they pass.

bug:33039926
bug:33042690

Change-Id: Ibf56827209a9b791aa83ae679219baf829ffc2ac
2016-12-09 00:08:33 +00:00
Jorim Jaggi
c7613cb184 Merge "Light navigation bar support (1/2)" 2016-12-09 00:07:51 +00:00
Matthew Ng
0d22b079c5 Cancels out long press on recents button when viewing home screen
Cancel the long press when viewing home (launcher) to disable the
double vibration that should occur when in multiwindow mode.

Fixes: 29927464
Test: manual - at home and multiwindow to long press recents button
Change-Id: Ic9c8a5096ce9f30fc1265774ebb82c1356b1221b
2016-12-08 15:59:30 -08:00
Bill Napier
cf8f7b3aed Revert "Fix vulnerability in MemoryIntArray am: a97171ec49" am: 43966dafb3 am: 498547ec6c am: ef435f6780
am: 1c47e9e8f0

Change-Id: I7077f444b348e7ef31378c1a2ae6765dc6ad82ad
2016-12-08 22:49:06 +00:00
Bill Napier
1c47e9e8f0 Revert "Fix vulnerability in MemoryIntArray am: a97171ec49" am: 43966dafb3 am: 498547ec6c
am: ef435f6780

Change-Id: I6b879ca7e2c7c48885dcdbf791afcd914869df24
2016-12-08 22:40:09 +00:00