OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Allow QS expansion in switch access mode." into pi-dev
Amin Shaikh [Thu, 19 Apr 2018 23:44:08 +0000 (16:44 -0700)]
Merge "Allow QS expansion in switch access mode." into pi-dev
am: caa429eada

Change-Id: I9282dd8321a5fb5c9149d6e4287882ae757e8620

6 years agoMerge "Allow QS expansion in switch access mode." into pi-dev
TreeHugger Robot [Thu, 19 Apr 2018 23:29:13 +0000 (23:29 +0000)]
Merge "Allow QS expansion in switch access mode." into pi-dev

6 years agoMerge "Reset sticky navbar timeout when rotate btn shown" into pi-dev
Mike Digman [Thu, 19 Apr 2018 22:57:46 +0000 (15:57 -0700)]
Merge "Reset sticky navbar timeout when rotate btn shown" into pi-dev
am: 0b2f7503a8

Change-Id: I50fad5324559a37634a3f20dd7e40e9927e1feb4

6 years agoMerge "Reset sticky navbar timeout when rotate btn shown" into pi-dev
TreeHugger Robot [Thu, 19 Apr 2018 22:32:10 +0000 (22:32 +0000)]
Merge "Reset sticky navbar timeout when rotate btn shown" into pi-dev

6 years agoMerge "Fix non-unique PendingIntent issue with TCImpl." into pi-dev
Abodunrinwa Toki [Thu, 19 Apr 2018 22:20:09 +0000 (15:20 -0700)]
Merge "Fix non-unique PendingIntent issue with TCImpl." into pi-dev
am: 993890fbf4

Change-Id: Ie71ca3cc2144b6f700f1e9376fc2f571d3e19ce7

6 years agoCleanup documentation for LE CoC in BluetoothAdapter
Stanley Tng [Thu, 19 Apr 2018 22:12:57 +0000 (15:12 -0700)]
Cleanup documentation for LE CoC in BluetoothAdapter
am: 0d5aa574d6

Change-Id: I73a3fd4d9c8dd908ca38f3b9877cafaf7847ff09

6 years agoMerge "Clarify API doc for BluetoothGattServer::addService" into pi-dev
Stanley Tng [Thu, 19 Apr 2018 22:09:04 +0000 (15:09 -0700)]
Merge "Clarify API doc for BluetoothGattServer::addService" into pi-dev
am: fb4da73e76

Change-Id: Ib28fec7dc7ee25de883569c054012a75fd1043f2

6 years agoMerge "Fix non-unique PendingIntent issue with TCImpl." into pi-dev
Abodunrinwa Toki [Thu, 19 Apr 2018 22:05:17 +0000 (22:05 +0000)]
Merge "Fix non-unique PendingIntent issue with TCImpl." into pi-dev

6 years agoMerge "AAPT2: Support id reference chaining from AAPT" into pi-dev
Ryan Mitchell [Thu, 19 Apr 2018 21:58:17 +0000 (14:58 -0700)]
Merge "AAPT2: Support id reference chaining from AAPT" into pi-dev
am: 247ecfa498

Change-Id: I507b421d60294ea9262d5be579f22fdc2892c7fe

6 years agoCleanup documentation for LE CoC in BluetoothAdapter
Stanley Tng [Thu, 5 Apr 2018 01:33:46 +0000 (18:33 -0700)]
Cleanup documentation for LE CoC in BluetoothAdapter

Test: Compile
Bug: 77631591
Change-Id: Ic3c7f13e560534a048bf5c8b274fe62190c214c7
(cherry picked from commit dac8e140184f3ac52210ff3638af3f53edca1ba0)

6 years agoMerge "Clarify API doc for BluetoothGattServer::addService" into pi-dev
Stanley Tng [Thu, 19 Apr 2018 21:56:38 +0000 (21:56 +0000)]
Merge "Clarify API doc for BluetoothGattServer::addService" into pi-dev

6 years agoMerge "AAPT2: Support id reference chaining from AAPT" into pi-dev
Ryan Mitchell [Thu, 19 Apr 2018 21:35:59 +0000 (21:35 +0000)]
Merge "AAPT2: Support id reference chaining from AAPT" into pi-dev

6 years agoMerge "[DO NOT MERGE] [Companion] Call notifyDataSetChanged on main thread" into...
Eugene Susla [Thu, 19 Apr 2018 21:24:07 +0000 (14:24 -0700)]
Merge "[DO NOT MERGE] [Companion] Call notifyDataSetChanged on main thread" into pi-dev
am: bb35e9e0e9

Change-Id: Icd60c59691d8a563a5e47cd56c9b677df708beb9

6 years agoMerge "[DO NOT MERGE] [Companion] Call notifyDataSetChanged on main thread" into...
TreeHugger Robot [Thu, 19 Apr 2018 21:11:57 +0000 (21:11 +0000)]
Merge "[DO NOT MERGE] [Companion] Call notifyDataSetChanged on main thread" into pi-dev

6 years agoMerge "Merge "Fix channels --stats dump" into pi-dev am: 5de9459c81" into pi-dev...
Android Build Merger (Role) [Thu, 19 Apr 2018 21:07:09 +0000 (21:07 +0000)]
Merge "Merge "Fix channels --stats dump" into pi-dev am: 5de9459c81" into pi-dev-plus-aosp

6 years agoMerge "Fix channels --stats dump" into pi-dev
Julia Reynolds [Thu, 19 Apr 2018 21:06:38 +0000 (14:06 -0700)]
Merge "Fix channels --stats dump" into pi-dev
am: 5de9459c81

Change-Id: I56f1641dbd0f3180fbce8f88b2571be43dcc68a0

6 years ago[automerger skipped] Merge "Cherry-pick 'Fix a tiny bug in NetworkScanRequest'" am...
Cassie Han [Thu, 19 Apr 2018 21:04:53 +0000 (14:04 -0700)]
[automerger skipped] Merge "Cherry-pick 'Fix a tiny bug in NetworkScanRequest'" am: 122a7b33ad
am: 0036df97ca  -s ours

Change-Id: Ie27e541ed60edc43f518f041f7200d29612677c5

6 years agoMerge "Fix channels --stats dump" into pi-dev
TreeHugger Robot [Thu, 19 Apr 2018 20:55:49 +0000 (20:55 +0000)]
Merge "Fix channels --stats dump" into pi-dev

6 years agoMerge "Cherry-pick 'Fix a tiny bug in NetworkScanRequest'"
Cassie Han [Thu, 19 Apr 2018 20:54:12 +0000 (13:54 -0700)]
Merge "Cherry-pick 'Fix a tiny bug in NetworkScanRequest'"
am: 122a7b33ad

Change-Id: I5acb34ef6d16fd5eab73951811d220049b60a988

6 years agoMerge "Fix screen on count text dump" into pi-dev
Mike Ma [Thu, 19 Apr 2018 20:29:13 +0000 (13:29 -0700)]
Merge "Fix screen on count text dump" into pi-dev
am: dd61c7e8e7

Change-Id: Ia2072936a3c02516a4f3add73895ee8e291cdc04

6 years agoMerge "Don't crash during layout of non-attached but focused view" into pi-dev
Evan Rosky [Thu, 19 Apr 2018 20:24:41 +0000 (13:24 -0700)]
Merge "Don't crash during layout of non-attached but focused view" into pi-dev
am: 62bb0802f9

Change-Id: I5b091f4fc17586a80934bbea0437323f794d6465

6 years agoMerge "Fix screen on count text dump" into pi-dev
TreeHugger Robot [Thu, 19 Apr 2018 20:16:28 +0000 (20:16 +0000)]
Merge "Fix screen on count text dump" into pi-dev

6 years agoMerge "Don't crash during layout of non-attached but focused view" into pi-dev
TreeHugger Robot [Thu, 19 Apr 2018 20:13:32 +0000 (20:13 +0000)]
Merge "Don't crash during layout of non-attached but focused view" into pi-dev

6 years agoFix channels --stats dump
Julia Reynolds [Thu, 19 Apr 2018 19:50:31 +0000 (15:50 -0400)]
Fix channels --stats dump

Test: manual inspection
Bug: 78292990
Change-Id: Iab75627494213870184e503bc2585cc8644ca1dd

6 years agoMerge "Cherry-pick 'Fix a tiny bug in NetworkScanRequest'"
Cassie Han [Thu, 19 Apr 2018 19:23:58 +0000 (19:23 +0000)]
Merge "Cherry-pick 'Fix a tiny bug in NetworkScanRequest'"

6 years agoFix non-unique PendingIntent issue with TCImpl.
Abodunrinwa Toki [Wed, 18 Apr 2018 20:21:27 +0000 (21:21 +0100)]
Fix non-unique PendingIntent issue with TCImpl.

As per the referenced bug, we're running into issues where apps are
being fired with stale intents. The reason is because we need intents we
fire to be unique by Intent.filterEquals. Some of the intents we
generate put unique data in the intent extra which is not considered by
filterEquals. The solution here is to create PendingIntents with unique
request codes (using classifiedText.hashCode()).
See more info about this in
https://developer.android.com/reference/android/app/PendingIntent.html

Bug: 77930684
Test: manually tested broken scenarios. See referenced bug
Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest
Test: bit CtsViewTestCases:android.view.textclassifier.cts.TextClassificationManagerTest
Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationTest
Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest
Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest
Change-Id: Ib7275f94ca5ada51e4ba191742d4b614df12e1ea

6 years agoMerge "Adjust media.codec process group upon request from mediaserver" into pi-dev
Chong Zhang [Thu, 19 Apr 2018 18:22:34 +0000 (11:22 -0700)]
Merge "Adjust media.codec process group upon request from mediaserver" into pi-dev
am: 3f8884829f

Change-Id: Ib1cc2013127f59af33482c4924faa869b3cb7fb9

6 years agoReset sticky navbar timeout when rotate btn shown
Mike Digman [Thu, 19 Apr 2018 17:50:35 +0000 (10:50 -0700)]
Reset sticky navbar timeout when rotate btn shown

First revealing the navbar and then rotating in an
immersive sticky activity makes the rotate navbar button
hard to tap. Signal to the navbar to reset sticky hiding
timeouts if the button becomes visible or changes.

Change-Id: I381bbfd2e0192465b8358bedd213f23dde8ec982
Fixes: 78248328
Test: manual testing with custom immersive sticky activity

6 years agoMerge "SyncManager: Dump per-source last sync time too." into pi-dev
Makoto Onuki [Thu, 19 Apr 2018 17:53:38 +0000 (10:53 -0700)]
Merge "SyncManager: Dump per-source last sync time too." into pi-dev
am: d329ae8010

Change-Id: Ib57bb1dd5433de157d38c86d8054b7821bf05d54

6 years agoMerge "Split provider / service dumpsys into platform and non-platform" into pi-dev
Makoto Onuki [Thu, 19 Apr 2018 17:46:50 +0000 (10:46 -0700)]
Merge "Split provider / service dumpsys into platform and non-platform" into pi-dev
am: dbdf5df96e

Change-Id: I74e57f9cd0fc051f4308df48535f3dce22f3908b

6 years agoMerge "Adjust media.codec process group upon request from mediaserver" into pi-dev
TreeHugger Robot [Thu, 19 Apr 2018 17:40:39 +0000 (17:40 +0000)]
Merge "Adjust media.codec process group upon request from mediaserver" into pi-dev

6 years agoMerge "SyncManager: Dump per-source last sync time too." into pi-dev
Makoto Onuki [Thu, 19 Apr 2018 17:37:45 +0000 (17:37 +0000)]
Merge "SyncManager: Dump per-source last sync time too." into pi-dev

6 years agoMerge "Update notification shade text on zen change" into pi-dev
Beverly [Thu, 19 Apr 2018 17:29:23 +0000 (10:29 -0700)]
Merge "Update notification shade text on zen change" into pi-dev
am: 7468d361e3

Change-Id: I486f4d5500e01570255af814bf53cf5e42ca9c06

6 years agoMerge "Split provider / service dumpsys into platform and non-platform" into pi-dev
Makoto Onuki [Thu, 19 Apr 2018 17:21:48 +0000 (17:21 +0000)]
Merge "Split provider / service dumpsys into platform and non-platform" into pi-dev

6 years agoAllow QS expansion in switch access mode.
Amin Shaikh [Tue, 17 Apr 2018 15:14:32 +0000 (11:14 -0400)]
Allow QS expansion in switch access mode.

Change-Id: I90ffc96f3bbbc8e5cad1509cc8d7b4028ff3fe04
Fixes: 78129194
Test: manually

6 years agoMerge "Update notification shade text on zen change" into pi-dev
TreeHugger Robot [Thu, 19 Apr 2018 17:11:25 +0000 (17:11 +0000)]
Merge "Update notification shade text on zen change" into pi-dev

6 years agoMerge "getUserIdLPr should take application id as input" into pi-dev
Tony Mak [Thu, 19 Apr 2018 17:03:59 +0000 (10:03 -0700)]
Merge "getUserIdLPr should take application id as input" into pi-dev
am: 79ecaac7f3

Change-Id: I2ecaa5a9505140548acacd3ab79be1a63bd19edd

6 years agoMerge "getUserIdLPr should take application id as input" into pi-dev
TreeHugger Robot [Thu, 19 Apr 2018 16:51:23 +0000 (16:51 +0000)]
Merge "getUserIdLPr should take application id as input" into pi-dev

6 years agoMerge "Update bluetooth QS tile secondary text." into pi-dev
Amin Shaikh [Thu, 19 Apr 2018 16:49:09 +0000 (09:49 -0700)]
Merge "Update bluetooth QS tile secondary text." into pi-dev
am: db082f5252

Change-Id: I434216762acacd71c96aec4e6c1b76d8441618e1

6 years agoMerge "Fail gracefully if we get a bad API whitelist." into pi-dev
Mathew Inwood [Thu, 19 Apr 2018 16:43:15 +0000 (09:43 -0700)]
Merge "Fail gracefully if we get a bad API whitelist." into pi-dev
am: 611443e984

Change-Id: I2ead19c8fda255d010aded3884aef0016e1cc74d

6 years agoMerge "Don't mute ringer if apps can bypass dnd" into pi-dev
Beverly Tai [Thu, 19 Apr 2018 16:29:53 +0000 (09:29 -0700)]
Merge "Don't mute ringer if apps can bypass dnd" into pi-dev
am: 39997ea603

Change-Id: Ie8bb9617d8439fdcf739f9fe5264aaa5d0421d72

6 years agoMerge "Update bluetooth QS tile secondary text." into pi-dev
TreeHugger Robot [Thu, 19 Apr 2018 16:29:52 +0000 (16:29 +0000)]
Merge "Update bluetooth QS tile secondary text." into pi-dev

6 years agoMerge "Fail gracefully if we get a bad API whitelist." into pi-dev
Mathew Inwood [Thu, 19 Apr 2018 16:24:31 +0000 (16:24 +0000)]
Merge "Fail gracefully if we get a bad API whitelist." into pi-dev

6 years agoMerge "Add setMin for all slider in volume panel." into pi-dev
jiabin [Thu, 19 Apr 2018 16:23:27 +0000 (09:23 -0700)]
Merge "Add setMin for all slider in volume panel." into pi-dev
am: 67332c7397

Change-Id: Ieb1729a5575c9f544a7c4db7c658400b2305e60c

6 years agoMerge "Clean up punctuation in SIM locked strings." into pi-dev
Dan Sandler [Thu, 19 Apr 2018 16:12:56 +0000 (09:12 -0700)]
Merge "Clean up punctuation in SIM locked strings." into pi-dev
am: 8375834cc8

Change-Id: I69ed6b40698c28dd0a3d806f80e0af947949e25f

6 years agoMerge "Don't mute ringer if apps can bypass dnd" into pi-dev
Beverly Tai [Thu, 19 Apr 2018 16:08:28 +0000 (16:08 +0000)]
Merge "Don't mute ringer if apps can bypass dnd" into pi-dev

6 years agoMerge "Add setMin for all slider in volume panel." into pi-dev
TreeHugger Robot [Thu, 19 Apr 2018 16:07:12 +0000 (16:07 +0000)]
Merge "Add setMin for all slider in volume panel." into pi-dev

6 years agoMerge "Clean up punctuation in SIM locked strings." into pi-dev
TreeHugger Robot [Thu, 19 Apr 2018 16:00:35 +0000 (16:00 +0000)]
Merge "Clean up punctuation in SIM locked strings." into pi-dev

6 years agoMerge "Status bar icon ordering" into pi-dev
Evan Laird [Thu, 19 Apr 2018 15:57:19 +0000 (08:57 -0700)]
Merge "Status bar icon ordering" into pi-dev
am: c1adfac496

Change-Id: Id72779dc5e54b9175cacdf0c6fe0342afcb3ffbe

6 years agoMerge "Translate SystemUi NotifChannels on locale change" into pi-dev
Beverly [Thu, 19 Apr 2018 15:47:51 +0000 (08:47 -0700)]
Merge "Translate SystemUi NotifChannels on locale change" into pi-dev
am: 39e2366d4a

Change-Id: I90c1b6c29af869eb7cb27e74300277162e77410a

6 years agoMerge "Status bar icon ordering" into pi-dev
TreeHugger Robot [Thu, 19 Apr 2018 15:47:38 +0000 (15:47 +0000)]
Merge "Status bar icon ordering" into pi-dev

6 years agoMerge "Update docs 'since' for API 28." into pi-dev
Anton Hansson [Thu, 19 Apr 2018 15:42:56 +0000 (08:42 -0700)]
Merge "Update docs 'since' for API 28." into pi-dev
am: 93f457c531

Change-Id: I86d0f88190fa9603ac3eef6468a73d32c1a633e3

6 years agoMerge "Translate SystemUi NotifChannels on locale change" into pi-dev
TreeHugger Robot [Thu, 19 Apr 2018 15:32:45 +0000 (15:32 +0000)]
Merge "Translate SystemUi NotifChannels on locale change" into pi-dev

6 years agoMerge "Update docs 'since' for API 28." into pi-dev
Anton Hansson [Thu, 19 Apr 2018 15:30:07 +0000 (15:30 +0000)]
Merge "Update docs 'since' for API 28." into pi-dev

6 years agoMerge "Revert "Don't consider resources < 0 as invalid"" into pi-dev
Jorim Jaggi [Thu, 19 Apr 2018 15:28:16 +0000 (08:28 -0700)]
Merge "Revert "Don't consider resources < 0 as invalid"" into pi-dev
am: 2557f34102

Change-Id: Iff2cbb469b137cbc7cbb258d001d3330451f2221

6 years agoMerge "Adjust APF interpreter tests to match APFv4" am: 05011abf27
Bernie Innocenti [Thu, 19 Apr 2018 15:23:07 +0000 (08:23 -0700)]
Merge "Adjust APF interpreter tests to match APFv4" am: 05011abf27
am: e56afce9e9

Change-Id: Iac5a843c1476dd96029956bba7e68aed538d0c52

6 years agoMerge "Revert "Don't consider resources < 0 as invalid"" into pi-dev
Jorim Jaggi [Thu, 19 Apr 2018 15:18:23 +0000 (15:18 +0000)]
Merge "Revert "Don't consider resources < 0 as invalid"" into pi-dev

6 years agoMerge "Visit Uris in RemoteViews for granting purposes." into pi-dev
Jeff Sharkey [Thu, 19 Apr 2018 15:09:24 +0000 (08:09 -0700)]
Merge "Visit Uris in RemoteViews for granting purposes." into pi-dev
am: 1cd96854d4

Change-Id: Ie979847bd41777cef2b4169cb7f78abe174d054d

6 years agoMerge "Visit Uris in RemoteViews for granting purposes." into pi-dev
Jeff Sharkey [Thu, 19 Apr 2018 14:58:02 +0000 (14:58 +0000)]
Merge "Visit Uris in RemoteViews for granting purposes." into pi-dev

6 years agoUpdate notification shade text on zen change
Beverly [Wed, 18 Apr 2018 21:32:56 +0000 (17:32 -0400)]
Update notification shade text on zen change

Change-Id: I6b75af1a94f7da95ac78fac122651924db7c1308
Fixes: 76143428
Test: NotificationStackScrollLayoutTest

6 years agoClean up punctuation in SIM locked strings.
Dan Sandler [Sat, 14 Apr 2018 00:39:39 +0000 (20:39 -0400)]
Clean up punctuation in SIM locked strings.

Bug: 76122305
Test: visual
Change-Id: I4795b10fee950fd37efc0bd95af87cb14d0947ff

6 years agoTranslate SystemUi NotifChannels on locale change
Beverly [Thu, 19 Apr 2018 14:27:06 +0000 (10:27 -0400)]
Translate SystemUi NotifChannels on locale change

Register receiver outside of the on boot receiver

Test: manual
Change-Id: Id286647ffe68704f928ca55dcae14dadc4fa998d
Fixes: 64887866

6 years agoMerge "Adjust APF interpreter tests to match APFv4"
Bernie Innocenti [Thu, 19 Apr 2018 14:25:11 +0000 (07:25 -0700)]
Merge "Adjust APF interpreter tests to match APFv4"
am: 05011abf27

Change-Id: I5ca2b41ab6c101bef7465229270079c81743c757

6 years agoMerge "AOD: Ensure WakeLock is held for delayed dozeTimeTick" into pi-dev
Adrian Roos [Thu, 19 Apr 2018 14:10:52 +0000 (07:10 -0700)]
Merge "AOD: Ensure WakeLock is held for delayed dozeTimeTick" into pi-dev
am: 4fca6d6b31

Change-Id: I6664456dd641d9e1abb2fe9d65841fadb2299f37

6 years agoMerge "AOD: Ensure WakeLock is held for delayed dozeTimeTick" into pi-dev
TreeHugger Robot [Thu, 19 Apr 2018 13:59:25 +0000 (13:59 +0000)]
Merge "AOD: Ensure WakeLock is held for delayed dozeTimeTick" into pi-dev

6 years agoUpdate bluetooth QS tile secondary text.
Amin Shaikh [Wed, 18 Apr 2018 18:14:38 +0000 (14:14 -0400)]
Update bluetooth QS tile secondary text.

Only show detailed status when connected to exactly one device.
Otherwise show "X devices".
Also, listen for bluetooth profile service callbacks to initialize the
bluetooth device state after systemui crashes.

TODO: Update string to "X devices connected" after P

Change-Id: I99a3484c3dfa7eb0d6d8836336ebb84cbdaadbe5
Fixes: 76102598
Fixes: 77498698
Test: manual

6 years agogetUserIdLPr should take application id as input
Tony Mak [Thu, 19 Apr 2018 13:24:10 +0000 (14:24 +0100)]
getUserIdLPr should take application id as input

Fixes: 78265824
Test: Setup work profile using TestDPC -> add account into work profile.
Test: Add google.com in personal side to trigger work profile setup.

Change-Id: Ib87301fc98d0ebf1baa043e4badb5144a0f62377

6 years agoRevert "Don't consider resources < 0 as invalid"
Jorim Jaggi [Thu, 19 Apr 2018 13:27:52 +0000 (13:27 +0000)]
Revert "Don't consider resources < 0 as invalid"

This reverts commit fbcf20819182107fcf1d3fb894881754e2fbb7f6.

Reason for revert: Breaks all window animations

Bug: 78264055
Change-Id: Iaa09626ad8dc26a3fde1ecc402dc2bd28df99627

6 years agoUpdate docs 'since' for API 28.
Anton Hansson [Thu, 19 Apr 2018 13:04:32 +0000 (14:04 +0100)]
Update docs 'since' for API 28.

I'm replacing this list with a for-loop in master, so it shouldn't need
updating in future (except for temporary apis).

Bug: 77588754
Test: make docs
Change-Id: Ib48218e303b53e2b16a13866e4423ee2ad1c2f4a

6 years agoMerge "Animate home in separate layer" into pi-dev
Jorim Jaggi [Thu, 19 Apr 2018 13:19:24 +0000 (06:19 -0700)]
Merge "Animate home in separate layer" into pi-dev
am: e3a34816dc

Change-Id: I76fe28eb0091f974eb63d4fd6e3ec32beac19ddf

6 years agoMerge "Adjust APF interpreter tests to match APFv4"
Bernie Innocenti [Thu, 19 Apr 2018 13:17:20 +0000 (13:17 +0000)]
Merge "Adjust APF interpreter tests to match APFv4"

6 years agoMerge "Add one more hidden API to light greylist" into pi-dev
David Brazdil [Thu, 19 Apr 2018 13:14:13 +0000 (06:14 -0700)]
Merge "Add one more hidden API to light greylist" into pi-dev
am: b7f1777d0a

Change-Id: I8a724e035ec926aded9c3d1fea9b1534bacf6e88

6 years agoMerge "Add UUID->leastSigBits to light grey." into pi-dev
Nicolas Geoffray [Thu, 19 Apr 2018 13:06:13 +0000 (06:06 -0700)]
Merge "Add UUID->leastSigBits to light grey." into pi-dev
am: 95211ec766

Change-Id: I113db5d3b92c59e842afe49680ae3b666701da0c

6 years agoMerge "Animate home in separate layer" into pi-dev
Jorim Jaggi [Thu, 19 Apr 2018 13:01:48 +0000 (13:01 +0000)]
Merge "Animate home in separate layer" into pi-dev

6 years agoMerge "Add one more hidden API to light greylist" into pi-dev
David Brazdil [Thu, 19 Apr 2018 12:59:40 +0000 (12:59 +0000)]
Merge "Add one more hidden API to light greylist" into pi-dev

6 years agoMerge "Add UUID->leastSigBits to light grey." into pi-dev
Nicolas Geoffray [Thu, 19 Apr 2018 12:51:27 +0000 (12:51 +0000)]
Merge "Add UUID->leastSigBits to light grey." into pi-dev

6 years agoMerge "Actually resolve all IPs for Private DNS hostname" am: 5ace372bc2
Erik Kline [Thu, 19 Apr 2018 12:25:18 +0000 (05:25 -0700)]
Merge "Actually resolve all IPs for Private DNS hostname" am: 5ace372bc2
am: 5124d28e64

Change-Id: I1e5de255c4ee11f46dc8a1e3f5eaca2f2be1c792

6 years agoMerge "Actually resolve all IPs for Private DNS hostname"
Erik Kline [Thu, 19 Apr 2018 12:15:13 +0000 (05:15 -0700)]
Merge "Actually resolve all IPs for Private DNS hostname"
am: 5ace372bc2

Change-Id: I83ffc854b60f2beb0a9e4c8a107ce26b656c935e

6 years agoMerge "Actually resolve all IPs for Private DNS hostname"
Treehugger Robot [Thu, 19 Apr 2018 11:02:29 +0000 (11:02 +0000)]
Merge "Actually resolve all IPs for Private DNS hostname"

6 years agoAdd one more hidden API to light greylist
David Brazdil [Thu, 19 Apr 2018 09:59:32 +0000 (10:59 +0100)]
Add one more hidden API to light greylist

Bug: 78229662
Test: make
Change-Id: I603e48d795d6d805f46389f9edbd81ffd6c66696

6 years agoFail gracefully if we get a bad API whitelist.
Mathew Inwood [Mon, 9 Apr 2018 16:29:12 +0000 (17:29 +0100)]
Fail gracefully if we get a bad API whitelist.

If we send a bad API whitelist to the Zygote, it causes it to close the
socket. If we take no further action in AMS, it results in the same list
of exceptions being sent when we re-open the socket, resulting in it again
being closed. This results in no longer fork/start any new processes.
Since the list is persisted, this would result in the device entering a
boot loop upon reboot. Since no apps could be started, we cannot recover.

So in the case that the exemptions list causes problems, clear out the
list so we don't try to send it again next time. This means we will see
a single failure, but future attempts will succeed (obviously without
any whitelist). The device should not enter a boot loop.

Note, the test below relies on the fact that we can send at most 1024
arguments in a command to the Zygote (MAX_ZYGOTE_ARGC), and that each
item on the list is a separate argument.

Test: adb shell settings put global hidden_api_blacklist_exemptions \
Test:    $(for i in {1..1025}; do echo -n $i,; done)
Bug: 64382372
Change-Id: Ie47095d516c247ff6a8d667a2ac9b7be45f1acda

6 years agoActually resolve all IPs for Private DNS hostname
Erik Kline [Thu, 19 Apr 2018 08:58:15 +0000 (17:58 +0900)]
Actually resolve all IPs for Private DNS hostname

Previously, we reused the OneAddressPerFamilyNetwork which does
what it says on the tin.  For the resolution that will be used
to program netd this is not what we really want.

Test: as follows
    - built
    - flashed
    - booted
    - runtest frameworks-net passes
    - manual testing of Private DNS passes
Bug: 64133961
Change-Id: Ieccc4d208b314b81061dc78d83848f97acefe04b

6 years agoMerge "Add proto constants for hidden API logging." into pi-dev
Mathew Inwood [Thu, 19 Apr 2018 07:18:29 +0000 (00:18 -0700)]
Merge "Add proto constants for hidden API logging." into pi-dev
am: 8182e354d8

Change-Id: Id3f1d80af5d3a77127df0ca2c746da1db943067a

6 years agoMerge "Add proto constants for hidden API logging." into pi-dev
Mathew Inwood [Thu, 19 Apr 2018 07:09:19 +0000 (07:09 +0000)]
Merge "Add proto constants for hidden API logging." into pi-dev

6 years agoMerge "Fix notification bar can be dragged when SIM PIN lock screen." into pi-dev
Sanry Huang [Thu, 19 Apr 2018 07:01:33 +0000 (00:01 -0700)]
Merge "Fix notification bar can be dragged when SIM PIN lock screen." into pi-dev
am: 5e019b5f8b

Change-Id: I162486ac973bc59d22b400261f15a233ab67e718

6 years agoMerge "Fix notification bar can be dragged when SIM PIN lock screen." into pi-dev
Sanry Huang [Thu, 19 Apr 2018 06:49:19 +0000 (06:49 +0000)]
Merge "Fix notification bar can be dragged when SIM PIN lock screen." into pi-dev

6 years agoMerge "Fix unnecessarily extended View lifetime in IMMS" into pi-dev
Yohei Yukawa [Thu, 19 Apr 2018 04:12:12 +0000 (21:12 -0700)]
Merge "Fix unnecessarily extended View lifetime in IMMS" into pi-dev
am: 3e180afa02

Change-Id: Ic3d7b3fb51cc2b5cee8e2ae508679e2035d0931b

6 years agoMerge "Fix unnecessarily extended View lifetime in IMMS" into pi-dev
TreeHugger Robot [Thu, 19 Apr 2018 04:01:36 +0000 (04:01 +0000)]
Merge "Fix unnecessarily extended View lifetime in IMMS" into pi-dev

6 years agoVisit Uris in RemoteViews for granting purposes.
Jeff Sharkey [Thu, 19 Apr 2018 03:32:12 +0000 (21:32 -0600)]
Visit Uris in RemoteViews for granting purposes.

RemoteViews end up passing around Uris, so we need to extend Uri
permission grants for them to ensure the recipient of a Notification
object is able to render its contents.

Bug: 9069730
Test: atest frameworks/base/services/tests/uiservicestests/src/com/android/server/notification
Change-Id: Id31b5adaf2ee66113a1b503e32126aeddbf97b28

6 years agoMerge "Fixed autofill forged package check to only compare the package name." into...
Felipe Leme [Thu, 19 Apr 2018 03:19:27 +0000 (20:19 -0700)]
Merge "Fixed autofill forged package check to only compare the package name." into pi-dev
am: 2fbdb17cd3

Change-Id: Ife0af02000708eed0b6e94349b043f92d1e08815

6 years agoMerge "Fixed autofill forged package check to only compare the package name." into...
TreeHugger Robot [Thu, 19 Apr 2018 03:10:35 +0000 (03:10 +0000)]
Merge "Fixed autofill forged package check to only compare the package name." into pi-dev

6 years agoFixed autofill forged package check to only compare the package name.
Felipe Leme [Wed, 18 Apr 2018 21:25:00 +0000 (14:25 -0700)]
Fixed autofill forged package check to only compare the package name.

Otherwise, it will log false negatives when app launches a new activity in the
same autofill session. Example:

04-18 19:34:32.392  5423  7199 W AutofillSession: Activity ComponentInfo{com.netgear.WiFiAnalytics/com.netgear.WiFiAnalytics.WiFiAnalyticsWifiRoomSignal} forged different component on AssistStructure: ComponentInfo{com.netgear.WiFiAnalytics/com.netgear.WiFiAnalytics.WiFiAnalyticsWifiAnalyzerTab}

Fixes: 78235438
Bug: 69981710
Test: manual verification, cannot be CTS tested.
Test: CtsAutoFillServiceTestCases

Change-Id: I0408cd159c2be22841a1f6c36a4a2c17e59a6219

6 years agoMerge "Implement swipe up and quick scrub onboarding" into pi-dev
Tracy Zhou [Thu, 19 Apr 2018 01:43:05 +0000 (18:43 -0700)]
Merge "Implement swipe up and quick scrub onboarding" into pi-dev
am: 08a2028228

Change-Id: Ie6a41f240dda33edcfa8f5015ae0884ca9701e94

6 years agoMerge "Reducing the touch slop for quickstep" into pi-dev
Sunny Goyal [Thu, 19 Apr 2018 01:17:13 +0000 (18:17 -0700)]
Merge "Reducing the touch slop for quickstep" into pi-dev
am: 0a16178660

Change-Id: If92a5282ba9abae05eaec72571dd44d34050cf6e

6 years agoMerge "Implement swipe up and quick scrub onboarding" into pi-dev
TreeHugger Robot [Thu, 19 Apr 2018 01:16:20 +0000 (01:16 +0000)]
Merge "Implement swipe up and quick scrub onboarding" into pi-dev

6 years agoMerge "Reducing the touch slop for quickstep" into pi-dev
TreeHugger Robot [Thu, 19 Apr 2018 01:04:45 +0000 (01:04 +0000)]
Merge "Reducing the touch slop for quickstep" into pi-dev

6 years agoMerge "No AppStandby tracking of non existent packages and add parole window" into...
Michael Wachenschwanz [Thu, 19 Apr 2018 00:46:48 +0000 (17:46 -0700)]
Merge "No AppStandby tracking of non existent packages and add parole window" into pi-dev
am: b2097fcab6

Change-Id: I03424668040067ab43881bbaa8f832071c6f6296

6 years agoMerge "Added more documentation for dialogMessage" into pi-dev
Suprabh Shukla [Thu, 19 Apr 2018 00:42:13 +0000 (17:42 -0700)]
Merge "Added more documentation for dialogMessage" into pi-dev
am: 4d5d3a0254

Change-Id: I241ddd624eb4409eacde7a3224dc27fa80d5de10

6 years agoMerge "Rely on tile state for on/off a11y announcement." into pi-dev
Amin Shaikh [Thu, 19 Apr 2018 00:36:40 +0000 (17:36 -0700)]
Merge "Rely on tile state for on/off a11y announcement." into pi-dev
am: df173b59f6

Change-Id: Ib2e3e17063627b82dc2539e2e9ecb74c3963a16f

6 years agoFix unnecessarily extended View lifetime in IMMS
Yohei Yukawa [Thu, 19 Apr 2018 00:31:27 +0000 (17:31 -0700)]
Fix unnecessarily extended View lifetime in IMMS

Currently InputMethodManagerService (IMMS) unnecessarily extends the
lifetime of View objects used to show IME switcher dialog until the
dialog is shown again, because it forgets to clear
IMMS#mSwitchingDialogTitleView with null even after the dialog is
closed.

As a result, roughly 1.5MB of RAM will be unnecessarily consumed by
the system_server once after the IME switcher dialog is shown until
the device is rebooted.

With this CL, IMMS#mSwitchingDialogTitleView will be cleared with null
when the dialog is closed.

Fixes: 78245299
Test: Manually made sure that IMMS does not hold strong references to
      View objects used for IME switcher dialog after the dialog is
      closed.
Change-Id: I9fee92bb2974edeceacc680686095df480efba29