OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Update Android.bp for api-stubs in order to do api-check." into pi-dev-plus...
TreeHugger Robot [Tue, 15 May 2018 18:15:08 +0000 (18:15 +0000)]
Merge "Update Android.bp for api-stubs in order to do api-check." into pi-dev-plus-aosp

6 years agoMerge "Rethrow SecurityExceptions in UsageStatsManager" into pi-dev
Amith Yamasani [Tue, 15 May 2018 18:00:25 +0000 (11:00 -0700)]
Merge "Rethrow SecurityExceptions in UsageStatsManager" into pi-dev
am: c1eddaed6e

Change-Id: I3a8bdfe2858c88854ab15aba6a619aac1fd66945

6 years agoMerge "Hiding all views when the notification shade is collapsed" into pi-dev
Selim Cinek [Tue, 15 May 2018 17:53:56 +0000 (10:53 -0700)]
Merge "Hiding all views when the notification shade is collapsed" into pi-dev
am: a1f417caf0

Change-Id: I07bb66bde7633bcd52c7f875a85340fbf6b847ff

6 years agoMerge "Rethrow SecurityExceptions in UsageStatsManager" into pi-dev
TreeHugger Robot [Tue, 15 May 2018 17:40:32 +0000 (17:40 +0000)]
Merge "Rethrow SecurityExceptions in UsageStatsManager" into pi-dev

6 years agoMerge "Hiding all views when the notification shade is collapsed" into pi-dev
Selim Cinek [Tue, 15 May 2018 17:38:31 +0000 (17:38 +0000)]
Merge "Hiding all views when the notification shade is collapsed" into pi-dev

6 years agoMerge "Fixed notification shelf not fully visible on lockscreen" into pi-dev
Selim Cinek [Tue, 15 May 2018 17:29:54 +0000 (10:29 -0700)]
Merge "Fixed notification shelf not fully visible on lockscreen" into pi-dev
am: bb24c6b501

Change-Id: I4a13c7e18dbfc1a136d2a7b766d4b1259f18ff0e

6 years agoMerge "Keeping the header hidden while the hun is going away" into pi-dev
Selim Cinek [Tue, 15 May 2018 17:20:19 +0000 (10:20 -0700)]
Merge "Keeping the header hidden while the hun is going away" into pi-dev
am: 2cfd9fb99c

Change-Id: I3046b09b85a995491e616736cb9519c7ced3a944

6 years agoMerge "Fixed that views could be stuck transiently at times" into pi-dev
Selim Cinek [Tue, 15 May 2018 17:10:18 +0000 (10:10 -0700)]
Merge "Fixed that views could be stuck transiently at times" into pi-dev
am: f81ad4b94c

Change-Id: I066038b167f71f4f649b609b68aec66891c97a24

6 years agoMerge "Fixed notification shelf not fully visible on lockscreen" into pi-dev
Selim Cinek [Tue, 15 May 2018 17:07:56 +0000 (17:07 +0000)]
Merge "Fixed notification shelf not fully visible on lockscreen" into pi-dev

6 years agoMerge "Fix crash when loading resources without code" into pi-dev
Jason Monk [Tue, 15 May 2018 16:52:15 +0000 (09:52 -0700)]
Merge "Fix crash when loading resources without code" into pi-dev
am: c46279aa98

Change-Id: I3af4a66f050380c507ec59b9136f2ef6a4f41848

6 years agoMerge "Keeping the header hidden while the hun is going away" into pi-dev
Selim Cinek [Tue, 15 May 2018 16:47:44 +0000 (16:47 +0000)]
Merge "Keeping the header hidden while the hun is going away" into pi-dev

6 years agoMerge "Fixed that views could be stuck transiently at times" into pi-dev
Selim Cinek [Tue, 15 May 2018 16:47:17 +0000 (16:47 +0000)]
Merge "Fixed that views could be stuck transiently at times" into pi-dev

6 years agoMerge "Fix crash when loading resources without code" into pi-dev
TreeHugger Robot [Tue, 15 May 2018 16:33:20 +0000 (16:33 +0000)]
Merge "Fix crash when loading resources without code" into pi-dev

6 years agoHiding all views when the notification shade is collapsed
Selim Cinek [Tue, 15 May 2018 02:17:06 +0000 (19:17 -0700)]
Hiding all views when the notification shade is collapsed

Non-heads up views could still be visible when the shade
was collapsed. Therefore they would briefly peak out
after heads up views would be swiped away leading
to ugly flickering.

Test: add hun (with notch enabled) and swipe away hun with other views present
Change-Id: I794693d7d5af5591490df7c2f4b95c01043897d2
Fixes:  76150837

6 years agoFix crash when loading resources without code
Jason Monk [Tue, 15 May 2018 15:30:09 +0000 (11:30 -0400)]
Fix crash when loading resources without code

Should use default appComponentFactory, not the actual one from the
app because we have no code.

Test: manual
Change-Id: I982967543c4cf5c28b19b36b6d183a30052bf602
Fixes: 78883500

6 years agoMerge "Let tests enumerate all transports/capabilities." into pi-dev
Jeff Sharkey [Tue, 15 May 2018 15:27:40 +0000 (08:27 -0700)]
Merge "Let tests enumerate all transports/capabilities." into pi-dev
am: 8e6445a1a5

Change-Id: Ie5cd22cfa2b6a60510fd1e31d7ebcd8f6cc890a0

6 years agoMerge "Let tests enumerate all transports/capabilities." into pi-dev
Jeff Sharkey [Tue, 15 May 2018 15:17:30 +0000 (15:17 +0000)]
Merge "Let tests enumerate all transports/capabilities." into pi-dev

6 years agoMerge "Add RemoteViews.setIsWidgetCollectionChild to light grey." into pi-dev
Nicolas Geoffray [Tue, 15 May 2018 15:07:29 +0000 (08:07 -0700)]
Merge "Add RemoteViews.setIsWidgetCollectionChild to light grey." into pi-dev
am: a66cc0da75

Change-Id: Ia79917a4f798ad46cc98a187e1bca4bab10d098a

6 years agoMerge "Add RemoteViews.setIsWidgetCollectionChild to light grey." into pi-dev
Nicolas Geoffray [Tue, 15 May 2018 14:59:04 +0000 (14:59 +0000)]
Merge "Add RemoteViews.setIsWidgetCollectionChild to light grey." into pi-dev

6 years agoMerge "clean up comments" into pi-dev
Chris Wren [Tue, 15 May 2018 14:24:55 +0000 (07:24 -0700)]
Merge "clean up comments" into pi-dev
am: b8dcc91eb9

Change-Id: I9a29d924b1f00491d963e6bf93172b1b622a73a9

6 years agoMerge "clean up comments" into pi-dev
Chris Wren [Tue, 15 May 2018 14:15:09 +0000 (14:15 +0000)]
Merge "clean up comments" into pi-dev

6 years agoclean up comments
Chris Wren [Mon, 14 May 2018 21:16:31 +0000 (17:16 -0400)]
clean up comments

Bug: 79698458
Test: make framework-protos
Change-Id: Ifaac050f2e00912188e3fb999b308101e3b07bf0

6 years agoFixed notification shelf not fully visible on lockscreen
shawnlin [Tue, 15 May 2018 08:39:56 +0000 (16:39 +0800)]
Fixed notification shelf not fully visible on lockscreen

Remove the height limitation of mBackgroundBounds.bottom, and allow min
height of NSSL to be shelf size in keyguard when qs panel fully
expanded.

Test: runtest systemui
Change-Id: I74755f8eefa70beec32db2a66a7a425b7fff0276
Fixes: 79202907

6 years agoMerge "Add api txt files for nfc-extras" am: be7959bb10
Jiyong Park [Tue, 15 May 2018 07:09:36 +0000 (00:09 -0700)]
Merge "Add api txt files for nfc-extras" am: be7959bb10
am: 06bbf7e675

Change-Id: I7f883efb4343be29a4a6c300c59c32505199535c

6 years agoMerge "Add api txt files for nfc-extras"
Jiyong Park [Tue, 15 May 2018 06:57:56 +0000 (23:57 -0700)]
Merge "Add api txt files for nfc-extras"
am: be7959bb10

Change-Id: Iea39dee06752e13bb659f5f31f555b089ca4b90d

6 years agoMerge "Don't call setAutofillClient() on base Context if it's null." into pi-dev
Felipe Leme [Tue, 15 May 2018 06:01:10 +0000 (23:01 -0700)]
Merge "Don't call setAutofillClient() on base Context if it's null." into pi-dev
am: 6d0842154b

Change-Id: Ifc971e81483b5bcf08c6f0af9789b88905dc17ad

6 years agoMerge "Don't call setAutofillClient() on base Context if it's null." into pi-dev
TreeHugger Robot [Tue, 15 May 2018 05:47:51 +0000 (05:47 +0000)]
Merge "Don't call setAutofillClient() on base Context if it's null." into pi-dev

6 years agoMerge "Add api txt files for nfc-extras"
Jiyong Park [Tue, 15 May 2018 05:30:41 +0000 (05:30 +0000)]
Merge "Add api txt files for nfc-extras"

6 years agoMerge "Allow Print subsystem to work with services provided by instant app" into...
Philip P. Moltmann [Tue, 15 May 2018 05:10:25 +0000 (22:10 -0700)]
Merge "Allow Print subsystem to work with services provided by instant app" into pi-dev
am: cc64fb9c8f

Change-Id: I462d3a5cdde32dc193b7ee0611ea79a7f8143df6

6 years agoMerge "Use INetd Constant for IpSec Interface Prefix" am: 05a16e8a04
nharold [Tue, 15 May 2018 04:59:55 +0000 (21:59 -0700)]
Merge "Use INetd Constant for IpSec Interface Prefix" am: 05a16e8a04
am: e651d67bcb

Change-Id: I142689ec7f7b43e745580eea393130d84fe4e99b

6 years agoMerge "Allow Print subsystem to work with services provided by instant app" into...
Philip P. Moltmann [Tue, 15 May 2018 04:58:00 +0000 (04:58 +0000)]
Merge "Allow Print subsystem to work with services provided by instant app" into pi-dev

6 years agoMerge "Do not immediately perform traversals when executing transition" into pi-dev
Jorim Jaggi [Tue, 15 May 2018 04:23:50 +0000 (21:23 -0700)]
Merge "Do not immediately perform traversals when executing transition" into pi-dev
am: 09a0c2d53c

Change-Id: I65f45f8f979765def9ba1c7f56d1a3dee3292b0f

6 years agoMerge "Do not immediately perform traversals when executing transition" into pi-dev
Jorim Jaggi [Tue, 15 May 2018 04:13:38 +0000 (04:13 +0000)]
Merge "Do not immediately perform traversals when executing transition" into pi-dev

6 years agoMerge "Use INetd Constant for IpSec Interface Prefix"
nharold [Tue, 15 May 2018 03:55:41 +0000 (20:55 -0700)]
Merge "Use INetd Constant for IpSec Interface Prefix"
am: 05a16e8a04

Change-Id: If5a0507e6aa2dfa2af7c69d1ec26ff9b48f3baf7

6 years agoMerge "Use INetd Constant for IpSec Interface Prefix"
nharold [Tue, 15 May 2018 02:46:05 +0000 (02:46 +0000)]
Merge "Use INetd Constant for IpSec Interface Prefix"

6 years agoMerge "Change quickstep onboarding tip window type to TYPE_NAVIGATION_BAR_PANEL....
Tracy Zhou [Tue, 15 May 2018 02:29:50 +0000 (19:29 -0700)]
Merge "Change quickstep onboarding tip window type to TYPE_NAVIGATION_BAR_PANEL." into pi-dev
am: 02e086eaf3

Change-Id: Ida73e81d2bf60113d3137e78fdbddfe39fd58381

6 years agoMerge "Change quickstep onboarding tip window type to TYPE_NAVIGATION_BAR_PANEL....
TreeHugger Robot [Tue, 15 May 2018 02:18:14 +0000 (02:18 +0000)]
Merge "Change quickstep onboarding tip window type to TYPE_NAVIGATION_BAR_PANEL." into pi-dev

6 years agoMerge "Metrics for hardware reliability reporting" into pi-dev
Andrew Chant [Tue, 15 May 2018 01:36:02 +0000 (18:36 -0700)]
Merge "Metrics for hardware reliability reporting" into pi-dev
am: 22c738d842

Change-Id: I64b0b4b516b3328494059c3f320aa98ce36f264a

6 years agoFixed that views could be stuck transiently at times
Selim Cinek [Tue, 15 May 2018 01:12:42 +0000 (18:12 -0700)]
Fixed that views could be stuck transiently at times

Removed all references to overlay from the stackscroller
and always using transient views now. We were using
the overlay in places where we shouldn't have been and
therefore views could become stuck.

Change-Id: I8bf455e2d1c4d065d0b3c441606d51b3b96eab9f
Fixes: 78493499
Test: add hun, click on it, observe no transient view stuck behind

6 years agoMerge "Metrics for hardware reliability reporting" into pi-dev
TreeHugger Robot [Tue, 15 May 2018 01:16:33 +0000 (01:16 +0000)]
Merge "Metrics for hardware reliability reporting" into pi-dev

6 years agoMerge "Autofill: allow switch IME when autofill is showing" into pi-dev
Dake Gu [Tue, 15 May 2018 01:12:53 +0000 (18:12 -0700)]
Merge "Autofill: allow switch IME when autofill is showing" into pi-dev
am: 7b6ecb7668

Change-Id: I4adefc4466dd9dc6168e36526b49b03a5d384f1d

6 years agoMerge "Simplify Javadoc for easier parsing." into pi-dev
Wyatt Riley [Tue, 15 May 2018 01:08:00 +0000 (18:08 -0700)]
Merge "Simplify Javadoc for easier parsing." into pi-dev
am: f707c55725

Change-Id: Ica75bc5d4ba41041e2cbd585e953320bddbca956

6 years agoChange quickstep onboarding tip window type to
Tracy Zhou [Mon, 14 May 2018 23:58:54 +0000 (16:58 -0700)]
Change quickstep onboarding tip window type to
TYPE_NAVIGATION_BAR_PANEL.

Fixes: 73990691
Test: Go through the talkback flow, "settings cannot verify your
response" toast does not show.

Change-Id: I6f4819eb6ace1260a30589dbcc6c01fa4c8e5c35

6 years agoMerge "Fix errors caught by aapt2" am: 5d58a302e3
Colin Cross [Tue, 15 May 2018 01:03:55 +0000 (18:03 -0700)]
Merge "Fix errors caught by aapt2" am: 5d58a302e3
am: 2743c5bb09

Change-Id: I84dbf6e0fbfe8e2730ffa3fa79c3ef732702e192

6 years agoDon't call setAutofillClient() on base Context if it's null.
Felipe Leme [Tue, 15 May 2018 00:51:58 +0000 (17:51 -0700)]
Don't call setAutofillClient() on base Context if it's null.

Test: atest CtsAutoFillServiceTestCases
Test: changed activity on autofill sample to override attachBaseContext() by
      calling super.attachBaseContext(null) - the activity still crashes, but
      not on attachBaseContext().

Fixes: 79707861

Change-Id: Idfaa9c596cc338ab815441138ce06ba64cd3b4d2

6 years agoMerge "Autofill: allow switch IME when autofill is showing" into pi-dev
Dake Gu [Tue, 15 May 2018 01:02:41 +0000 (01:02 +0000)]
Merge "Autofill: allow switch IME when autofill is showing" into pi-dev

6 years agoMerge "Fix errors caught by aapt2"
Colin Cross [Tue, 15 May 2018 00:55:51 +0000 (17:55 -0700)]
Merge "Fix errors caught by aapt2"
am: 5d58a302e3

Change-Id: Icf8a601da34c92af6f82afbbdf87468db6387049

6 years agoMerge "Decrease the inferred auto-brightness adjustment at the extremes." into pi-dev
Michael Wright [Tue, 15 May 2018 00:53:00 +0000 (17:53 -0700)]
Merge "Decrease the inferred auto-brightness adjustment at the extremes." into pi-dev
am: b718563329

Change-Id: I76e456b7f000cedb183115f0abd306957e983ffa

6 years agoMerge "Simplify Javadoc for easier parsing." into pi-dev
TreeHugger Robot [Tue, 15 May 2018 00:48:52 +0000 (00:48 +0000)]
Merge "Simplify Javadoc for easier parsing." into pi-dev

6 years agoMerge "Decrease the inferred auto-brightness adjustment at the extremes." into pi-dev
TreeHugger Robot [Tue, 15 May 2018 00:37:10 +0000 (00:37 +0000)]
Merge "Decrease the inferred auto-brightness adjustment at the extremes." into pi-dev

6 years agoMerge "Fix errors caught by aapt2" am: ed90a673d4
Colin Cross [Tue, 15 May 2018 00:23:55 +0000 (17:23 -0700)]
Merge "Fix errors caught by aapt2" am: ed90a673d4
am: 592590c3d2

Change-Id: I47bac881f38d638192418c4e664722cc71941f0d

6 years agoKeeping the header hidden while the hun is going away
Selim Cinek [Tue, 15 May 2018 00:17:31 +0000 (17:17 -0700)]
Keeping the header hidden while the hun is going away

Previously we were showing the Hun header immediately again
when the heads up times out, but we now also factor in
if it's animating away.

Test: add hun, click on it, header is still hidden
Change-Id: I2e5714c9282f0dd76d17511485c002010be169bb
Fixes:  77219603

6 years agoMerge "Fix errors caught by aapt2"
Colin Cross [Tue, 15 May 2018 00:00:08 +0000 (17:00 -0700)]
Merge "Fix errors caught by aapt2"
am: ed90a673d4

Change-Id: I91c38a3b05338d280d4b5050f28f8f3c1f2481a2

6 years agoMerge "Update javadoc for setVisualVoicemailSmsFilterSettings" into pi-dev
Ta-wei Yen [Mon, 14 May 2018 23:59:17 +0000 (16:59 -0700)]
Merge "Update javadoc for setVisualVoicemailSmsFilterSettings" into pi-dev
am: 1f520a64d7

Change-Id: I200ac97a1bdc7efaca638628abff90f3853bf688

6 years agoMerge "Reset auto-brightness on new BrightnessConfiguration" into pi-dev
Michael Wright [Mon, 14 May 2018 23:52:35 +0000 (16:52 -0700)]
Merge "Reset auto-brightness on new BrightnessConfiguration" into pi-dev
am: cc26ac226a

Change-Id: I633484797b6c00161cf68b22949e053d25532996

6 years agoMerge "Update javadoc for setVisualVoicemailSmsFilterSettings" into pi-dev
Ta-wei Yen [Mon, 14 May 2018 23:48:55 +0000 (23:48 +0000)]
Merge "Update javadoc for setVisualVoicemailSmsFilterSettings" into pi-dev

6 years agoMerge "Fixing user tap on suspended widget" into pi-dev
Suprabh Shukla [Mon, 14 May 2018 23:48:06 +0000 (16:48 -0700)]
Merge "Fixing user tap on suspended widget" into pi-dev
am: 98deba8412

Change-Id: I689e4e488ec573050c18420c50595cc0d9472178

6 years agoMerge "Improve a11y ordering" into pi-dev
Phil Weaver [Mon, 14 May 2018 23:40:30 +0000 (16:40 -0700)]
Merge "Improve a11y ordering" into pi-dev
am: 3789bbc476

Change-Id: I873a9458755686d2e86d73fa001806c5e7bf0197

6 years agoMerge "Allow to create trusted BaseDexClassLoader" into pi-dev
Philip P. Moltmann [Mon, 14 May 2018 23:36:25 +0000 (16:36 -0700)]
Merge "Allow to create trusted BaseDexClassLoader" into pi-dev
am: 183f753624

Change-Id: If40343231640515c42455139b94d746fd02dc262

6 years agoMerge "Reset auto-brightness on new BrightnessConfiguration" into pi-dev
Michael Wright [Mon, 14 May 2018 23:33:02 +0000 (23:33 +0000)]
Merge "Reset auto-brightness on new BrightnessConfiguration" into pi-dev

6 years agoMerge "Fixing user tap on suspended widget" into pi-dev
TreeHugger Robot [Mon, 14 May 2018 23:32:08 +0000 (23:32 +0000)]
Merge "Fixing user tap on suspended widget" into pi-dev

6 years agoMerge "Mitigating cache corruption in ArrayMap" into pi-dev
Suprabh Shukla [Mon, 14 May 2018 23:31:21 +0000 (16:31 -0700)]
Merge "Mitigating cache corruption in ArrayMap" into pi-dev
am: 841de8fb31

Change-Id: Ia8e5eddc8837af23c2fdcb48b40e98f1eff3bc8b

6 years agoMerge "Improve a11y ordering" into pi-dev
Phil Weaver [Mon, 14 May 2018 23:25:07 +0000 (23:25 +0000)]
Merge "Improve a11y ordering" into pi-dev

6 years agoLet tests enumerate all transports/capabilities.
Jeff Sharkey [Mon, 14 May 2018 19:49:07 +0000 (13:49 -0600)]
Let tests enumerate all transports/capabilities.

This gives them a way to collect all included values without
resorting to manual probing of each newly added value.

Bug: 16207332
Test: atest com.android.cts.net.HostsideVpnTests
Change-Id: I35ca412512dc8515b44d5518e1ca4caa5bdc678f

6 years agoDecrease the inferred auto-brightness adjustment at the extremes.
Michael Wright [Mon, 14 May 2018 22:53:48 +0000 (15:53 -0700)]
Decrease the inferred auto-brightness adjustment at the extremes.

Now that the brightness slider always represents the brightness of the
panel, rather than the auto-brightness adjustments like it did prior to
P, we need to infer the adjustment by comparing the old and new
brightness values. At the extremes, this inferred brightness increases
dramatically towards (+/-) infinity, so we use a different strategy.
Based on dogfood feedback, the current inference seems to have too
strong of an effect, so we're cutting it in half in the hopes that this
is more reasonable.

Change-Id: If6a6c3355f9dcce8588512f1d969c871149ec299
Fixes: 79153846
Test: manual

6 years agoMerge "Allow to create trusted BaseDexClassLoader" into pi-dev
TreeHugger Robot [Mon, 14 May 2018 23:11:33 +0000 (23:11 +0000)]
Merge "Allow to create trusted BaseDexClassLoader" into pi-dev

6 years agoMerge "Mitigating cache corruption in ArrayMap" into pi-dev
TreeHugger Robot [Mon, 14 May 2018 23:03:39 +0000 (23:03 +0000)]
Merge "Mitigating cache corruption in ArrayMap" into pi-dev

6 years agoMerge "Configurable data error action in value metric" into pi-dev
Chenjie Yu [Mon, 14 May 2018 22:57:30 +0000 (15:57 -0700)]
Merge "Configurable data error action in value metric" into pi-dev
am: 5ca38cafe8

Change-Id: Ic4ce7443e381e42e6b33f93021c6344d18abb9c2

6 years agoMetrics for hardware reliability reporting
Andrew Chant [Thu, 10 May 2018 21:16:07 +0000 (14:16 -0700)]
Metrics for hardware reliability reporting

Add event metrics for hardware reliability reporting.

Events include:
 - Battery Health Snapshot
 - Battery Charge cycles
 - Physical Drop
 - Hardware Failed
 - USB Audio Device insertion & removal
 - USB Connector insertion & removal

Bug: 69978775
Test: Logged events from Pixelstats HAL
Change-Id: I9389f71ffe85a430273f33650503f714ea308a78

6 years agoMerge "Configurable data error action in value metric" into pi-dev
TreeHugger Robot [Mon, 14 May 2018 22:46:15 +0000 (22:46 +0000)]
Merge "Configurable data error action in value metric" into pi-dev

6 years agoMerge "Fix errors caught by aapt2"
Colin Cross [Mon, 14 May 2018 22:42:03 +0000 (22:42 +0000)]
Merge "Fix errors caught by aapt2"

6 years agoMerge "Fix errors caught by aapt2"
Colin Cross [Mon, 14 May 2018 22:41:42 +0000 (22:41 +0000)]
Merge "Fix errors caught by aapt2"

6 years agoUpdate javadoc for setVisualVoicemailSmsFilterSettings
Ta-wei Yen [Mon, 30 Apr 2018 18:55:47 +0000 (11:55 -0700)]
Update javadoc for setVisualVoicemailSmsFilterSettings

Test: N/A
Change-Id: I024fa5c2947b562e61e693ecb4d8421fe2507c9e
Fixes: 73829091

6 years agoMitigating cache corruption in ArrayMap
Suprabh Shukla [Mon, 14 May 2018 21:22:11 +0000 (14:22 -0700)]
Mitigating cache corruption in ArrayMap

Before calling freeArrays, storing the array reference into a temporary
pointer so that the main pointer doesn't end up corrupting the static
pool of arrays on concurrent access. An earlier change missed a rare
case when removeAt was called for the last element in the map.

Test: atest android.util.ArrayMapTest
atest android.util.cts.ArrayMapTest

Bug: 78898947
Change-Id: I454c5b1600eb0a6c690e746df10f6a0ebcd8aa1d

6 years agoMerge "Measuring the content views always at their specified size" into pi-dev
Selim Cinek [Mon, 14 May 2018 21:50:56 +0000 (14:50 -0700)]
Merge "Measuring the content views always at their specified size" into pi-dev
am: 13c0e0d19e

Change-Id: I011dfabd445e0f59b9532e5d044c9112dca65eed

6 years agoRethrow SecurityExceptions in UsageStatsManager
Amith Yamasani [Mon, 14 May 2018 21:47:19 +0000 (14:47 -0700)]
Rethrow SecurityExceptions in UsageStatsManager

Some of the newer methods were not rethrowing the system server
exceptions. When not returning a default value, rethrow the
RemoteException from the system server.

Bug: 79692228
Test: atest CtsUsageStatsTestCases:UsageStatsTest
Change-Id: I7b2ae735fc97f3e1903903ed5c98ce914aeaa84a

6 years agoMerge "Add 'Snooze' to local context menu for notifications" into pi-dev
Mady Mellor [Mon, 14 May 2018 21:43:35 +0000 (14:43 -0700)]
Merge "Add 'Snooze' to local context menu for notifications" into pi-dev
am: 18a67855a2

Change-Id: I033d690201bac441fbe3cc076b21890f9b552e6d

6 years agoMerge "Measuring the content views always at their specified size" into pi-dev
Selim Cinek [Mon, 14 May 2018 21:36:28 +0000 (21:36 +0000)]
Merge "Measuring the content views always at their specified size" into pi-dev

6 years agoMerge "Add CallAudioState ctor as TestApi" into pi-dev
Hall Liu [Mon, 14 May 2018 21:27:34 +0000 (14:27 -0700)]
Merge "Add CallAudioState ctor as TestApi" into pi-dev
am: 785a93f61a

Change-Id: If94faceaaa98479c7406d2f6f0374d97ca4e706b

6 years agoMerge "Allow device/profile owners to change app ops modes." into pi-dev
Dianne Hackborn [Mon, 14 May 2018 21:22:38 +0000 (14:22 -0700)]
Merge "Allow device/profile owners to change app ops modes." into pi-dev
am: adaca2146d

Change-Id: I23dc01f573266a182fff2106318b867920a3f91a

6 years agoMerge "Add 'Snooze' to local context menu for notifications" into pi-dev
Mady Mellor [Mon, 14 May 2018 21:10:49 +0000 (21:10 +0000)]
Merge "Add 'Snooze' to local context menu for notifications" into pi-dev

6 years agoAllow to create trusted BaseDexClassLoader
Philip P. Moltmann [Mon, 14 May 2018 21:00:45 +0000 (14:00 -0700)]
Allow to create trusted BaseDexClassLoader

Currently the API is blacklisted.

Bug: 78235528
Test: Called the API after light-greylisting
Change-Id: I7f094a96262a9c8527b339a175f17f2addc87cda

6 years agoMerge "Add CallAudioState ctor as TestApi" into pi-dev
Hall Liu [Mon, 14 May 2018 20:56:57 +0000 (20:56 +0000)]
Merge "Add CallAudioState ctor as TestApi" into pi-dev

6 years agoConfigurable data error action in value metric
Chenjie Yu [Mon, 14 May 2018 17:14:16 +0000 (10:14 -0700)]
Configurable data error action in value metric

Right now in value metric, if a later pull produces a smaller number
than the previous one, we use absolute value of the current value.
This is not correct for some atoms as listed in the CL, which should
just take 0.
For some other atoms, this is unexpected error and should just dump
stale data.

Test: manual test
Bug: 79265262
Change-Id: I59fbfd96cbb57be22cd8d21cb57a7c60ca6856ee

6 years agoMerge "Allow device/profile owners to change app ops modes." into pi-dev
Dianne Hackborn [Mon, 14 May 2018 20:43:31 +0000 (20:43 +0000)]
Merge "Allow device/profile owners to change app ops modes." into pi-dev

6 years agoMerge "Fix Notification panel flickers comes from ag/4008279" into pi-dev
Selim Cinek [Mon, 14 May 2018 20:36:31 +0000 (13:36 -0700)]
Merge "Fix Notification panel flickers comes from ag/4008279" into pi-dev
am: 035e25bf90

Change-Id: Ia0e85dec4901c220671c6a5b1407307219eafccd

6 years agoMerge "Fix Notification panel flickers comes from ag/4008279" into pi-dev
Selim Cinek [Mon, 14 May 2018 20:25:40 +0000 (20:25 +0000)]
Merge "Fix Notification panel flickers comes from ag/4008279" into pi-dev

6 years agoUse INetd Constant for IpSec Interface Prefix
Nathan Harold [Thu, 26 Apr 2018 18:47:14 +0000 (11:47 -0700)]
Use INetd Constant for IpSec Interface Prefix

Convert to using a constant in INetd to ensure
that there is a consistent tunnel prefix  between
Java and native code.

Bug: 74560705
Test: atest FramworksNetTest; atest CtsNetTestCases
Change-Id: Ida233aac2e6c6b26567463964e0ebac9d52eff1e
(cherry picked from commit 649df5e07a968ac98b41a1da60a04d59149d2385)

6 years agoMerge "Prevent IME from targeting home when closing app is still animating" into...
Chavi Weingarten [Mon, 14 May 2018 20:04:47 +0000 (13:04 -0700)]
Merge "Prevent IME from targeting home when closing app is still animating" into pi-dev
am: 4fd9dc11d0

Change-Id: I942f85b501b369974b0c384537deef0744842239

6 years agoImprove a11y ordering
Phil Weaver [Fri, 11 May 2018 01:00:18 +0000 (18:00 -0700)]
Improve a11y ordering

We use ids to break ties when sorting views just to
guarantee that we won't break sorting. But we don't
want to have our swipe order determined by arbitrary
ids.

Before resorting to such a crude tie-breaker, look at
a view's children to try to break a tie using their
bounds. That sort is more based on what's on the
screen, and will also produce the same result from
the same ui.

Bug: 78348191
Test: Switch access order is much more sensible on
Recents. Also ran a11y cts.

Change-Id: I918eae3b0d27e889a53d05a6ebe925e38ce5d7b4

6 years agoAdd 'Snooze' to local context menu for notifications
Mady Mellor [Fri, 11 May 2018 20:24:07 +0000 (13:24 -0700)]
Add 'Snooze' to local context menu for notifications

Bug: 34840333
Test: manual - 1. turn talkback on
               2. have a notification focused
               3. invoke local context menu, note that 'snooze' is an option
               4. select snooze, note that notification is snoozed

Change-Id: Id3ea62a0a9e5c2b8893aa5b548e64bb2b341d7a2

6 years agoMerge "Prevent IME from targeting home when closing app is still animating" into...
Chavi Weingarten [Mon, 14 May 2018 19:48:56 +0000 (19:48 +0000)]
Merge "Prevent IME from targeting home when closing app is still animating" into pi-dev

6 years agoMerge "Add user event logging for recents onboarding > Actual logging will happen...
Hyunyoung Song [Mon, 14 May 2018 19:44:18 +0000 (12:44 -0700)]
Merge "Add user event logging for recents onboarding > Actual logging will happen in launcher side" into pi-dev
am: 9a59a1abf6

Change-Id: Ie2e341a41412162ec6b8bb249f7aec825553b075

6 years agoMerge "Add user event logging for recents onboarding > Actual logging will happen...
Hyunyoung Song [Mon, 14 May 2018 19:29:20 +0000 (19:29 +0000)]
Merge "Add user event logging for recents onboarding > Actual logging will happen in launcher side" into pi-dev

6 years agoMerge "Merge "When suid_dumpable == 2, set dumpable to 0 for apps" am: 659a13121c...
Victor Hsieh [Mon, 14 May 2018 18:31:01 +0000 (11:31 -0700)]
Merge "Merge "When suid_dumpable == 2, set dumpable to 0 for apps" am: 659a13121c" into stage-aosp-master
am: 690eff4bd0

Change-Id: If6b7628ed051dc985e4a418e99c89fb3f60da878

6 years agoAllow device/profile owners to change app ops modes.
Dianne Hackborn [Sat, 12 May 2018 01:02:58 +0000 (18:02 -0700)]
Allow device/profile owners to change app ops modes.

This allows them to continue to have this capability the
same as before we locked down access to it.

Bug: 78480444
Test: manual
Change-Id: If2b0722945235eb67676ace3f54efaa71a64bcde

6 years agoMerge "For Win32, don't cast ssize_t while printing" am: aaf8d7aa2e
Pirama Arumuga Nainar [Mon, 14 May 2018 18:22:57 +0000 (11:22 -0700)]
Merge "For Win32, don't cast ssize_t while printing" am: aaf8d7aa2e
am: 466ada94fe

Change-Id: I39b73406a41ecc5396c39648f8e05e8a88e7aaee

6 years agoMerge "Merge "When suid_dumpable == 2, set dumpable to 0 for apps" am: 659a13121c...
Android Build Merger (Role) [Mon, 14 May 2018 18:16:52 +0000 (18:16 +0000)]
Merge "Merge "When suid_dumpable == 2, set dumpable to 0 for apps" am: 659a13121c" into stage-aosp-master

6 years agoMerge "When suid_dumpable == 2, set dumpable to 0 for apps"
Victor Hsieh [Mon, 14 May 2018 18:16:30 +0000 (11:16 -0700)]
Merge "When suid_dumpable == 2, set dumpable to 0 for apps"
am: 659a13121c

Change-Id: I02d210fd4d9e13a3f548411cea57a4f2e37c7481

6 years agoMerge "For Win32, don't cast ssize_t while printing"
Pirama Arumuga Nainar [Mon, 14 May 2018 18:13:01 +0000 (11:13 -0700)]
Merge "For Win32, don't cast ssize_t while printing"
am: aaf8d7aa2e

Change-Id: I820a020b76bee2777435f685087378e436afb35b