OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Do not throw on call to isTetheringSupported w/o permission" into oc-mr1-dev
Chalard Jean [Wed, 27 Sep 2017 02:12:24 +0000 (02:12 +0000)]
Merge "Do not throw on call to isTetheringSupported w/o permission" into oc-mr1-dev
am: e545f00e10

Change-Id: Ib5b17a7f68c1327f47fe1f54c0454c51f4226907

6 years agoMerge "Do not throw on call to isTetheringSupported w/o permission" into oc-mr1-dev
Chalard Jean [Wed, 27 Sep 2017 02:04:33 +0000 (02:04 +0000)]
Merge "Do not throw on call to isTetheringSupported w/o permission" into oc-mr1-dev

6 years agoMerge "AudioService: Don't honour SCO ON request if SCO is not connected" into oc...
Sharad Sangle [Wed, 27 Sep 2017 01:59:25 +0000 (01:59 +0000)]
Merge "AudioService: Don't honour SCO ON request if SCO is not connected" into oc-mr1-dev
am: 44eac965d5

Change-Id: I98cb618fdba2f1aa92fb8130d7caf075711d6cb9

6 years agoMerge "AudioService: Don't honour SCO ON request if SCO is not connected" into oc...
TreeHugger Robot [Wed, 27 Sep 2017 01:52:54 +0000 (01:52 +0000)]
Merge "AudioService: Don't honour SCO ON request if SCO is not connected" into oc-mr1-dev

6 years agoMerge "Fix spelling mistake in dumpsys output" into oc-mr1-dev
Calin Juravle [Wed, 27 Sep 2017 01:22:06 +0000 (01:22 +0000)]
Merge "Fix spelling mistake in dumpsys output" into oc-mr1-dev
am: 1198bec925

Change-Id: I21837cdcdc44c8bc8496ed699b3e8420534fd9c4

6 years agoMerge "Fix spelling mistake in dumpsys output" into oc-mr1-dev
TreeHugger Robot [Wed, 27 Sep 2017 01:14:35 +0000 (01:14 +0000)]
Merge "Fix spelling mistake in dumpsys output" into oc-mr1-dev

6 years agoMerge "[DO NOT MERGE] Fix another AddAccountSettings memory leak" am: bff14ae56f...
Fyodor Kupolov [Wed, 27 Sep 2017 00:53:21 +0000 (00:53 +0000)]
Merge "[DO NOT MERGE] Fix another AddAccountSettings memory leak" am: bff14ae56f  -s ours am: 602aa57cb9  -s ours
am: 6790df9a90

Change-Id: I0a579c43358eda1ef9e924bff52af12412f17568

6 years agoMerge "[DO NOT MERGE] Fix another AddAccountSettings memory leak" am: bff14ae56f...
Fyodor Kupolov [Wed, 27 Sep 2017 00:46:29 +0000 (00:46 +0000)]
Merge "[DO NOT MERGE] Fix another AddAccountSettings memory leak" am: bff14ae56f  -s ours
am: 602aa57cb9  -s ours

Change-Id: I62c9c5e8edec52feb8bbd680a2206feda172e133

6 years agoMerge "[DO NOT MERGE] Fix another AddAccountSettings memory leak"
Fyodor Kupolov [Wed, 27 Sep 2017 00:34:37 +0000 (00:34 +0000)]
Merge "[DO NOT MERGE] Fix another AddAccountSettings memory leak"
am: bff14ae56f  -s ours

Change-Id: I4737fa1dd54600f276ce90d3a04dbbd7cebe7f54

6 years agoMerge "[DO NOT MERGE] Fix another AddAccountSettings memory leak"
Fyodor Kupolov [Wed, 27 Sep 2017 00:25:16 +0000 (00:25 +0000)]
Merge "[DO NOT MERGE] Fix another AddAccountSettings memory leak"

6 years agoMerge "Remove obsolete & broken handling of precompiled sys apps" into oc-mr1-dev
Calin Juravle [Wed, 27 Sep 2017 00:20:00 +0000 (00:20 +0000)]
Merge "Remove obsolete & broken handling of precompiled sys apps" into oc-mr1-dev
am: 3e00e3bd92

Change-Id: Id5a92c8f49d07896327cba7c63f06392026909d9

6 years agoMerge "Remove obsolete & broken handling of precompiled sys apps" into oc-mr1-dev
TreeHugger Robot [Wed, 27 Sep 2017 00:13:22 +0000 (00:13 +0000)]
Merge "Remove obsolete & broken handling of precompiled sys apps" into oc-mr1-dev

6 years agoMerge "Added missing quote (") on anchor tag." into oc-mr1-dev
Felipe Leme [Tue, 26 Sep 2017 23:42:37 +0000 (23:42 +0000)]
Merge "Added missing quote (") on anchor tag." into oc-mr1-dev
am: 7c112b733c

Change-Id: I1f51b9217766be19c83001f052bc6f698b050ca9

6 years agoMerge "Added missing quote (") on anchor tag." into oc-mr1-dev
Felipe Leme [Tue, 26 Sep 2017 23:35:41 +0000 (23:35 +0000)]
Merge "Added missing quote (") on anchor tag." into oc-mr1-dev

6 years agoMerge "Adjusted chooser padding so 2nd line isn't cutoff." into oc-mr1-dev
Beverly [Tue, 26 Sep 2017 23:20:09 +0000 (23:20 +0000)]
Merge "Adjusted chooser padding so 2nd line isn't cutoff." into oc-mr1-dev
am: 5802026595

Change-Id: Ic2bb95c7230ea25646824f41d219b09d3cb70709

6 years agoMerge "Adjusted chooser padding so 2nd line isn't cutoff." into oc-mr1-dev
TreeHugger Robot [Tue, 26 Sep 2017 23:14:08 +0000 (23:14 +0000)]
Merge "Adjusted chooser padding so 2nd line isn't cutoff." into oc-mr1-dev

6 years agoMerge "Don't convert all sounds to vibrations in vibrate mode" into oc-mr1-dev
Julia Reynolds [Tue, 26 Sep 2017 23:11:38 +0000 (23:11 +0000)]
Merge "Don't convert all sounds to vibrations in vibrate mode" into oc-mr1-dev
am: 169f367125

Change-Id: Iaa1818e4d04f913c15da06a8dbbc5993d0e0a7e0

6 years agoMerge "Don't convert all sounds to vibrations in vibrate mode" into oc-mr1-dev
TreeHugger Robot [Tue, 26 Sep 2017 23:04:24 +0000 (23:04 +0000)]
Merge "Don't convert all sounds to vibrations in vibrate mode" into oc-mr1-dev

6 years agoMerge "Shorter notification text on AoD" into oc-mr1-dev
Lucas Dupin [Tue, 26 Sep 2017 22:54:31 +0000 (22:54 +0000)]
Merge "Shorter notification text on AoD" into oc-mr1-dev
am: 371ed39c93

Change-Id: I1d719ba5224081712ce4463215cfdcc980ed7749

6 years agoMerge "Shorter notification text on AoD" into oc-mr1-dev
TreeHugger Robot [Tue, 26 Sep 2017 22:48:42 +0000 (22:48 +0000)]
Merge "Shorter notification text on AoD" into oc-mr1-dev

6 years agoMerge changes from topic "re-enable-ipsec" am: 680525c742 am: 8d306cd78a
nharold [Tue, 26 Sep 2017 22:39:01 +0000 (22:39 +0000)]
Merge changes from topic "re-enable-ipsec" am: 680525c742 am: 8d306cd78a
am: 80107540bb

Change-Id: I13a7134864a648aff9338fda044b3bffd653119e

6 years agoRe-Enable Starting of the IpSecService am: b72821747c am: f434a6d308
Nathan Harold [Tue, 26 Sep 2017 22:37:44 +0000 (22:37 +0000)]
Re-Enable Starting of the IpSecService am: b72821747c am: f434a6d308
am: 686a8282bb

Change-Id: Ia24348d585b2f1050dafd161eafcdadf0edd82c0

6 years agoMerge changes from topic "re-enable-ipsec" am: 680525c742
nharold [Tue, 26 Sep 2017 22:24:02 +0000 (22:24 +0000)]
Merge changes from topic "re-enable-ipsec" am: 680525c742
am: 8d306cd78a

Change-Id: I4e712a0d17618ca93cf6032b59ce8be0c8e0bfee

6 years agoRe-Enable Starting of the IpSecService am: b72821747c
Nathan Harold [Tue, 26 Sep 2017 22:22:42 +0000 (22:22 +0000)]
Re-Enable Starting of the IpSecService am: b72821747c
am: f434a6d308

Change-Id: I328841b57df6f216c0e4b0aa0c1df923c606a885

6 years ago[DO NOT MERGE] Fix another AddAccountSettings memory leak
tiansiming [Wed, 20 Sep 2017 05:59:13 +0000 (13:59 +0800)]
[DO NOT MERGE] Fix another AddAccountSettings memory leak

The memory leak will always occur in AddAccoutSettings
when Bundle with an invalid intent returned in the addAccount we implement.

Bug:https://issuetracker.google.com/issues/66088681
Test:Install the app through the github offered in above link,
then press the "Test" item in ChooseAccountActivity (adb shell am start -n
'com.android.settings/.accounts.ChooseAccountActivity') serveal times.
Check the activity number by "adb shell dumpsys meminfo com.android.settings".

Change-Id: Id15fc73521d0ddc6ca891b6029ad04cd4427dbfe
Signed-off-by: tiansiming <tiansiming@xiaomi.com>
6 years agoMerge changes from topic "re-enable-ipsec"
nharold [Tue, 26 Sep 2017 22:13:20 +0000 (22:13 +0000)]
Merge changes from topic "re-enable-ipsec"
am: 680525c742

Change-Id: Ia1d1f3981a9dd1eb8f60631d318211daf135d575

6 years agoRe-Enable Starting of the IpSecService
Nathan Harold [Tue, 26 Sep 2017 22:11:58 +0000 (22:11 +0000)]
Re-Enable Starting of the IpSecService
am: b72821747c

Change-Id: I1f64aa2fdf1cce6dea91427eda65c4b8ee6f6b02

6 years agoMerge "Fix crash when creating a HW Bitmap on a detached view" into oc-mr1-dev
Doris Liu [Tue, 26 Sep 2017 21:53:41 +0000 (21:53 +0000)]
Merge "Fix crash when creating a HW Bitmap on a detached view" into oc-mr1-dev
am: 701bb5b754

Change-Id: Ie19e9de91eb3152eff0d92af573e95d1801d939a

6 years agoMerge "Fix crash when creating a HW Bitmap on a detached view" into oc-mr1-dev
Doris Liu [Tue, 26 Sep 2017 21:46:42 +0000 (21:46 +0000)]
Merge "Fix crash when creating a HW Bitmap on a detached view" into oc-mr1-dev

6 years agoMerge changes from topic "re-enable-ipsec"
nharold [Tue, 26 Sep 2017 21:46:39 +0000 (21:46 +0000)]
Merge changes from topic "re-enable-ipsec"

* changes:
  Re-Expose IpSecService API Surface
  Re-Enable Starting of the IpSecService

6 years agoRemove obsolete & broken handling of precompiled sys apps
Calin Juravle [Tue, 26 Sep 2017 01:13:38 +0000 (18:13 -0700)]
Remove obsolete & broken handling of precompiled sys apps

During the times we used verify-profile for OTAs we had to ensure that
prebuilds do not regress by verifying at runtime. For that we added a
hackish check in PMS.

Now, we no longer use verify-profile and we have no configuration which
will leave the prebuilds unverified (assume-verify does not count here).
So, we can remove this check which blocks system apps to be compiled with
speed-profile.

(Also worth mentioning that
!Environment.getReferenceProfile(pkg.packageName).exists() was broken...
most likely because of an SElinux policy update which we did not handled
:/ )

Bug: 66903791
Test: build & boot

(cherry picked from commit efc022768eba2f33d3fadbda7eaa6adf1730d3fc)

Merged-In: I981e463d61c42ab8455d489ff86cc300632a2a90
Change-Id: I981e463d61c42ab8455d489ff86cc300632a2a90

6 years agoMerge "Update the bt background color." into oc-mr1-dev
jackqdyulei [Tue, 26 Sep 2017 20:32:58 +0000 (20:32 +0000)]
Merge "Update the bt background color." into oc-mr1-dev
am: 4a324cb196

Change-Id: I3687c352e2fca5f56b0e52c99b79383088bff9b8

6 years agoFix spelling mistake in dumpsys output
Calin Juravle [Tue, 26 Sep 2017 20:23:00 +0000 (13:23 -0700)]
Fix spelling mistake in dumpsys output

Bug: 65843255
Test: build
Change-Id: Icc748dd14b52641e37b149f51d61a4086e55ed41

6 years agoMerge "Update the bt background color." into oc-mr1-dev
TreeHugger Robot [Tue, 26 Sep 2017 20:21:50 +0000 (20:21 +0000)]
Merge "Update the bt background color." into oc-mr1-dev

6 years agoAdded missing quote (") on anchor tag.
Felipe Leme [Tue, 26 Sep 2017 20:05:36 +0000 (13:05 -0700)]
Added missing quote (") on anchor tag.

Test: 'm -j doc-comment-check-docs' then verify resulting HTML
Fixes: 66958057

Change-Id: Ie5914a5af191866404b6fbf244c78e145c59a8b1

6 years agoMerge "Re-add callback to onCancel() when screen is touched outside Save UI." into...
Felipe Leme [Tue, 26 Sep 2017 19:49:36 +0000 (19:49 +0000)]
Merge "Re-add callback to onCancel() when screen is touched outside Save UI." into oc-mr1-dev
am: 87794e95a2

Change-Id: I4d9f94d688aa27789112afb070e262b76aad8926

6 years agoMerge "Re-add callback to onCancel() when screen is touched outside Save UI." into...
TreeHugger Robot [Tue, 26 Sep 2017 19:40:53 +0000 (19:40 +0000)]
Merge "Re-add callback to onCancel() when screen is touched outside Save UI." into oc-mr1-dev

6 years agoMerge "Add null check in a11y callback" into oc-mr1-dev
Phil Weaver [Tue, 26 Sep 2017 19:30:28 +0000 (19:30 +0000)]
Merge "Add null check in a11y callback" into oc-mr1-dev
am: 4dfeb4f0e4

Change-Id: Ibadc5f3fa1b2cd67998215a132f73bde7f1f4511

6 years agoMerge "Add null check in a11y callback" into oc-mr1-dev
Phil Weaver [Tue, 26 Sep 2017 19:22:51 +0000 (19:22 +0000)]
Merge "Add null check in a11y callback" into oc-mr1-dev

6 years agoMerge "Merge "Import translations. DO NOT MERGE" into oc-dev am: 4414109220 -s ours...
Android Build Merger (Role) [Tue, 26 Sep 2017 19:18:31 +0000 (19:18 +0000)]
Merge "Merge "Import translations. DO NOT MERGE" into oc-dev am: 4414109220  -s ours am: 46181531ec  -s ours am: c03209d495  -s ours" into oc-mr1-dev-plus-aosp

6 years agoMerge "Import translations. DO NOT MERGE" into oc-dev am: 4414109220 -s ours am...
Bill Yi [Tue, 26 Sep 2017 19:14:00 +0000 (19:14 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev am: 4414109220  -s ours am: 46181531ec  -s ours
am: c03209d495  -s ours

Change-Id: Icdad97761639fac03173c8a597f2d7e1739c05f3

6 years agoMerge "Import translations. DO NOT MERGE" into oc-dev am: 4414109220 -s ours am...
Bill Yi [Tue, 26 Sep 2017 19:13:47 +0000 (19:13 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev am: 4414109220  -s ours am: 46181531ec  -s ours
am: 133d4881ef  -s ours

Change-Id: I0bd053896b033b22691f76b7edfcf42a000b38b8

6 years agoMerge "Import translations. DO NOT MERGE" into oc-dev am: 4414109220 -s ours
Bill Yi [Tue, 26 Sep 2017 19:04:06 +0000 (19:04 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev am: 4414109220  -s ours
am: 46181531ec  -s ours

Change-Id: Ic283086745e42fe4351c3817782e46ac9c93f1dd

6 years agoMerge "Import translations. DO NOT MERGE" into oc-dev am: 4414109220 -s ours
Bill Yi [Tue, 26 Sep 2017 19:03:54 +0000 (19:03 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev am: 4414109220  -s ours
am: 46181531ec  -s ours

Change-Id: I2dab29638f0813d6e52c9b4ec7b279b7ddcb06a0

6 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
Bill Yi [Tue, 26 Sep 2017 18:55:20 +0000 (18:55 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am: 4414109220  -s ours

Change-Id: I3820c0c5decca7f1a839a40a65e9021fa6e999d1

6 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Tue, 26 Sep 2017 18:42:25 +0000 (18:42 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

6 years agoShorter notification text on AoD
Lucas Dupin [Mon, 25 Sep 2017 22:41:23 +0000 (15:41 -0700)]
Shorter notification text on AoD

Change-Id: I961c7348d6ce2389c9ac0fba980237548eaf26c9
Fixes: 66242485
Test: Send notification with big text, look at AoD

6 years agoMerge "Import translations. DO NOT MERGE am: 1df9bbaafe -s ours am: 6cc2a9cdc2 ...
Android Build Merger (Role) [Tue, 26 Sep 2017 18:30:39 +0000 (18:30 +0000)]
Merge "Import translations. DO NOT MERGE am: 1df9bbaafe  -s ours am: 6cc2a9cdc2  -s ours am: 5cf5642cbd  -s ours am: 7b3e838ec1  -s ours am: 44b2b486ae  -s ours" into oc-mr1-dev-plus-aosp

6 years agoImport translations. DO NOT MERGE am: 1df9bbaafe -s ours am: 6cc2a9cdc2 -s ours...
Bill Yi [Tue, 26 Sep 2017 18:28:39 +0000 (18:28 +0000)]
Import translations. DO NOT MERGE am: 1df9bbaafe  -s ours am: 6cc2a9cdc2  -s ours am: 5cf5642cbd  -s ours am: 7b3e838ec1  -s ours
am: 44b2b486ae  -s ours

Change-Id: I17fc0537bcbe6b8c774bd953d8552efe0507e39e

6 years agoImport translations. DO NOT MERGE am: 1df9bbaafe -s ours am: 6cc2a9cdc2 -s ours...
Bill Yi [Tue, 26 Sep 2017 18:26:40 +0000 (18:26 +0000)]
Import translations. DO NOT MERGE am: 1df9bbaafe  -s ours am: 6cc2a9cdc2  -s ours am: 5cf5642cbd  -s ours am: 7b3e838ec1  -s ours
am: 6aa3149404  -s ours

Change-Id: Id2fd9cc4fd371441d8212e7e2b9ec9f6a992e7c0

6 years agoImport translations. DO NOT MERGE am: 1df9bbaafe -s ours am: 6cc2a9cdc2 -s ours...
Bill Yi [Tue, 26 Sep 2017 18:20:23 +0000 (18:20 +0000)]
Import translations. DO NOT MERGE am: 1df9bbaafe  -s ours am: 6cc2a9cdc2  -s ours am: 5cf5642cbd  -s ours
am: 7b3e838ec1  -s ours

Change-Id: I4706a62f6bc875294a66ae70f157949b36df60a8

6 years agoImport translations. DO NOT MERGE am: 1df9bbaafe -s ours am: 6cc2a9cdc2 -s ours...
Bill Yi [Tue, 26 Sep 2017 18:20:20 +0000 (18:20 +0000)]
Import translations. DO NOT MERGE am: 1df9bbaafe  -s ours am: 6cc2a9cdc2  -s ours am: 5cf5642cbd  -s ours
am: 7b3e838ec1  -s ours

Change-Id: Ied87a01867e75220346a2ea6d628b9b086ee58b3

6 years agoImport translations. DO NOT MERGE am: 1df9bbaafe -s ours am: 6cc2a9cdc2 -s ours
Bill Yi [Tue, 26 Sep 2017 18:13:03 +0000 (18:13 +0000)]
Import translations. DO NOT MERGE am: 1df9bbaafe  -s ours am: 6cc2a9cdc2  -s ours
am: 5cf5642cbd  -s ours

Change-Id: Ie5c5a0ddabdc8dc0bfd081c48c3c279425cc2682

6 years agoImport translations. DO NOT MERGE am: 1df9bbaafe -s ours
Bill Yi [Tue, 26 Sep 2017 18:03:49 +0000 (18:03 +0000)]
Import translations. DO NOT MERGE am: 1df9bbaafe  -s ours
am: 6cc2a9cdc2  -s ours

Change-Id: I4d3d9da8dcdc0c898c49856cae530c14f6aa915e

6 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 26 Sep 2017 17:53:44 +0000 (17:53 +0000)]
Import translations. DO NOT MERGE
am: 1df9bbaafe  -s ours

Change-Id: I2bf2ceaea1279df64cf7409c57c75039caaa7879

6 years agoMerge "Quick fix: Make incorrect animator usage a warning" into oc-mr1-dev
John Reck [Tue, 26 Sep 2017 16:34:45 +0000 (16:34 +0000)]
Merge "Quick fix: Make incorrect animator usage a warning" into oc-mr1-dev
am: 2d362d7159

Change-Id: I7e2895fdb802c25389a689f87e60fe408c955405

6 years agoMerge "Quick fix: Make incorrect animator usage a warning" into oc-mr1-dev
John Reck [Tue, 26 Sep 2017 16:23:43 +0000 (16:23 +0000)]
Merge "Quick fix: Make incorrect animator usage a warning" into oc-mr1-dev

6 years agoRe-add callback to onCancel() when screen is touched outside Save UI.
Felipe Leme [Tue, 26 Sep 2017 16:01:59 +0000 (09:01 -0700)]
Re-add callback to onCancel() when screen is touched outside Save UI.

That callback was accidentally removed because it should not trigger the
negative listener, but the right approach was to pass a null listener.

Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases

Bug: 66235266
Fixes: 66944844

Change-Id: I5b71d3d03335d952e3b47078d1373f9783366437

6 years agoMerge "Fix wifi tile animating full-dark when slashing/unslashing" into oc-mr1-dev
Evan Laird [Tue, 26 Sep 2017 14:14:31 +0000 (14:14 +0000)]
Merge "Fix wifi tile animating full-dark when slashing/unslashing" into oc-mr1-dev
am: 9b120d5a08

Change-Id: Ic1ff947868039b78360377e098d7908d7ca6eb42

6 years agoMerge "Fix wifi tile animating full-dark when slashing/unslashing" into oc-mr1-dev
Evan Laird [Tue, 26 Sep 2017 14:09:09 +0000 (14:09 +0000)]
Merge "Fix wifi tile animating full-dark when slashing/unslashing" into oc-mr1-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 26 Sep 2017 13:58:36 +0000 (06:58 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: I348ab7ada9d98e745fe4716beadb6857d39705ec

6 years agoMerge changes Ia47e566b,Ib94d79a9 am: b9e2ddfc10 am: a2161c5ccb
Hugo Benichi [Tue, 26 Sep 2017 13:05:41 +0000 (13:05 +0000)]
Merge changes Ia47e566b,Ib94d79a9 am: b9e2ddfc10 am: a2161c5ccb
am: b91bd88c5e

Change-Id: Ied2b31c9d1219b8aebf5fec085ab598b77bede6e

6 years agoMerge "Fixed that telephony registry service reference incorrectly assigned" am:...
Jack Yu [Tue, 26 Sep 2017 13:02:10 +0000 (13:02 +0000)]
Merge "Fixed that telephony registry service reference incorrectly assigned" am: b0510407da am: aeb6820f11
am: 75c2378ea0

Change-Id: I80082688f4c7c3438ca4e6cdd5eb3cb80fbd4ad1

6 years agoMerge "Move code around for deleting oat artifacts." am: a7bf2a21d9 am: 69fbdcae71
Nicolas Geoffray [Tue, 26 Sep 2017 12:58:30 +0000 (12:58 +0000)]
Merge "Move code around for deleting oat artifacts." am: a7bf2a21d9 am: 69fbdcae71
am: 6518232039  -s ours

Change-Id: Id51866d5e0e0615db96bbf25a8171e95f664faab

6 years agoMerge "Special handling of priv-apps in PMS." am: 107899c599 am: 15b0493360
Nicolas Geoffray [Tue, 26 Sep 2017 12:46:30 +0000 (12:46 +0000)]
Merge "Special handling of priv-apps in PMS." am: 107899c599 am: 15b0493360
am: 35455f2553

Change-Id: I8bfe46aad8166d4d4b7346fe10f3e148a34ccf0b

6 years agoMerge changes Ia47e566b,Ib94d79a9 am: b9e2ddfc10
Hugo Benichi [Tue, 26 Sep 2017 12:43:28 +0000 (12:43 +0000)]
Merge changes Ia47e566b,Ib94d79a9 am: b9e2ddfc10
am: a2161c5ccb

Change-Id: If1125419d50b8291bcb056dd4bc7ecd6ea2b5342

6 years agoMerge "Naming fix and add comments" am: 3c03d5bd2b am: 24b9851605
Hans Boehm [Tue, 26 Sep 2017 12:42:41 +0000 (12:42 +0000)]
Merge "Naming fix and add comments" am: 3c03d5bd2b am: 24b9851605
am: 4a901144fe

Change-Id: I1e2446f67e0505d30edb230f2dde70855c9fe00c

6 years agoMerge changes from topic "equalizer_1" am: 1ba697e29b am: 46f2249f46
Peng Xu [Tue, 26 Sep 2017 12:38:01 +0000 (12:38 +0000)]
Merge changes from topic "equalizer_1" am: 1ba697e29b am: 46f2249f46
am: 01ad27a0eb

Change-Id: Ie717da6b0e336701bdacc2949877bc0c1d71cb58

6 years agoAdd sensor HAL process into dump list am: ee5164ef5b am: 2398607cc7
Peng Xu [Tue, 26 Sep 2017 12:36:50 +0000 (12:36 +0000)]
Add sensor HAL process into dump list am: ee5164ef5b am: 2398607cc7
am: 3e18872796

Change-Id: I5028128bc23fa670dedd1c763f2227d30f40957e

6 years agoMerge "Fixed that telephony registry service reference incorrectly assigned" am:...
Jack Yu [Tue, 26 Sep 2017 12:34:42 +0000 (12:34 +0000)]
Merge "Fixed that telephony registry service reference incorrectly assigned" am: b0510407da
am: aeb6820f11

Change-Id: Ie788700dfe65037d80fb1a42ff3dae1030b37405

6 years agoMerge changes from topic "equalizer" am: aad139a2d3 -s ours am: 2c292120aa -s ours
Peng Xu [Tue, 26 Sep 2017 12:33:02 +0000 (12:33 +0000)]
Merge changes from topic "equalizer" am: aad139a2d3  -s ours am: 2c292120aa  -s ours
am: 228e5b94e3

Change-Id: I480f3645c89dbd44117f18a5807f8aea753439ab

6 years agoMerge "Move code around for deleting oat artifacts." am: a7bf2a21d9
Nicolas Geoffray [Tue, 26 Sep 2017 12:30:43 +0000 (12:30 +0000)]
Merge "Move code around for deleting oat artifacts." am: a7bf2a21d9
am: 69fbdcae71

Change-Id: If5e92c3b0499f3d2f69975596678581dfc090733

6 years agoMerge "Special handling of priv-apps in PMS." am: 107899c599
Nicolas Geoffray [Tue, 26 Sep 2017 12:26:51 +0000 (12:26 +0000)]
Merge "Special handling of priv-apps in PMS." am: 107899c599
am: 15b0493360

Change-Id: I30c573bccf1f0e483d0881062c5b83a56b5080fe

6 years agoMerge "Naming fix and add comments" am: 3c03d5bd2b
Hans Boehm [Tue, 26 Sep 2017 12:23:12 +0000 (12:23 +0000)]
Merge "Naming fix and add comments" am: 3c03d5bd2b
am: 24b9851605

Change-Id: Ib2f4ade384b33efc5d54374ce13e26e256f4c8d3

6 years agoMerge changes from topic "equalizer_1" am: 1ba697e29b
Peng Xu [Tue, 26 Sep 2017 12:17:39 +0000 (12:17 +0000)]
Merge changes from topic "equalizer_1" am: 1ba697e29b
am: 46f2249f46

Change-Id: Icd3c715dfed772d05b8314a394aad2725a9937e0

6 years agoAdd sensor HAL process into dump list am: ee5164ef5b
Peng Xu [Tue, 26 Sep 2017 12:16:35 +0000 (12:16 +0000)]
Add sensor HAL process into dump list am: ee5164ef5b
am: 2398607cc7

Change-Id: I625a84f4f5c235c06e90fe4f8b44aa41979c8b5b

6 years agoMerge changes from topic "equalizer" am: aad139a2d3 -s ours
Peng Xu [Tue, 26 Sep 2017 12:13:04 +0000 (12:13 +0000)]
Merge changes from topic "equalizer" am: aad139a2d3  -s ours
am: 2c292120aa  -s ours

Change-Id: I7d40f3964fd312fe645dba2b05cc324fea079321

6 years agoUpdate Java doc of SensorManager.createDirectChannel am: 9ee042efa8 am: 1c2b555ad9
Peng Xu [Tue, 26 Sep 2017 12:10:47 +0000 (12:10 +0000)]
Update Java doc of SensorManager.createDirectChannel am: 9ee042efa8 am: 1c2b555ad9
am: 1cc5ca6bdd  -s ours

Change-Id: I7b4bb738cc70f03abc7ac464bb7e148ac6fde4a2

6 years agoUpdate Java doc of SensorManager.createDirectChannel am: 9ee042efa8
Peng Xu [Tue, 26 Sep 2017 11:56:01 +0000 (11:56 +0000)]
Update Java doc of SensorManager.createDirectChannel am: 9ee042efa8
am: 1c2b555ad9

Change-Id: If2ca73b4b7ba4c1e6778061739ce3689a1341746

6 years agoMerge changes Ia47e566b,Ib94d79a9
Hugo Benichi [Tue, 26 Sep 2017 11:46:30 +0000 (11:46 +0000)]
Merge changes Ia47e566b,Ib94d79a9
am: b9e2ddfc10

Change-Id: I0cac456f778db78d76d2225b79ce42526a6d2d19

6 years agoMerge "Fixed that telephony registry service reference incorrectly assigned"
Jack Yu [Tue, 26 Sep 2017 11:33:16 +0000 (11:33 +0000)]
Merge "Fixed that telephony registry service reference incorrectly assigned"
am: b0510407da

Change-Id: I0d65bc2cc843ce49a10cf6fdebfc4e1f602edaea

6 years agoMerge "Move code around for deleting oat artifacts."
Nicolas Geoffray [Tue, 26 Sep 2017 11:25:41 +0000 (11:25 +0000)]
Merge "Move code around for deleting oat artifacts."
am: a7bf2a21d9

Change-Id: I63ef9f2a730dbe6ad37ce750be3a6a47636c14d6

6 years agoMerge "Special handling of priv-apps in PMS."
Nicolas Geoffray [Tue, 26 Sep 2017 11:22:00 +0000 (11:22 +0000)]
Merge "Special handling of priv-apps in PMS."
am: 107899c599

Change-Id: I43de972b520dcfab7d103ce77ea1539e341825b3

6 years agoMerge "Naming fix and add comments"
Hans Boehm [Tue, 26 Sep 2017 11:12:19 +0000 (11:12 +0000)]
Merge "Naming fix and add comments"
am: 3c03d5bd2b

Change-Id: Ib35c874f56f87757904553ceeffb4d363eff196e

6 years agoMerge changes from topic "equalizer_1"
Peng Xu [Tue, 26 Sep 2017 11:07:28 +0000 (11:07 +0000)]
Merge changes from topic "equalizer_1"
am: 1ba697e29b

Change-Id: I0b5dabe42c0ab59fab63ea653392dd4d99b7d967

6 years agoAdd sensor HAL process into dump list
Peng Xu [Tue, 26 Sep 2017 11:05:54 +0000 (11:05 +0000)]
Add sensor HAL process into dump list
am: ee5164ef5b

Change-Id: I2d13c8d5a871e00cbe96d42b2f8779f5d323223f

6 years agoMerge changes from topic "equalizer"
Peng Xu [Tue, 26 Sep 2017 11:01:14 +0000 (11:01 +0000)]
Merge changes from topic "equalizer"
am: aad139a2d3  -s ours

Change-Id: Id283ea5e7ad3620f9c6488aadcca8bb216aea482

6 years agoDo not throw on call to isTetheringSupported w/o permission
Chalard Jean [Tue, 26 Sep 2017 06:45:18 +0000 (15:45 +0900)]
Do not throw on call to isTetheringSupported w/o permission

...just return false instead. This will change in P.

Test: Made an app to test this. Made sure it doesn't have
Test: the required permission. Checked it crashes with
Test: SecurityException without this change. Checked it
Test: doesn't with it.

Bug: 65404184

Change-Id: Id20d3c240ec5d70d085e0366b92ab3a514f3e7c8

6 years agoMerge changes Ia47e566b,Ib94d79a9
Hugo Benichi [Tue, 26 Sep 2017 09:48:10 +0000 (09:48 +0000)]
Merge changes Ia47e566b,Ib94d79a9

* changes:
  Separate connectivity event buffer for bug reports
  Extract RingBuffer class from NetdEventListenerService

6 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 26 Sep 2017 05:29:40 +0000 (22:29 -0700)]
Import translations. DO NOT MERGE

Change-Id: I3bce312584c61d6bc31d4e7c4068b757336fbe25
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

6 years agoSeparate connectivity event buffer for bug reports
Hugo Benichi [Fri, 15 Sep 2017 05:18:57 +0000 (14:18 +0900)]
Separate connectivity event buffer for bug reports

This patch uses the RingBuffer class previously extracted out of
NetdEventListenerService for buffering connectivity events in two
independent buffers:
 - the current existing buffer used for metrics reporting
 - a new rolling buffer, used for bug report dumpsys.

This improves the suefulness of connectivity metrics for bug reports
by solving these three issues tied to the usage of the existing metrics
reporting buffer:
 - the buffer is always cleared when metrics reporting happens. If a bug
 report is taken shortly after, there is no past connectivity event
 added to that bug report.
 - the buffer has a max capacity and starts dropping new events when it
 saturates, until metrics reporting happens. When this happens, a bug
 report will not contain recent connectivity events.
 - some types of event are rate limited to avoid flooding the metrics
 buffer. events dropped due to rate limits never appears in the bug
 report, but the new bug report buffer ignores rate limiting.

Bug: 65164242
Bug: 65700460
Test: runtest frameworks-net,
      manually inspecting ouput of $ adb shell dumpsys connmetrics -a

Change-Id: Ia47e566b0c9a6629a26afb7067d5a8efadc25aef

6 years agoExtract RingBuffer class from NetdEventListenerService
Hugo Benichi [Thu, 14 Sep 2017 07:31:38 +0000 (16:31 +0900)]
Extract RingBuffer class from NetdEventListenerService

This patch takes out the ring buffer array added for NFLOG wakeup packet
events logging and extract it into its own class for reuse. This new
RingBuffer class has the two minimal useful functions append() and
toArray().

Bug: 65164242
Bug: 65700460
Test: runtest frameworks-net, with new unit test
Change-Id: Ib94d79a93f4e99661b7d0fac67117b91d57af980

6 years agoFix crash when creating a HW Bitmap on a detached view
Doris Liu [Mon, 25 Sep 2017 22:45:05 +0000 (15:45 -0700)]
Fix crash when creating a HW Bitmap on a detached view

BUG: 65160121
Test: Unable to repro the crash before or after the fix

Change-Id: I84fa28557c67a6672b8d82443d4da7be4f28a50d

6 years agoMerge "Restrict when a window receives new Configurations." into oc-mr1-dev
Bryce Lee [Tue, 26 Sep 2017 00:18:41 +0000 (00:18 +0000)]
Merge "Restrict when a window receives new Configurations." into oc-mr1-dev
am: d71227355e

Change-Id: Ibc6aea6b9126639a44b36466a2efcfbe0dd8d267

6 years agoMerge "Restrict when a window receives new Configurations." into oc-mr1-dev
Bryce Lee [Tue, 26 Sep 2017 00:12:15 +0000 (00:12 +0000)]
Merge "Restrict when a window receives new Configurations." into oc-mr1-dev

6 years agoMerge "LockSettingsStrongAuth shouldn't get fingerprintservice on unsupported devices...
Kevin Chyn [Mon, 25 Sep 2017 23:44:40 +0000 (23:44 +0000)]
Merge "LockSettingsStrongAuth shouldn't get fingerprintservice on unsupported devices" into oc-mr1-dev
am: fec9d20ed7

Change-Id: I06205cc9f5b5826071ba74995fa852bb1439c678

6 years agoQuick fix: Make incorrect animator usage a warning
John Reck [Mon, 25 Sep 2017 21:22:40 +0000 (14:22 -0700)]
Quick fix: Make incorrect animator usage a warning

Change-Id: I6d59033433a63d02be746bb8523b312d7c8fe9fa
Bug: 65160121
Test: Repro from bug doesn't repro anymore

6 years agoUpdate Java doc of SensorManager.createDirectChannel
Peng Xu [Mon, 25 Sep 2017 23:03:30 +0000 (23:03 +0000)]
Update Java doc of SensorManager.createDirectChannel
am: 9ee042efa8

Change-Id: I7221311f8b9495381e75362c8d2b962761bf7645

6 years agoMerge "LockSettingsStrongAuth shouldn't get fingerprintservice on unsupported devices...
Kevin Chyn [Mon, 25 Sep 2017 23:01:40 +0000 (23:01 +0000)]
Merge "LockSettingsStrongAuth shouldn't get fingerprintservice on unsupported devices" into oc-mr1-dev

6 years agoMerge "Revert "Add preopt profile logic for compiling during first boot"" into oc...
Mathieu Chartier [Mon, 25 Sep 2017 23:01:38 +0000 (23:01 +0000)]
Merge "Revert "Add preopt profile logic for compiling during first boot"" into oc-mr1-dev
am: 213b5c742f

Change-Id: Id1f67d4cdf7780cf97bb29b23cf42d1f2b985d7e