Commit Graph

62799 Commits

Author SHA1 Message Date
George Mount
921891518a Merge "Convert BackStackRecord Operations to ArrayList." 2016-08-01 21:44:52 +00:00
Jack Yu
ac4ec090bb Added todo items for a potential metrics issue am: dc5a63bdd1 am: 94f2fe22b4
am: c92cb8b816

Change-Id: Iad996bf83a9d1766f4b5dcb90d71f20488491aac
2016-07-31 03:48:25 +00:00
Prashant Malani
e481885e18 Let Rotary encoder events skip IME am: fecbc67e0d
am: a6bc98c003

Change-Id: Iecf4f32e56e3fac398b8ded665285af5e3632d2f
2016-07-31 02:59:11 +00:00
Makoto Onuki
07996bce98 LauncherApps should also throw when user is locked am: bc4ad85d29 am: 5ec63fc3c7
am: 3b5920b2a1

Change-Id: I60beb409a55297a9a2adaaf52f1ea1e185668c88
2016-07-31 02:25:45 +00:00
Hugo Benichi
4d29c8f83f Merge \\\"IpConnectivityMetrics: no metrics upload in tests\\\" into nyc-mr1-dev am: 1b4bd22f41 am: 6b104bdabf
am: 9ecb72151b

Change-Id: Iaa83e8914614fa874a88beb8821bb83e0dce5c09
2016-07-31 02:12:51 +00:00
Jack Yu
c92cb8b816 Added todo items for a potential metrics issue am: dc5a63bdd1
am: 94f2fe22b4

Change-Id: Id3a4f8985536f312c35718a1c992ecb505dbbebf
2016-07-30 23:34:10 +00:00
Jack Yu
94f2fe22b4 Added todo items for a potential metrics issue
am: dc5a63bdd1

Change-Id: Ibf846f026d137db2c10fd076a408f2702cab5eaf
2016-07-30 06:41:29 +00:00
Prashant Malani
a6bc98c003 Let Rotary encoder events skip IME
am: fecbc67e0d

Change-Id: If46602275688cceef347b593571e50196bfdaba1
2016-07-30 06:30:14 +00:00
TreeHugger Robot
1fb9d1a848 Merge "Let Rotary encoder events skip IME" into cw-f-dev 2016-07-29 23:48:55 +00:00
Jack Yu
dc5a63bdd1 Added todo items for a potential metrics issue
bug: 29390529
Change-Id: I15826d5f513748a423eb4cc103f1b010ddad2126
2016-07-29 15:01:18 -07:00
Makoto Onuki
3b5920b2a1 LauncherApps should also throw when user is locked am: bc4ad85d29
am: 5ec63fc3c7

Change-Id: Iacb1a0725553ff8e2c205eba8e74d26b19a9a5dd
2016-07-29 18:38:12 +00:00
Makoto Onuki
5ec63fc3c7 LauncherApps should also throw when user is locked
am: bc4ad85d29

Change-Id: Ic7bc111861634f2a38cd262a93f56976924c64ba
2016-07-29 18:21:53 +00:00
Fyodor Kupolov
539d36f23b Set secure setting when all preloaded apps are installed
Bug: 30280710
Change-Id: Id87b51c53b1e553a6ab0a257be93baf7d31b6fe5
2016-07-29 10:36:06 -07:00
Makoto Onuki
bc4ad85d29 LauncherApps should also throw when user is locked
otherwise it'd be racy.

Bug 30406401

Change-Id: Id6b0295933c5639fa23c56d737a7f0199cbd7497
2016-07-29 09:40:40 -07:00
Jorim Jaggi
5ecf859494 Follow up for I420bee8a11d430b1e52ded050536e56a85a48800 am: 8d4f5f52a1 am: ffb289c7b3
am: f878d518c1

Change-Id: I45a3a50685cceb2c59476a236cb883846ae0f51a
2016-07-29 16:07:35 +00:00
TreeHugger Robot
347117f556 Merge "fix javadoc for grantRuntimePermission" 2016-07-29 13:35:19 +00:00
Hugo Benichi
9ecb72151b Fix missing IpConnectivity metrics am: 90cbc5b444
am: 384818b99d

Change-Id: I62f174cc615f40e450ba72f8c6f86d46ed5fc096
2016-07-29 09:47:21 +00:00
Hugo Benichi
384818b99d Fix missing IpConnectivity metrics
am: 90cbc5b444

Change-Id: I636a187e94428f6974a3dc4e9588ea95f3293da8
2016-07-29 09:42:13 +00:00
Hugo Benichi
90cbc5b444 Fix missing IpConnectivity metrics
The IpConnectivityLog class looks up MetricsLoggerService once only
at creation. If a IpConnectivityLog user instantiates this class too
early during the boot process, the MetricsLoggerService is not found
and no event can be recorded.

This patch makes IpConnectivityLog attempt to look up
MetricsLoggerService as long as it hasn't found it yet.

This allows IpManager and ConnectivityService to upload
android.net.metrics events.

Bug: 30490301
Change-Id: I97102b95a775ea9e90351b9887ae4661fddc2af9
2016-07-29 17:07:38 +09:00
Andrii Kulian
6bb7cacc3b Merge \\\"Correctly finish activity in non-focused stack\\\" into nyc-mr1-dev am: d3786148f3 am: 4cad633101
am: 498ad9a370

Change-Id: I4f081328330d121fa70a0e202d1f163dda157ebf
2016-07-29 00:37:04 +00:00
Todd Kennedy
a8eb6a89d6 fix javadoc for grantRuntimePermission
javadoc and implementation were out of sync.

Change-Id: I53b50ac999134d3f10557cc3b2c3e2586aaa48de
fixes: 30119755
2016-07-28 16:35:42 -07:00
Makoto Onuki
4830a0c5ca Prevent shortcut access when user is locked am: 9c850012ca am: cab2462e38
am: 890f85d70f

Change-Id: Ie6653dcc55b37598a45987d938f07ba31e173ef5
2016-07-28 23:15:16 +00:00
Fyodor Kupolov
892f55e7ad Set secure setting when all preloaded apps are installed am: 51ce8ee3b1
am: 65d5e75895

Change-Id: I0413cdb3dd7139066712caab59a5593d866ac2a7
2016-07-28 22:03:04 +00:00
Fyodor Kupolov
65d5e75895 Set secure setting when all preloaded apps are installed
am: 51ce8ee3b1

Change-Id: I8f2f0f9c2f8db92231e5da100634bfebb8ae6455
2016-07-28 21:58:05 +00:00
Fyodor Kupolov
51ce8ee3b1 Set secure setting when all preloaded apps are installed
Bug: 30280710
Change-Id: Id87b51c53b1e553a6ab0a257be93baf7d31b6fe5
2016-07-28 13:22:26 -07:00
Jorim Jaggi
f878d518c1 Follow up for I420bee8a11d430b1e52ded050536e56a85a48800 am: 8d4f5f52a1
am: ffb289c7b3

Change-Id: Ia0befac114b3e1f534c477300d5875c2c6f0e588
2016-07-28 20:13:44 +00:00
Jorim Jaggi
ffb289c7b3 Follow up for I420bee8a11d430b1e52ded050536e56a85a48800
am: 8d4f5f52a1

Change-Id: I9b5c7d18520d57c355f3c8ea76e2dfc0e6d6ff39
2016-07-28 20:03:58 +00:00
Prashant Malani
fecbc67e0d Let Rotary encoder events skip IME
Rotary Encoder input events don't need to go through the IME, and hence
should skip it. This will save IPC round trip time, and cut down on
latency.

Bug: 29207649
Change-Id: I8b5062b9c409b338b2254232a2e0f7819d9b71de
2016-07-28 06:24:31 +00:00
Jiaquan He
dd1e66f737 Add more onTopLauncher support.
- Add onTopLauncher checking for TaskRecord.
- Add onTopLauncher to the window manager.

Bug: 28425537
Change-Id: Ic9e53db891dc42463a1a77b106ba93438a052181
2016-07-27 23:57:23 +00:00
James Carr
d2a4944d68 Merge "Calculate and account for memory power use" 2016-07-27 23:24:55 +00:00
Aga Madurska
498ad9a370 Ignore padding for drawing round scrollbars. am: c283507246
am: 9bafa17869

Change-Id: Icd0e134b0b596dae3300829a121caa903d828523
2016-07-27 22:55:11 +00:00
Hui Shu
16521e1958 Merge "Fix document format" 2016-07-27 22:54:46 +00:00
Selim Gurun
32c3516369 Fix document format
The document is all one single paragraph making it hard to read. fix it.

Change-Id: Iadcfe6e55a813d7599ebdd4b160ed544c5296c16
2016-07-27 15:44:54 -07:00
Makoto Onuki
890f85d70f Prevent shortcut access when user is locked am: 9c850012ca
am: cab2462e38

Change-Id: I66faccf78500d057957fb4a7bc361ff8907811b5
2016-07-27 22:28:30 +00:00
Aga Madurska
9bafa17869 Ignore padding for drawing round scrollbars.
am: c283507246

Change-Id: Ia60e140beaa24b445d7f9949de8dbc946c05d828
2016-07-27 22:05:42 +00:00
Adrian Roos
a6b50d5f2b ViewRootImpl: Initialize sysui visibility am: 1b2bf00098
am: e616a42716

Change-Id: I32984bff654a285dfc553fb89ea2e95e8ec60d29
2016-07-27 22:00:47 +00:00
James Carr
2dd7e5e3ef Calculate and account for memory power use
Use PowerProfile to calculate mAh (MemoryPowerCalculator), and
involve this calculation in the overall accounting of battery
for when the phone is unplugged from a charger.

Note: Depends on ag/1196281

Change-Id: Id02bef19c9b250c614df0a6c88711b486faaef46
2016-07-27 14:50:23 -07:00
Jeff Davidson
2862ed2541 Add support for carrier \\"associated\\" apps. am: 24b9d96007
am: 19af77d2cb

Change-Id: I089db772e37b7d07a5423793aced78f2b3a9a1ae
2016-07-27 21:40:17 +00:00
Agnieszka Madurska
9801935b95 Merge "Ignore padding for drawing round scrollbars." into nyc-mr1-dev 2016-07-27 21:36:55 +00:00
Adrian Roos
e616a42716 ViewRootImpl: Initialize sysui visibility
am: 1b2bf00098

Change-Id: I5d206d031a193777b67cb44af5b70bbc4997c2f3
2016-07-27 21:24:39 +00:00
Makoto Onuki
cab2462e38 Prevent shortcut access when user is locked
am: 9c850012ca

Change-Id: I0aac4593da85c26107a2ba333b6af9477d5f3983
2016-07-27 21:24:14 +00:00
Aga Madurska
c283507246 Ignore padding for drawing round scrollbars.
This change is needed to correctly cope eg. with list views
which introduce header and footer view through additional
list view padding.

See ag/1221005 for details.

Bug:30420573
Change-Id: I7c9c0ce2b5ba85429b7921c42e4f97e139814e17
2016-07-27 22:22:11 +01:00
Jeff Davidson
19af77d2cb Add support for carrier \"associated\" apps.
am: 24b9d96007

Change-Id: I1de92977f3a0635d88e6517210f6bbb06ab3d0f0
2016-07-27 21:18:07 +00:00
TreeHugger Robot
831dd7542f Merge "Prevent shortcut access when user is locked" into nyc-mr1-dev 2016-07-27 20:55:16 +00:00
Makoto Onuki
9c850012ca Prevent shortcut access when user is locked
Also add some test utility methods that'll be used by CTS.

Bug 30406401

Change-Id: I9396acebbdb3cbe64f6e85877ee62a2131cd6e61
2016-07-27 12:01:46 -07:00
Adrian Roos
25582f21cd Merge "ViewRootImpl: Initialize sysui visibility" into nyc-mr1-dev 2016-07-27 18:39:17 +00:00
Jeff Davidson
94ae1e739f Merge "Add support for carrier "associated" apps." into nyc-mr1-dev 2016-07-27 17:57:39 +00:00
Daniel Nishi
b91285fd32 Merge "Add a flag to toggle how much downloads to retain." 2016-07-27 16:52:57 +00:00
TreeHugger Robot
581c35d124 Merge "Make DragEvent.getClipDescription() return null for ACTION_DRAG_ENDED" 2016-07-27 16:41:21 +00:00
Vladislav Kaznacheev
cd84cfab79 Make DragEvent.getClipDescription() return null for ACTION_DRAG_ENDED
This is required to bring the DragEvent behavior in line with JavaDoc.


Bug: 30407098
Change-Id: I87b7f3ed3fe56681ca54a44e5cdeaf32966ad495
2016-07-27 16:39:51 +00:00