OSDN Git Service

android-x86/frameworks-base.git
6 years agoCarrier confirmation code.
Holly Jiuyu Sun [Sat, 14 Oct 2017 02:06:34 +0000 (19:06 -0700)]
Carrier confirmation code.

If confirmation code is null and required during downloading a profile,
returns a resovable error, and show ConfirmationCodeActivity. After we
get the confirmation code from the user, continue the operation.

Add the confirmationCode as a member in DownloadableSubscription.

Test: unit test, e2e on phone
Bug: 36730837
Change-Id: Ibe1e0fc5ddb736b411faf48ec9bea3c68972bb99

6 years agoMerge "Unhide MAKE_USER_EPHEMERAL"
TreeHugger Robot [Thu, 9 Nov 2017 00:39:57 +0000 (00:39 +0000)]
Merge "Unhide MAKE_USER_EPHEMERAL"

6 years agoMerge "Fix issue with accessibility when switching users"
TreeHugger Robot [Thu, 9 Nov 2017 00:02:46 +0000 (00:02 +0000)]
Merge "Fix issue with accessibility when switching users"

6 years agoMerge "Remove ImsService Feature Interfaces" am: abfdf0e03d am: 61fb76d9a0
Brad Ebinger [Wed, 8 Nov 2017 23:24:27 +0000 (23:24 +0000)]
Merge "Remove ImsService Feature Interfaces" am: abfdf0e03d am: 61fb76d9a0
am: 36521b89fe

Change-Id: Ib0bc09870473c437639a4026835a0bc26e6c6b0d

6 years agoMerge "Remove ImsService Feature Interfaces" am: abfdf0e03d
Brad Ebinger [Wed, 8 Nov 2017 23:13:35 +0000 (23:13 +0000)]
Merge "Remove ImsService Feature Interfaces" am: abfdf0e03d
am: 61fb76d9a0

Change-Id: Ib8602579b1028fd086c4fc0a13897a671bb6b73e

6 years agoMerge "Remove ImsService Feature Interfaces"
Brad Ebinger [Wed, 8 Nov 2017 23:04:09 +0000 (23:04 +0000)]
Merge "Remove ImsService Feature Interfaces"
am: abfdf0e03d

Change-Id: Ie142d4673c2a3930b3e7c3bcba617e5e26c8fb9c

6 years agoMerge "Remove ImsService Feature Interfaces"
Brad Ebinger [Wed, 8 Nov 2017 22:54:33 +0000 (22:54 +0000)]
Merge "Remove ImsService Feature Interfaces"

6 years agoMerge "Fix assertFloatingToolbarDoesNotContainItem"
TreeHugger Robot [Wed, 8 Nov 2017 22:42:43 +0000 (22:42 +0000)]
Merge "Fix assertFloatingToolbarDoesNotContainItem"

6 years agoMerge "Add missed finish() call"
TreeHugger Robot [Wed, 8 Nov 2017 22:39:41 +0000 (22:39 +0000)]
Merge "Add missed finish() call"

6 years agoMerge "Don't let keyguard to influence orientation when dismissing"
TreeHugger Robot [Wed, 8 Nov 2017 22:37:11 +0000 (22:37 +0000)]
Merge "Don't let keyguard to influence orientation when dismissing"

6 years agoMerge "Restore legacy recents package check to unblock quickstep development"
Winson Chung [Wed, 8 Nov 2017 22:33:30 +0000 (22:33 +0000)]
Merge "Restore legacy recents package check to unblock quickstep development"

6 years agoMerge "Update wal mode of the connection when disabling WAL"
Fyodor Kupolov [Wed, 8 Nov 2017 22:21:21 +0000 (22:21 +0000)]
Merge "Update wal mode of the connection when disabling WAL"

6 years agoMerge "Implement SkSL cache"
TreeHugger Robot [Wed, 8 Nov 2017 21:59:05 +0000 (21:59 +0000)]
Merge "Implement SkSL cache"

6 years agoMerge "AAPT2: Differentiate between Android and Java package names"
TreeHugger Robot [Wed, 8 Nov 2017 21:08:26 +0000 (21:08 +0000)]
Merge "AAPT2: Differentiate between Android and Java package names"

6 years agoMerge "Disable integer sanitizer in release function." am: 969ceebc5d am: cd9e2c04fa
Ivan Lozano [Wed, 8 Nov 2017 20:37:58 +0000 (20:37 +0000)]
Merge "Disable integer sanitizer in release function." am: 969ceebc5d am: cd9e2c04fa
am: 71f9c0aa4a

Change-Id: I07b5e209fca1c5ec932bd8b45e214f09dc822dde

6 years agoMerge "Disable integer sanitizer in release function." am: 969ceebc5d
Ivan Lozano [Wed, 8 Nov 2017 20:28:30 +0000 (20:28 +0000)]
Merge "Disable integer sanitizer in release function." am: 969ceebc5d
am: cd9e2c04fa

Change-Id: I0c586b04bf232703ddc33bf162ac82148f241e11

6 years agoMerge "Disable integer sanitizer in release function."
Ivan Lozano [Wed, 8 Nov 2017 20:20:06 +0000 (20:20 +0000)]
Merge "Disable integer sanitizer in release function."
am: 969ceebc5d

Change-Id: If880a4a81b11c32a5906ccc3f0d999ae515cfbc8

6 years agoMerge "Create a new user restriction to disallow user switching"
TreeHugger Robot [Wed, 8 Nov 2017 20:16:22 +0000 (20:16 +0000)]
Merge "Create a new user restriction to disallow user switching"

6 years agoDon't let keyguard to influence orientation when dismissing
Andrii Kulian [Tue, 10 Oct 2017 07:41:41 +0000 (00:41 -0700)]
Don't let keyguard to influence orientation when dismissing

When keyguard is being dismissed it still was overriding orientation
for the display, which caused report of wrong configuration to
activity that was becoming visible.

Bug: 66979760
Bug: 36897968
Fixes: 68131425
Test: Launch Unity 4 based game, lock and unlock screen, check UI
Test: com.android.server.wm.DisplayContentTests#testOrientationDefinedByKeyguard
Change-Id: I0a180b8e941a85ba4174a40cdec2ff0b8f3e00eb

6 years agoMerge "Disable integer sanitizer in release function."
Ivan Lozano [Wed, 8 Nov 2017 20:07:36 +0000 (20:07 +0000)]
Merge "Disable integer sanitizer in release function."

6 years agoMerge "Add OWNED_BY field." am: 107141be5c am: 9c7be233c3
yuemingw [Wed, 8 Nov 2017 19:54:54 +0000 (19:54 +0000)]
Merge "Add OWNED_BY field." am: 107141be5c am: 9c7be233c3
am: 592d620238

Change-Id: Ib023411485c971815f05e0b1e5894adbc725a6d8

6 years agoMerge "Add OWNED_BY field." am: 107141be5c
yuemingw [Wed, 8 Nov 2017 19:45:14 +0000 (19:45 +0000)]
Merge "Add OWNED_BY field." am: 107141be5c
am: 9c7be233c3

Change-Id: Icf11a35867625a5a47450f5dc9a1b05ec00de502

6 years agoMerge "Add OWNED_BY field."
yuemingw [Wed, 8 Nov 2017 19:36:44 +0000 (19:36 +0000)]
Merge "Add OWNED_BY field."
am: 107141be5c

Change-Id: Ib3ee22a0407881e6e7e754ea3504f5568c0ac31a

6 years agoMerge "Add OWNED_BY field."
Treehugger Robot [Wed, 8 Nov 2017 19:28:37 +0000 (19:28 +0000)]
Merge "Add OWNED_BY field."

6 years agoMerge "Very initial field detection prototype."
TreeHugger Robot [Wed, 8 Nov 2017 19:13:39 +0000 (19:13 +0000)]
Merge "Very initial field detection prototype."

6 years agoImplement SkSL cache
Stan Iliev [Mon, 9 Oct 2017 19:49:32 +0000 (15:49 -0400)]
Implement SkSL cache

Implement SkSL cache by reusing code and logic from egl_cache_t.

Test: Improves startup times for gmail by 15ms and 10ms for calc app.
Bug: 66740665
Change-Id: I9ba479c649ba97a2c29a48d40579ba001264c957

6 years agoMerge "Fix signature for finalize() to resolve API Lint error" am: c8ff280e73 am...
nharold [Wed, 8 Nov 2017 18:46:41 +0000 (18:46 +0000)]
Merge "Fix signature for finalize() to resolve API Lint error" am: c8ff280e73 am: c09d405e1d
am: f61308b9e4

Change-Id: I4b91b3b01ef24d43439bbc41bc8acaa7c690522b

6 years agoAdd missed finish() call
Victor Hsieh [Wed, 8 Nov 2017 18:44:20 +0000 (10:44 -0800)]
Add missed finish() call

Note this is for code correctness and has no effect in current case.

Test: build
Bug: 30972906
Change-Id: I1dad13e75492da546c1d3717bbe2d23b9e5d9c90

6 years agoMerge "Update documentation for AES-GCM-ESP keymat length" am: 3db35dfcd5 am: 6491b03410
Benedict Wong [Wed, 8 Nov 2017 18:27:06 +0000 (18:27 +0000)]
Merge "Update documentation for AES-GCM-ESP keymat length" am: 3db35dfcd5 am: 6491b03410
am: d840f4d667

Change-Id: Ia0e1538feea2ddb0982875c925705c3648e50c8a

6 years agoMerge "Fix signature for finalize() to resolve API Lint error" am: c8ff280e73
nharold [Wed, 8 Nov 2017 18:20:06 +0000 (18:20 +0000)]
Merge "Fix signature for finalize() to resolve API Lint error" am: c8ff280e73
am: c09d405e1d

Change-Id: I1f8915547876e0e0045724eb9a1e29123ab4edda

6 years agoFix issue with accessibility when switching users
Phil Weaver [Wed, 8 Nov 2017 18:17:40 +0000 (10:17 -0800)]
Fix issue with accessibility when switching users

We need to unbind all services in unbindAllServicesLocked.
I was only unbinding all but one.

Fixes: 68814166
Test: Enabled Select to Speak, switched to guest, then
switched back. Previously S2S didn't restart. Now it does.

Change-Id: Ib6eb8ff7532a0c88faa3f14760dfd58774e3f5c2

6 years agoMerge "Update documentation for AES-GCM-ESP keymat length" am: 3db35dfcd5
Benedict Wong [Wed, 8 Nov 2017 18:12:25 +0000 (18:12 +0000)]
Merge "Update documentation for AES-GCM-ESP keymat length" am: 3db35dfcd5
am: 6491b03410

Change-Id: I5e61a9c28dac49f2dca554ce2fdf755ab7be0dab

6 years agoMerge "Make PopupWindows into root namespaces"
Evan Rosky [Wed, 8 Nov 2017 18:11:33 +0000 (18:11 +0000)]
Merge "Make PopupWindows into root namespaces"

6 years agoMerge "Fix signature for finalize() to resolve API Lint error"
nharold [Wed, 8 Nov 2017 18:11:20 +0000 (18:11 +0000)]
Merge "Fix signature for finalize() to resolve API Lint error"
am: c8ff280e73

Change-Id: I1ad1ee6abafea702d9bb64f45ebad5ea307f25ec

6 years agoMerge "Fix the list of PROCESS_TEXT items in the toolbar."
TreeHugger Robot [Wed, 8 Nov 2017 18:09:12 +0000 (18:09 +0000)]
Merge "Fix the list of PROCESS_TEXT items in the toolbar."

6 years agoMerge "Update documentation for AES-GCM-ESP keymat length"
Benedict Wong [Wed, 8 Nov 2017 18:02:53 +0000 (18:02 +0000)]
Merge "Update documentation for AES-GCM-ESP keymat length"
am: 3db35dfcd5

Change-Id: I71b24c9da8c677e35d05b6623eb99ec17f823b4b

6 years agoMerge "Fix signature for finalize() to resolve API Lint error"
nharold [Wed, 8 Nov 2017 17:56:43 +0000 (17:56 +0000)]
Merge "Fix signature for finalize() to resolve API Lint error"

6 years agoMerge "convert Uibench test to aapt2"
Dake Gu [Wed, 8 Nov 2017 17:48:27 +0000 (17:48 +0000)]
Merge "convert Uibench test to aapt2"

6 years agoDisable integer sanitizer in release function.
Ivan Lozano [Wed, 8 Nov 2017 17:48:11 +0000 (09:48 -0800)]
Disable integer sanitizer in release function.

EphemeralStorage::release was causing an unsigned integer overflow on
boot due to the way the for loop is constructed. This function doesn't
need to be sanitized. This adds the no_sanitize attribute to the
function.

Bug: 30969751
Test: Compiles and device boots without runtime error.
Change-Id: Id28a2891624c1fe077fa5e27051540a39e33fe71

6 years agoMerge "Update documentation for AES-GCM-ESP keymat length"
Benedict Wong [Wed, 8 Nov 2017 17:47:40 +0000 (17:47 +0000)]
Merge "Update documentation for AES-GCM-ESP keymat length"

6 years agoMerge "Move ImsServiceProxy to opt/net/ims" am: b5d2f0c24f am: 6093305789
Brad Ebinger [Wed, 8 Nov 2017 17:40:17 +0000 (17:40 +0000)]
Merge "Move ImsServiceProxy to opt/net/ims" am: b5d2f0c24f am: 6093305789
am: fcec01f040

Change-Id: Ia27032259a31a585ac93ac90b8251af7d7e2f76d

6 years agoMerge "Move ImsServiceProxy to opt/net/ims" am: b5d2f0c24f
Brad Ebinger [Wed, 8 Nov 2017 17:30:49 +0000 (17:30 +0000)]
Merge "Move ImsServiceProxy to opt/net/ims" am: b5d2f0c24f
am: 6093305789

Change-Id: Ic1b21cd9a0fc906601bf37bf5e71aafdcbf0bd47

6 years agoMerge "Revert "PMSCompilerMapping: Hardcode a value for pm.dexopt.shared"" am: f597ad...
Andreas Gampe [Wed, 8 Nov 2017 17:24:16 +0000 (17:24 +0000)]
Merge "Revert "PMSCompilerMapping: Hardcode a value for pm.dexopt.shared"" am: f597ad5106 am: 41c52377ed
am: 1fb4c9a48a

Change-Id: If003333607b55f06bc6e2324464bf2195861278d

6 years agoMerge "Move ImsServiceProxy to opt/net/ims"
Brad Ebinger [Wed, 8 Nov 2017 17:21:53 +0000 (17:21 +0000)]
Merge "Move ImsServiceProxy to opt/net/ims"
am: b5d2f0c24f

Change-Id: If8fbd0b2adf9f3f2f9a5d4a670b1e0bf1b445066

6 years agoMerge "Move ImsServiceProxy to opt/net/ims"
Brad Ebinger [Wed, 8 Nov 2017 17:12:44 +0000 (17:12 +0000)]
Merge "Move ImsServiceProxy to opt/net/ims"

6 years agoMerge "Revert "PMSCompilerMapping: Hardcode a value for pm.dexopt.shared"" am: f597ad5106
Andreas Gampe [Wed, 8 Nov 2017 17:09:48 +0000 (17:09 +0000)]
Merge "Revert "PMSCompilerMapping: Hardcode a value for pm.dexopt.shared"" am: f597ad5106
am: 41c52377ed

Change-Id: I9058f70565327fe772b966a2fc3d55f187e267a2

6 years agoMerge "Track deprecation/replacement of Os methods that depend on Mutable*" am: e8b07...
Tobias Thierer [Wed, 8 Nov 2017 17:09:37 +0000 (17:09 +0000)]
Merge "Track deprecation/replacement of Os methods that depend on Mutable*" am: e8b07e5bef am: d20ae24fb1
am: fbaf4253ae

Change-Id: I3116c759bc651e2fe4a93c17685d7f458d1d436e

6 years agoMerge "Revert "PMSCompilerMapping: Hardcode a value for pm.dexopt.shared""
Andreas Gampe [Wed, 8 Nov 2017 16:53:10 +0000 (16:53 +0000)]
Merge "Revert "PMSCompilerMapping: Hardcode a value for pm.dexopt.shared""
am: f597ad5106

Change-Id: I1d4f37c16ff9dfe8cdc998274d4e8b50e1987be7

6 years agoMerge "Track deprecation/replacement of Os methods that depend on Mutable*" am: e8b07...
Tobias Thierer [Wed, 8 Nov 2017 16:52:46 +0000 (16:52 +0000)]
Merge "Track deprecation/replacement of Os methods that depend on Mutable*" am: e8b07e5bef
am: d20ae24fb1

Change-Id: I275c4fb658f6c158d38a6062bf1622e239e1603c

6 years agoMerge "Switch class hierarchy of ImsServiceProxy and compat" am: 7805de4002 am: 90f22...
Brad Ebinger [Wed, 8 Nov 2017 16:51:41 +0000 (16:51 +0000)]
Merge "Switch class hierarchy of ImsServiceProxy and compat" am: 7805de4002 am: 90f22d4bf6
am: e288472122

Change-Id: Icde853dde9257a0314b0ebe1619edb7eb55d216d

6 years agoMerge "WifiInfo: Documentation for change of SSID formatting"
TreeHugger Robot [Wed, 8 Nov 2017 16:47:52 +0000 (16:47 +0000)]
Merge "WifiInfo: Documentation for change of SSID formatting"

6 years agoMerge "Track deprecation/replacement of Os methods that depend on Mutable*"
Tobias Thierer [Wed, 8 Nov 2017 16:44:30 +0000 (16:44 +0000)]
Merge "Track deprecation/replacement of Os methods that depend on Mutable*"
am: e8b07e5bef

Change-Id: Iebebb843f0857cad4ace13731d1f066ab84eabb6

6 years agoMerge "Switch class hierarchy of ImsServiceProxy and compat" am: 7805de4002
Brad Ebinger [Wed, 8 Nov 2017 16:37:36 +0000 (16:37 +0000)]
Merge "Switch class hierarchy of ImsServiceProxy and compat" am: 7805de4002
am: 90f22d4bf6

Change-Id: I227b081551539e4299f63c304a4e27d9be2070c7

6 years agoMerge "Revert "PMSCompilerMapping: Hardcode a value for pm.dexopt.shared""
Treehugger Robot [Wed, 8 Nov 2017 16:36:59 +0000 (16:36 +0000)]
Merge "Revert "PMSCompilerMapping: Hardcode a value for pm.dexopt.shared""

6 years agoMerge "Track deprecation/replacement of Os methods that depend on Mutable*"
Tobias Thierer [Wed, 8 Nov 2017 16:34:03 +0000 (16:34 +0000)]
Merge "Track deprecation/replacement of Os methods that depend on Mutable*"

6 years agoMerge "Switch class hierarchy of ImsServiceProxy and compat"
Brad Ebinger [Wed, 8 Nov 2017 16:30:27 +0000 (16:30 +0000)]
Merge "Switch class hierarchy of ImsServiceProxy and compat"
am: 7805de4002

Change-Id: I0ec39abb8006c7b29b449a59c7408a97549671f0

6 years agoMerge "Switch class hierarchy of ImsServiceProxy and compat"
Brad Ebinger [Wed, 8 Nov 2017 16:20:39 +0000 (16:20 +0000)]
Merge "Switch class hierarchy of ImsServiceProxy and compat"

6 years agoFix assertFloatingToolbarDoesNotContainItem
Abodunrinwa Toki [Wed, 8 Nov 2017 15:27:27 +0000 (15:27 +0000)]
Fix assertFloatingToolbarDoesNotContainItem

Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest
Change-Id: I859991489f316258d9e0b6610bda500ae968026c

6 years agoMerge "Remove dnd, expand, alarm stream from volume dlg"
TreeHugger Robot [Wed, 8 Nov 2017 15:07:35 +0000 (15:07 +0000)]
Merge "Remove dnd, expand, alarm stream from volume dlg"

6 years agoMerge "Initial implementation of generateLinks"
Richard Ledley [Wed, 8 Nov 2017 13:35:21 +0000 (13:35 +0000)]
Merge "Initial implementation of generateLinks"

6 years agoAdd OWNED_BY field.
yuemingw [Wed, 8 Nov 2017 13:12:18 +0000 (13:12 +0000)]
Add OWNED_BY field.

Bug: 68208199
Test: later

Design doc: https://docs.google.com/document/d/1UEYjhRGSEwwccPLs_FzFD-IeOsVq63gxmAHNtDfnzAY/edit#heading=h.jza6dz6kh6bz

Change-Id: Ic78df7902523bad4b3d40bacb73b17d767226aac

6 years agoMerge "Fixes javadoc documentation of PackageInstaller.SessionParams#setOriginatingUi...
TreeHugger Robot [Wed, 8 Nov 2017 12:26:51 +0000 (12:26 +0000)]
Merge "Fixes javadoc documentation of PackageInstaller.SessionParams#setOriginatingUid(int)"

6 years agoInitial implementation of generateLinks
Richard Ledley [Thu, 5 Oct 2017 09:52:19 +0000 (10:52 +0100)]
Initial implementation of generateLinks

Test: Included, and ag/3141575

Change-Id: Ia91aa130e95ff347c55981b68b8d975bc8131a73

6 years agoFix cts failure for com.android.cts.devicepolicy.ManagedProfileTest#testParentProfile...
yuemingw [Tue, 7 Nov 2017 15:19:45 +0000 (15:19 +0000)]
Fix cts failure for com.android.cts.devicepolicy.ManagedProfileTest#testParentProfileApiDisabled

Change-Id: Iba6078f06d7d251a12c530058d1f2ace78aa3e92
Fix: 68954948
Test: com.android.cts.devicepolicy.ManagedProfileTest#testParentProfileApiDisabled

6 years agoMerge "Added new update engine error codes from /android/system/update_engine/common...
TreeHugger Robot [Wed, 8 Nov 2017 09:03:07 +0000 (09:03 +0000)]
Merge "Added new update engine error codes from /android/system/update_engine/common/error_code.h"

6 years agoMerge "Define MacAddress class" am: 925349ac8f am: 37caaaa705
Hugo Benichi [Wed, 8 Nov 2017 06:57:00 +0000 (06:57 +0000)]
Merge "Define MacAddress class" am: 925349ac8f am: 37caaaa705
am: 76c2cd2a6a

Change-Id: I0e09e64bb2a6306c0422443038351fabf10e2d6e

6 years agoMerge "Define MacAddress class" am: 925349ac8f
Hugo Benichi [Wed, 8 Nov 2017 06:46:49 +0000 (06:46 +0000)]
Merge "Define MacAddress class" am: 925349ac8f
am: 37caaaa705

Change-Id: I377de35ab9ce9d8bf44bd90295a2a41fbea06d7a

6 years agoMerge "Define MacAddress class"
Hugo Benichi [Wed, 8 Nov 2017 06:39:40 +0000 (06:39 +0000)]
Merge "Define MacAddress class"
am: 925349ac8f

Change-Id: If270c17b1b763e302b848fba2fe4660ce5929018

6 years agoMerge "Define MacAddress class"
Hugo Benichi [Wed, 8 Nov 2017 06:30:04 +0000 (06:30 +0000)]
Merge "Define MacAddress class"

6 years agoMerge "Implement getMinLineWidth for LineWidthDelegate"
TreeHugger Robot [Wed, 8 Nov 2017 04:24:52 +0000 (04:24 +0000)]
Merge "Implement getMinLineWidth for LineWidthDelegate"

6 years agoMerge "Networking metrics: minor pretty printing improvements" am: ee56b4a65c am...
Hugo Benichi [Wed, 8 Nov 2017 03:56:40 +0000 (03:56 +0000)]
Merge "Networking metrics: minor pretty printing improvements" am: ee56b4a65c am: 5480314039
am: 2e2763f067

Change-Id: I5c3d7acf4765daaa31b593f8cb51566de6cf89c5

6 years agoMerge "Networking metrics: minor pretty printing improvements" am: ee56b4a65c
Hugo Benichi [Wed, 8 Nov 2017 03:48:40 +0000 (03:48 +0000)]
Merge "Networking metrics: minor pretty printing improvements" am: ee56b4a65c
am: 5480314039

Change-Id: I26ec8ca2d10eb5071de701043f60b67bcfbf7ba5

6 years agoMerge "Networking metrics: minor pretty printing improvements"
Hugo Benichi [Wed, 8 Nov 2017 03:39:55 +0000 (03:39 +0000)]
Merge "Networking metrics: minor pretty printing improvements"
am: ee56b4a65c

Change-Id: I5a19824564a56881ffe0ea72556490c71c0d9c23

6 years agoMerge "Networking metrics: minor pretty printing improvements"
Treehugger Robot [Wed, 8 Nov 2017 03:27:25 +0000 (03:27 +0000)]
Merge "Networking metrics: minor pretty printing improvements"

6 years agoMerge "Migrate all remaining MetricProducers to use ProtoOutputStream"
TreeHugger Robot [Wed, 8 Nov 2017 03:26:53 +0000 (03:26 +0000)]
Merge "Migrate all remaining MetricProducers to use ProtoOutputStream"

6 years agoMerge "Expose SmsManager#sendTextMessageWithoutPersisting as a public API"
TreeHugger Robot [Wed, 8 Nov 2017 03:22:35 +0000 (03:22 +0000)]
Merge "Expose SmsManager#sendTextMessageWithoutPersisting as a public API"

6 years agoconvert Uibench test to aapt2
Dake Gu [Wed, 8 Nov 2017 02:50:29 +0000 (18:50 -0800)]
convert Uibench test to aapt2

Bug: NA
Test: build
Change-Id: Ibe70c6c15d8f72d40b1d6c2c43872d02a0bdb872

6 years agoMerge "Fix test breakage in settingslib"
TreeHugger Robot [Wed, 8 Nov 2017 03:05:42 +0000 (03:05 +0000)]
Merge "Fix test breakage in settingslib"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Wed, 8 Nov 2017 02:56:52 +0000 (02:56 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Fix a11y shortcut"
TreeHugger Robot [Wed, 8 Nov 2017 02:47:56 +0000 (02:47 +0000)]
Merge "Fix a11y shortcut"

6 years agoRevert "PMSCompilerMapping: Hardcode a value for pm.dexopt.shared"
Andreas Gampe [Wed, 8 Nov 2017 02:21:58 +0000 (02:21 +0000)]
Revert "PMSCompilerMapping: Hardcode a value for pm.dexopt.shared"

This reverts commit e131dac848cb4d0998e1dee2219382250c71d277.

Reason for revert: ART default properties are now in /system.

Bug: 68755013
Change-Id: I32d938abb73c8d8df74716ede8032d9874086fda

6 years agoMerge "Use enum class for FontVariation and update MinikinUtils"
TreeHugger Robot [Wed, 8 Nov 2017 02:21:56 +0000 (02:21 +0000)]
Merge "Use enum class for FontVariation and update MinikinUtils"

6 years agoMerge "Access already-read descriptors on device connect. (Eliminate extra read)"
TreeHugger Robot [Wed, 8 Nov 2017 02:18:10 +0000 (02:18 +0000)]
Merge "Access already-read descriptors on device connect. (Eliminate extra read)"

6 years agoMerge "Fix NPE notifyActivityPinned"
TreeHugger Robot [Wed, 8 Nov 2017 02:14:05 +0000 (02:14 +0000)]
Merge "Fix NPE notifyActivityPinned"

6 years agoDefine MacAddress class
Hugo Benichi [Thu, 12 Oct 2017 12:33:40 +0000 (21:33 +0900)]
Define MacAddress class

Test: new unit tests part of $ runtest frameworks-net
Change-Id: I5a6a868ff86e9bffdc551d4e2bb486b585525c30

6 years agoMerge changes I37d55b60,I350ec45b
TreeHugger Robot [Wed, 8 Nov 2017 02:01:25 +0000 (02:01 +0000)]
Merge changes I37d55b60,I350ec45b

* changes:
  Fixes connecting to service after setup finishes for other users
  Fixes service disconnect crash when changing users

6 years agoRestore legacy recents package check to unblock quickstep development
Winson Chung [Tue, 7 Nov 2017 16:30:54 +0000 (08:30 -0800)]
Restore legacy recents package check to unblock quickstep development

- We added a recents component to allow the development of the recents
  activity without exposing more privileged permissions, however, SysUI
  needs to point to the old activity until the new one is ready (it
  already has the existing priveleged permissions).  For the time being,
  restore the original check for the recents package (to be removed
  immediately after we switch SysUI to launch the quickstep overview),
  so that we can both enable the recents component overlay (for
  development) without the existing recents activity going being given
  the wrong activity type (for now both the legacy and new recents
  component will have ACTIVITY_TYPE_RECENTS).
- Add a sysui test to ensure that the current recents activity also has
  the right activity type

Bug: 68774229
Test: com.android.server.am.RecentTasksTest#testRecentsComponentActivityType
Test: com.android.systemui.recents.RecentsTest#testRecentsActivityType

Change-Id: I4bb59efa3507d61ac86c75d3b9c80f2e32d2f7b9

6 years agoFix signature for finalize() to resolve API Lint error
Nathan Harold [Wed, 8 Nov 2017 01:17:45 +0000 (17:17 -0800)]
Fix signature for finalize() to resolve API Lint error

The API linter on goog/master noticed that this method is
listed in the public API even though it's protected. The
change is probably related to a signature change from the
internal finalize method which throws a Throwable. Fix the
method in IpSecManager to throw Throwable, which should
fix the current.txt and resolve the lint error.

Bug: 69006767
Test: compilation, make update-api
Change-Id: I173d014baaa505c365b7916fcb52f2a8b4af9373

6 years agoUpdate documentation for AES-GCM-ESP keymat length
Benedict Wong [Thu, 2 Nov 2017 00:14:25 +0000 (17:14 -0700)]
Update documentation for AES-GCM-ESP keymat length

Added notes that keymat length must include 32 bits of salt.

Bug: 68672051
Test: Frameworks-net unit tests & IpSecManager CTS tests run
Change-Id: I0ae0c5be8a45b2374783b3bd1fa8bf930f15e687

6 years agoAdjust Uri host parsing to use last instead of first @. am: cd6228dd37 am: 6a9c7c4814...
Adam Vartanian [Wed, 8 Nov 2017 01:39:17 +0000 (01:39 +0000)]
Adjust Uri host parsing to use last instead of first @. am: cd6228dd37 am: 6a9c7c4814 am: 4158c9fbf3 am: eee677386e am: 49e5fca362 am: 240b55de2c am: 3ac5dabc21 am: f61daaa333 am: 49dfdd66cc am: eb4598afba am: a2149abe3a am: 560fb5d050 am: 2edd31e7fc am: 97ff9f9d27
am: 580feb2e37

Change-Id: I009e5d8a7b32705f3ac01f989b4e68b5fa5664ef

6 years agoMigrate all remaining MetricProducers to use ProtoOutputStream
yro [Mon, 6 Nov 2017 22:27:31 +0000 (14:27 -0800)]
Migrate all remaining MetricProducers to use ProtoOutputStream

Test: statsd, statsd_test
Change-Id: I1087e1c1ffb372ca288dfc575cb7a372b11ce8c5

6 years agoAdjust Uri host parsing to use last instead of first @. am: cd6228dd37 am: 6a9c7c4814...
Adam Vartanian [Wed, 8 Nov 2017 01:13:26 +0000 (01:13 +0000)]
Adjust Uri host parsing to use last instead of first @. am: cd6228dd37 am: 6a9c7c4814 am: 4158c9fbf3 am: eee677386e am: 49e5fca362 am: 240b55de2c am: 3ac5dabc21 am: f61daaa333 am: 49dfdd66cc am: eb4598afba am: a2149abe3a am: 560fb5d050 am: 2edd31e7fc
am: 97ff9f9d27

Change-Id: Ied66e9bfef6708e0c03b0f97240e3a4b67780ddf

6 years agoNetworking metrics: minor pretty printing improvements
Hugo Benichi [Tue, 7 Nov 2017 12:42:10 +0000 (21:42 +0900)]
Networking metrics: minor pretty printing improvements

Bug: 65700460
Test: manually verified the output of $ adb shell dumpsys connmetrics
Change-Id: Ieae535b48d2e2b6e9087431d345c8f916006bb6c

6 years agoFix a11y shortcut
Phil Weaver [Wed, 8 Nov 2017 00:39:19 +0000 (16:39 -0800)]
Fix a11y shortcut

Adding a default value when checking settings.

Bug: 68765076
Test: Now able to activate shortcut.
Change-Id: Ic648249dae042dd318301d0659cb4de4cc719ff6

6 years agoAdjust Uri host parsing to use last instead of first @. am: cd6228dd37 am: 6a9c7c4814...
Adam Vartanian [Wed, 8 Nov 2017 00:38:27 +0000 (00:38 +0000)]
Adjust Uri host parsing to use last instead of first @. am: cd6228dd37 am: 6a9c7c4814 am: 4158c9fbf3 am: eee677386e am: 49e5fca362 am: 240b55de2c am: 3ac5dabc21 am: f61daaa333 am: 49dfdd66cc am: eb4598afba am: a2149abe3a am: 560fb5d050
am: 2edd31e7fc

Change-Id: Ic915bece1025d8ad8a0ed05e9b20afa9bfcdd811

6 years agoMerge "AAPT2: Better debugging output"
TreeHugger Robot [Wed, 8 Nov 2017 00:20:40 +0000 (00:20 +0000)]
Merge "AAPT2: Better debugging output"

6 years agoAdjust Uri host parsing to use last instead of first @. am: cd6228dd37 am: 6a9c7c4814...
Adam Vartanian [Wed, 8 Nov 2017 00:15:23 +0000 (00:15 +0000)]
Adjust Uri host parsing to use last instead of first @. am: cd6228dd37 am: 6a9c7c4814 am: 4158c9fbf3 am: eee677386e am: 49e5fca362 am: 240b55de2c am: 3ac5dabc21 am: f61daaa333 am: 49dfdd66cc am: eb4598afba am: a2149abe3a
am: 560fb5d050

Change-Id: I088a828022a70b0d2ac1b88c4fab3801528eb4f8

6 years agoAdjust Uri host parsing to use last instead of first @. am: cd6228dd37 am: 6a9c7c4814...
Adam Vartanian [Tue, 7 Nov 2017 23:50:35 +0000 (23:50 +0000)]
Adjust Uri host parsing to use last instead of first @. am: cd6228dd37 am: 6a9c7c4814 am: 4158c9fbf3 am: eee677386e am: 49e5fca362 am: 240b55de2c am: 3ac5dabc21 am: f61daaa333 am: 49dfdd66cc am: eb4598afba
am: a2149abe3a

Change-Id: I48d611e91318a8f85f12fcff5fc00de8b1f834c9

6 years agoFixes connecting to service after setup finishes for other users
Matthew Ng [Tue, 7 Nov 2017 23:46:51 +0000 (15:46 -0800)]
Fixes connecting to service after setup finishes for other users

Changed event to connect to launcher service using onUserSetupChanged
instead of onDeviceProvisionedChanged since it does not run when other
users finish setup wizard.

Test: manual - create new user and finish setup, check connection status
Change-Id: I37d55b6089ebddb0bd2ab9e5d0e0bb3fa8d73948
Fixes: 68994491

6 years agoMerge "Introduce write lock for mDragState"
TreeHugger Robot [Tue, 7 Nov 2017 23:44:51 +0000 (23:44 +0000)]
Merge "Introduce write lock for mDragState"