353058 Commits

Author SHA1 Message Date
TreeHugger Robot
a598c05d63 Merge "Do not return pointer to freed memory" 2018-01-04 22:57:25 +00:00
TreeHugger Robot
efc331b287 Merge "Use TimeUnit enum to specify the bucket size." 2018-01-04 22:53:29 +00:00
Chad Brubaker
5d8307186f Merge "Only show the lockdown button when its possible to enter lockdown" 2018-01-04 22:23:19 +00:00
TreeHugger Robot
e0e69f8704 Merge "Using RenderNode for creating snapshot of a View, so that hardware bitmaps are drawn properly" 2018-01-04 22:05:37 +00:00
Maurice Lam
e4a03006e6 Merge "Revert "Fixed RTL alignment issue in suggested language list"" 2018-01-04 22:05:12 +00:00
TreeHugger Robot
6d7e05dc3f Merge "Validate hotspot when loading PointerIcon from resource" 2018-01-04 21:54:40 +00:00
TreeHugger Robot
db21daf96c Merge "camera: Add device info version" 2018-01-04 21:52:25 +00:00
TreeHugger Robot
dfaa392fd5 Merge changes I1a61a5c9,I7e0dc28f,If0c923b3
* changes:
  Rethrow RemoteException instead of log in ContextHubManager
  Remove unnecessary log from ContextHubManager
  Remove legacy bug comment in NanoAppInstanceInfo
2018-01-04 21:38:29 +00:00
TreeHugger Robot
def6d70aee Merge "Clarify accessibility event documentation" 2018-01-04 21:30:13 +00:00
Yi Jin
e058f1a952 Merge "Dump Proto to a csv" 2018-01-04 21:09:39 +00:00
Mady Mellor
9c777b22da Merge "Add subtype to indicate accessibility text" 2018-01-04 21:02:44 +00:00
Yangster-mac
b814481ad1 Use TimeUnit enum to specify the bucket size.
Test: all statsd unit test passed

Change-Id: I4f6b80ba2f8c984b06e46e6de6df3e546e99a968
2018-01-04 13:01:14 -08:00
Siarhei Vishniakou
d6058f44f4 Do not return pointer to freed memory
Since the code was changed to use std::string instead of String8, it is
no longer safe to pass a raw pointer to internal memory of the string
object, since std::string creates a copy even if the data itself is not
being modified.
Instead, return std::string to the calling function and let the function
access the pointer when necessary.

Bug: 71541263
Test: boot up asan build on pixel 2 xl, then interact with google
calendar and chrome. Observe no crashes with the patch.

Change-Id: I6af2d23985d0553dd0707ad985f7f1e7b2240611
2018-01-04 13:00:48 -08:00
TreeHugger Robot
8d54389b61 Merge "Make print options layout respect RTL" 2018-01-04 20:40:04 +00:00
TreeHugger Robot
3157acc318 Merge "Default grant coarse loc perm to use-open-wifi app" 2018-01-04 20:24:39 +00:00
Evan Rosky
d2f4186914 Merge "Don't allow 0-sized views to be focused." 2018-01-04 20:19:43 +00:00
TreeHugger Robot
60de82d199 Merge "use only string type in the log source whitelist." 2018-01-04 19:39:46 +00:00
TreeHugger Robot
f7b59447cf Merge "Add WindowState and LayoutParams proto" 2018-01-04 19:17:51 +00:00
TreeHugger Robot
1abf6ff5ca Merge "[AWARE][RTT] Check for null callback registration" 2018-01-04 19:15:46 +00:00
Manoj Boopathi Raj
26f27074ea Merge "Fix CTS Test Dual Stack Test Passing Issue" am: ae81e15c9c am: a19acb6ac8
am: 5c18216aa7

Change-Id: I39839d144f75340c1b327ed0af180e66db770914
2018-01-04 19:07:19 +00:00
Yi Jin
0f2599fbf0 Dump Proto to a csv
Bug: 69427323
Test: N/A
Change-Id: I1b89898afc30d5a0df6355ee1f6477df8d271f98
2018-01-04 11:03:31 -08:00
TreeHugger Robot
1e8a6d36bc Merge "Refactored Field Classification score logic so it can be moved to ExtServices." 2018-01-04 19:00:40 +00:00
Manoj Boopathi Raj
5c18216aa7 Merge "Fix CTS Test Dual Stack Test Passing Issue" am: ae81e15c9c
am: a19acb6ac8

Change-Id: Ica9ded5c7bdbeb243c63a3ebb1ca273d4c8f4138
2018-01-04 18:59:41 +00:00
TreeHugger Robot
fe214f5cc8 Merge "Fix wrong attribute name used to restore databaseVersion." 2018-01-04 18:53:26 +00:00
Manoj Boopathi Raj
a19acb6ac8 Merge "Fix CTS Test Dual Stack Test Passing Issue"
am: ae81e15c9c

Change-Id: I30778e45730e79bc071344fb31fd0038d739ee9d
2018-01-04 18:51:12 +00:00
Chavi Weingarten
65f56647a2 Merge "Ensure the correct animation bounds for STACK_CLIP_BEFORE" 2018-01-04 18:48:46 +00:00
Eric Enslen
1e423b950a Default grant coarse loc perm to use-open-wifi app
Bug: 70843697
Test: flashed onto walleye and confirmed permission granted when WFA is
enabled.

Change-Id: Ic53886478ec6b8bef311f2f94e0976f7870c8cd1
2018-01-04 10:43:46 -08:00
TreeHugger Robot
a56cf51b3b Merge "incidentd: Updating BatteryStats process states." 2018-01-04 18:41:25 +00:00
TreeHugger Robot
f84ec9687a Merge "Added new Autofill APIs to get name of id used on android:text." 2018-01-04 18:40:24 +00:00
Manoj Boopathi Raj
ae81e15c9c Merge "Fix CTS Test Dual Stack Test Passing Issue" 2018-01-04 18:32:00 +00:00
Phil Weaver
9042643c1f Clarify accessibility event documentation
Removing suggestions to get information from events that
can instead be extracted from the node hierarchy.

Clarifying window change and announcement.

Comment changes only. I'm trying to steer developers to
use the APIs as we currently thing about them, but I'm
not changing any behavior.

Test: make
Change-Id: Ieecedbb98bdf11cf0cf4a29856db497986faaca6
2018-01-04 10:25:55 -08:00
Winson Chung
95f2b75dc5 Merge "Save PiP activity position on screen for next re-entry into PiP." 2018-01-04 18:25:50 +00:00
Yao Chen
147ce60278 use only string type in the log source whitelist.
+ predefined "AID_X" will be provided as string type to statsd, and we will translate
  to integer uid using the static map.

Test: statsd_test

Change-Id: Ie47d8481e0c456457e6881ebb9cb4ce008e772b8
2018-01-04 09:57:03 -08:00
TreeHugger Robot
01b2f0e1c8 Merge "Track brightness changes in nits rather than backlight values." 2018-01-04 17:51:29 +00:00
Sunny Goyal
d1b287e56f Using RenderNode for creating snapshot of a View, so that hardware
bitmaps are drawn properly

Test: atest FrameworksCoreTests:ViewCaptureTest
Change-Id: Ie137e8a73fb84665df7a55facd02b10d78764c80
2018-01-04 09:41:17 -08:00
Arthur Ishiguro
c8728e964b Rethrow RemoteException instead of log in ContextHubManager
Bug: 67734082
Test: Compile only
Change-Id: I1a61a5c9f47652539f7e1dac3a0c5306e994fcd4
2018-01-04 09:36:14 -08:00
Arthur Ishiguro
6f933f240b Remove unnecessary log from ContextHubManager
Bug: 67734082
Test: None
Change-Id: I7e0dc28f6ee502cc2a9993b5f82bb3409a65aeb3
2018-01-04 09:36:14 -08:00
Arthur Ishiguro
4473d7ee9d Remove legacy bug comment in NanoAppInstanceInfo
This was resolved during the redesign of the service.

Bug: 30970527
Test: None
Change-Id: If0c923b37a88e65216eba623c4898c04c7b02d58
2018-01-04 09:36:01 -08:00
Victor Chang
ea96e3d459 Merge changes from topic "StorageUnitTranslation"
* changes:
  Revert "Switch file size formatters to use ICU's MeasureFormat"
  Revert "Remove use of MeasureUnit.internalGetInstance"
2018-01-04 17:35:19 +00:00
Phil Weaver
cbc43ed9df Merge "Make accessibility window events more granular" 2018-01-04 17:09:35 +00:00
TreeHugger Robot
5fdf3d094a Merge "Removing unused colors." 2018-01-04 17:07:38 +00:00
TreeHugger Robot
ec397abf93 Merge "Update the ttc index attribute documentation" 2018-01-04 16:25:13 +00:00
Martijn Coenen
7490c5cbe4 Merge "Fix broken build due to missing imports in device owner transfer functionality." 2018-01-04 15:55:01 +00:00
Vishnu Nair
1d0fa0736d Add WindowState and LayoutParams proto
Bug: 64831661
Test: verify data using winscope
Change-Id: I91c9abcdbc45b53ed5f354e173e6fd03396e2744
2018-01-04 07:53:00 -08:00
arangelov
67f2c224a5 Fix broken build due to missing imports in device owner transfer functionality.
Test: None
Change-Id: Ib3563349fe754bd47166d473387ab1fb21c441c8
2018-01-04 15:52:12 +00:00
Jorim Jaggi
9454d58f57 Merge "Avoid setting size/position on Transaction if not needed" 2018-01-04 15:39:25 +00:00
Etan Cohen
b7abd810ba [AWARE][RTT] Check for null callback registration
Check on the manager side for null callback registration and throw
and exception.

Should be done in addition to service side checks since, in well
behaved apps (which don't bypass the manager), the callback registered
with the service is a proxy wrapper for the user-provided callback.

Bug: 71575804
Test: unit test & integration tests
Change-Id: Ice6585fccb13d842d9518b1f60bff911fb66c48f
2018-01-04 07:34:50 -08:00
Jake Wharton
21726d7a05 Merge "Correct Telephony source directory to match package." 2018-01-04 15:19:54 +00:00
Jake Wharton
695c53ee09 Correct Telephony source directory to match package.
Test: none
Bug: 71549250
Change-Id: I3e4c1d67240d83712f96d076d650af464a9c8277
2018-01-04 10:16:31 -05:00
Antoan Angelov
7e11cc11c8 Merge "Add device owner transfer functionality." 2018-01-04 15:07:03 +00:00