OSDN Git Service

android-x86/frameworks-base.git
6 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: ebfd27...
Bill Yi [Thu, 21 Jun 2018 18:42:02 +0000 (11:42 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: ebfd27503a  -s ours
am: 9e695b0fd4  -s ours

Change-Id: Ia73a0deae986f468d1ad429089dcb2740826f2f8

6 years agoMerge "Update docs and ensure PHONE_STATE is more predictable for unknown numbers...
Tyler Gunn [Thu, 21 Jun 2018 18:35:12 +0000 (11:35 -0700)]
Merge "Update docs and ensure PHONE_STATE is more predictable for unknown numbers." into pi-dev am: 766259698a
am: d26a8a408e

Change-Id: I55e3519fcbad4dcb7da041d0194bf4e1c7d38949

6 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Thu, 21 Jun 2018 18:29:30 +0000 (11:29 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: ebfd27503a  -s ours

Change-Id: Ib92fdf7cd9095f34a1ee581c1ed923d0e34994c9

6 years agoMerge "Update docs and ensure PHONE_STATE is more predictable for unknown numbers...
Tyler Gunn [Thu, 21 Jun 2018 18:26:49 +0000 (11:26 -0700)]
Merge "Update docs and ensure PHONE_STATE is more predictable for unknown numbers." into pi-dev
am: 766259698a

Change-Id: Ic5051c6b01eddd001681d1addd0eeee2562c59ba

6 years agoMerge "Add a method to get the total network usage."
TreeHugger Robot [Thu, 21 Jun 2018 18:26:23 +0000 (18:26 +0000)]
Merge "Add a method to get the total network usage."

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Thu, 21 Jun 2018 18:11:30 +0000 (18:11 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Logging a wtf if alarm delivery gets stuck"
TreeHugger Robot [Thu, 21 Jun 2018 18:10:17 +0000 (18:10 +0000)]
Merge "Logging a wtf if alarm delivery gets stuck"

6 years agoMerge "Update docs and ensure PHONE_STATE is more predictable for unknown numbers...
Tyler Gunn [Thu, 21 Jun 2018 18:10:16 +0000 (18:10 +0000)]
Merge "Update docs and ensure PHONE_STATE is more predictable for unknown numbers." into pi-dev

6 years agoMerge "Add metric for settings new homepage"
TreeHugger Robot [Thu, 21 Jun 2018 16:47:22 +0000 (16:47 +0000)]
Merge "Add metric for settings new homepage"

6 years ago[automerger skipped] Merge "Fix issue with manual touch dispatch" into pi-dev am...
Jorim Jaggi [Thu, 21 Jun 2018 16:36:59 +0000 (09:36 -0700)]
[automerger skipped] Merge "Fix issue with manual touch dispatch" into pi-dev am: 0fb45603fe
am: 926dd4739d  -s ours

Change-Id: I4ec00664226bb57da4829fe1aa4b192b9ce8906e

6 years agoMerge "Fix issue with manual touch dispatch" into pi-dev
Jorim Jaggi [Thu, 21 Jun 2018 16:26:09 +0000 (09:26 -0700)]
Merge "Fix issue with manual touch dispatch" into pi-dev
am: 0fb45603fe

Change-Id: I977188732a3866fc84adf3e1ef1b6d65ee4ea410

6 years agoMerge "Fix issue with manual touch dispatch" into pi-dev
TreeHugger Robot [Thu, 21 Jun 2018 16:10:35 +0000 (16:10 +0000)]
Merge "Fix issue with manual touch dispatch" into pi-dev

6 years agoAlways ignore summaries
Julia Reynolds [Tue, 19 Jun 2018 19:39:23 +0000 (15:39 -0400)]
Always ignore summaries

Test: runtest systemui-notification
Bug: 78643290
Change-Id: Ia036e528666af336897431dd11efeffc92accdc7

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 21 Jun 2018 12:09:41 +0000 (05:09 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: If0cc65463dca8363427a9021601aee4401caccaa

6 years agoMerge "Define a permission to read emergency info name"
TreeHugger Robot [Thu, 21 Jun 2018 08:58:47 +0000 (08:58 +0000)]
Merge "Define a permission to read emergency info name"

6 years ago[automerger skipped] Merge "Stabilize hidden API lists" into pi-dev am: 80167ec0c7...
David Brazdil [Thu, 21 Jun 2018 06:49:28 +0000 (23:49 -0700)]
[automerger skipped] Merge "Stabilize hidden API lists" into pi-dev am: 80167ec0c7  -s ours
am: 5ad3515212  -s ours

Change-Id: Iae48ccab36ab493cfea35c7817ba9da9a000c5d1

6 years agoMerge "More light grey APIs." into pi-dev am: eec75058ba
Nicolas Geoffray [Thu, 21 Jun 2018 06:28:32 +0000 (23:28 -0700)]
Merge "More light grey APIs." into pi-dev am: eec75058ba
am: 73bd001368

Change-Id: I7d5e66140f132429bd3d024515258a33ade85b6e

6 years agoMerge "Add StackedLinkProperties test case" am: faf31f8638 am: 946957bc32
Chalard Jean [Thu, 21 Jun 2018 06:23:25 +0000 (23:23 -0700)]
Merge "Add StackedLinkProperties test case" am: faf31f8638 am: 946957bc32
am: 05778e562c

Change-Id: I2228d19282a9871c04e2529304c4fd99bd4d01f4

6 years agoMerge "Fix <UCP>[Power] toggled the power status" am: b3eeb859f7 am: 26f781db62
Dan Zhang [Thu, 21 Jun 2018 06:16:15 +0000 (23:16 -0700)]
Merge "Fix <UCP>[Power] toggled the power status" am: b3eeb859f7 am: 26f781db62
am: 016dff400b

Change-Id: Iae4a06954f780fc18c9089cf42e2802d958a9ce4

6 years ago[automerger skipped] Merge "Stabilize hidden API lists" into pi-dev
David Brazdil [Thu, 21 Jun 2018 06:15:50 +0000 (23:15 -0700)]
[automerger skipped] Merge "Stabilize hidden API lists" into pi-dev
am: 80167ec0c7  -s ours

Change-Id: I655be3bcd7d3f4fee796d08bdeb380d28f83e097

6 years agoMerge "Stabilize hidden API lists" into pi-dev
TreeHugger Robot [Thu, 21 Jun 2018 06:07:22 +0000 (06:07 +0000)]
Merge "Stabilize hidden API lists" into pi-dev

6 years ago[automerger skipped] Merge "Fix PixelCopyTest failure in CTS" am: b773556215 -s...
John Reck [Thu, 21 Jun 2018 06:02:45 +0000 (23:02 -0700)]
[automerger skipped] Merge "Fix PixelCopyTest failure in CTS" am: b773556215  -s ours am: bd31702374  -s ours
am: ad7c4f9c0f  -s ours

Change-Id: I42041afe19e43a5ab7f00376f5b9ab727e6571d0

6 years agoMerge "More light grey APIs." into pi-dev
Nicolas Geoffray [Thu, 21 Jun 2018 05:33:07 +0000 (22:33 -0700)]
Merge "More light grey APIs." into pi-dev
am: eec75058ba

Change-Id: I1d81f2c2aad1276690cbf5207b8b4ace2e4679c6

6 years agoMerge "More light grey APIs." into pi-dev
TreeHugger Robot [Thu, 21 Jun 2018 05:21:01 +0000 (05:21 +0000)]
Merge "More light grey APIs." into pi-dev

6 years agoMerge "Add StackedLinkProperties test case" am: faf31f8638
Chalard Jean [Thu, 21 Jun 2018 04:52:15 +0000 (21:52 -0700)]
Merge "Add StackedLinkProperties test case" am: faf31f8638
am: 946957bc32

Change-Id: Idebb0fc4279a059bddecffc563bdf3ddf394002c

6 years agoMerge "Fix <UCP>[Power] toggled the power status" am: b3eeb859f7
Dan Zhang [Thu, 21 Jun 2018 04:46:18 +0000 (21:46 -0700)]
Merge "Fix <UCP>[Power] toggled the power status" am: b3eeb859f7
am: 26f781db62

Change-Id: Id37f64d7f63a0ca86353fdee18379309e4359810

6 years agoMerge "Add StackedLinkProperties test case"
Chalard Jean [Thu, 21 Jun 2018 04:23:17 +0000 (21:23 -0700)]
Merge "Add StackedLinkProperties test case"
am: faf31f8638

Change-Id: I33d75bf593708317dca4ba6cec035b7f035cfa86

6 years ago[automerger skipped] Merge "Fix PixelCopyTest failure in CTS" am: b773556215 -s...
John Reck [Thu, 21 Jun 2018 04:21:16 +0000 (21:21 -0700)]
[automerger skipped] Merge "Fix PixelCopyTest failure in CTS" am: b773556215  -s ours
am: bd31702374  -s ours

Change-Id: Icf428422f68b5ee4ccaba207ed8eda20411918b9

6 years agoMerge "Fix <UCP>[Power] toggled the power status"
Dan Zhang [Thu, 21 Jun 2018 04:18:07 +0000 (21:18 -0700)]
Merge "Fix <UCP>[Power] toggled the power status"
am: b3eeb859f7

Change-Id: I7f56ece79f0eb10cc27d5c62d1c8300933b1c23b

6 years ago[automerger skipped] Merge "Fix PixelCopyTest failure in CTS"
John Reck [Thu, 21 Jun 2018 04:10:33 +0000 (21:10 -0700)]
[automerger skipped] Merge "Fix PixelCopyTest failure in CTS"
am: b773556215  -s ours

Change-Id: I6d5d15e89dcf03c8002452018b1e8922890d2814

6 years agoAdd metric for settings new homepage
Raff Tsai [Wed, 20 Jun 2018 07:15:11 +0000 (15:15 +0800)]
Add metric for settings new homepage

    Test: Build

Change-Id: I85e4ec0e6d387481a23ca8f354b5d23c6fe8909b

6 years agoMerge "Add StackedLinkProperties test case"
Chalard Jean [Thu, 21 Jun 2018 03:39:15 +0000 (03:39 +0000)]
Merge "Add StackedLinkProperties test case"

6 years agoMerge "Fix <UCP>[Power] toggled the power status"
Dan Zhang [Thu, 21 Jun 2018 02:41:59 +0000 (02:41 +0000)]
Merge "Fix <UCP>[Power] toggled the power status"

6 years agoMerge "Fix PixelCopyTest failure in CTS"
John Reck [Thu, 21 Jun 2018 00:48:44 +0000 (00:48 +0000)]
Merge "Fix PixelCopyTest failure in CTS"

6 years agoMerge "Make sure mFlags is synced properly in WindowConfiguration"
Kazuki Takise [Thu, 21 Jun 2018 00:46:07 +0000 (00:46 +0000)]
Merge "Make sure mFlags is synced properly in WindowConfiguration"

6 years agoLogging a wtf if alarm delivery gets stuck
Suprabh Shukla [Thu, 21 Jun 2018 00:28:26 +0000 (17:28 -0700)]
Logging a wtf if alarm delivery gets stuck

If alarm delivery is stuck, detect and log a wtf. This will help us
catch relevant information sooner and also indicate how frequently this
happens. Otherwise this is something that can easily go unnoticed and is
usually hard to debug once the alarms are running as expected again.

Test: Builds, boots, existing alarm tests pass.
adb shell dumpsys alarm

Bug: 78560047
Change-Id: Ife881f2c9649b8dfd87ba05a425483375361da64

6 years agoMerge "Break a cross process ref chain in spell checker"
TreeHugger Robot [Wed, 20 Jun 2018 23:22:00 +0000 (23:22 +0000)]
Merge "Break a cross process ref chain in spell checker"

6 years agoAdd a method to get the total network usage.
Doris Ling [Wed, 20 Jun 2018 22:00:22 +0000 (15:00 -0700)]
Add a method to get the total network usage.

- add a method to get the overall total network usage from all of the
network history data.

Bug: 74451774
Test: make RunSettingsLibRoboTests
Change-Id: Icf547b88bbc03c08161a1bc09941a7c31d2a96f5

6 years agoMerge "AudioManager: javadoc update for volume methods"
TreeHugger Robot [Wed, 20 Jun 2018 22:55:58 +0000 (22:55 +0000)]
Merge "AudioManager: javadoc update for volume methods"

6 years agoFix PixelCopyTest failure in CTS
Romain Guy [Wed, 1 Nov 2017 16:50:28 +0000 (09:50 -0700)]
Fix PixelCopyTest failure in CTS

This feature needs support for renderable float textures, but the checks
were only guaranteeing support for float texture reads.

Bug: 68754504
Test: CtsViewTestCases

Change-Id: I0ce4a81cb8e09c10a5f1e65234685767a24ef8c4
Merged-In: I0ce4a81cb8e09c10a5f1e65234685767a24ef8c4
(cherry picked from commit 8472ac67fd1d815022874f5addace0c4334ae9f6)
(cherry picked from commit 8dc7f8275e5ba9004d219d7d7d990e91fc702095)

6 years agoMerge "Fix race condition in MediaHTTPConnection" into pi-dev am: d7c87b74d9
Marco Nelissen [Wed, 20 Jun 2018 22:40:22 +0000 (15:40 -0700)]
Merge "Fix race condition in MediaHTTPConnection" into pi-dev am: d7c87b74d9
am: 7a72844fd5

Change-Id: Ie8a4a2ec2c6df33aba1d48d0b89f400a75c1233d

6 years agoMerge "Fix race condition in MediaHTTPConnection" into pi-dev
Marco Nelissen [Wed, 20 Jun 2018 22:28:32 +0000 (15:28 -0700)]
Merge "Fix race condition in MediaHTTPConnection" into pi-dev
am: d7c87b74d9

Change-Id: I65de507c2b98b81a25141994baba38831aea9142

6 years agoMerge "Fix race condition in MediaHTTPConnection" into pi-dev
Marco Nelissen [Wed, 20 Jun 2018 22:14:33 +0000 (22:14 +0000)]
Merge "Fix race condition in MediaHTTPConnection" into pi-dev

6 years agoMerge "Add __INTRODUCED_IN annotations to <amidi/midi.h>."
TreeHugger Robot [Wed, 20 Jun 2018 22:04:15 +0000 (22:04 +0000)]
Merge "Add __INTRODUCED_IN annotations to <amidi/midi.h>."

6 years agoDon't throw uri exceptions for user chosen sounds am: 89945c5a22
Julia Reynolds [Wed, 20 Jun 2018 21:51:58 +0000 (14:51 -0700)]
Don't throw uri exceptions for user chosen sounds am: 89945c5a22
am: e6ac04e010

Change-Id: I33121d159de05e7b7d7d2cfbb4f5307874c18993

6 years agoMore light grey APIs.
Nicolas Geoffray [Wed, 13 Jun 2018 20:22:06 +0000 (21:22 +0100)]
More light grey APIs.

bug: 110157261
bug: 110065832
bug: 110179435
bug: 110174713
bug: 110191494
bug: 110282922
bug: 110289776
bug: 110314356
bug: 110340642
bug: 110382035
Bug: 110444248
Bug: 110447432
bug: 110378707

Test: m
Change-Id: I5d7c0f9d471eab22e23cc335f03cebecb642f871

6 years agoDon't throw uri exceptions for user chosen sounds
Julia Reynolds [Wed, 20 Jun 2018 21:16:31 +0000 (14:16 -0700)]
Don't throw uri exceptions for user chosen sounds
am: 89945c5a22

Change-Id: I727de67d610818b4dc29a685446d0a1e7c975518

6 years agoMerge "BootParameters: Use proto for disk io."
Mickey Keeley [Wed, 20 Jun 2018 20:27:49 +0000 (20:27 +0000)]
Merge "BootParameters: Use proto for disk io."

6 years agoMerge "Show escape toast when swipe up or quick scrub while pinned"
TreeHugger Robot [Wed, 20 Jun 2018 20:26:40 +0000 (20:26 +0000)]
Merge "Show escape toast when swipe up or quick scrub while pinned"

6 years agoMerge "Do not restart tethering while enabling tethering."
TreeHugger Robot [Wed, 20 Jun 2018 20:17:42 +0000 (20:17 +0000)]
Merge "Do not restart tethering while enabling tethering."

6 years agoMerge "Link Speed Metrics Proto"
TreeHugger Robot [Wed, 20 Jun 2018 19:28:39 +0000 (19:28 +0000)]
Merge "Link Speed Metrics Proto"

6 years ago[automerger skipped] Merge "Clean up old Context references in ImsConfig" am: a54d5e3...
Brad Ebinger [Wed, 20 Jun 2018 19:05:02 +0000 (12:05 -0700)]
[automerger skipped] Merge "Clean up old Context references in ImsConfig" am: a54d5e31e3  -s ours am: cacc29957a  -s ours
am: 263d0c089a  -s ours

Change-Id: Ied6609e72e93fadb2696fb333cf3668ef3afff7e

6 years ago[automerger skipped] Merge "Clean up old Context references in ImsConfig" am: a54d5e3...
Brad Ebinger [Wed, 20 Jun 2018 18:48:48 +0000 (11:48 -0700)]
[automerger skipped] Merge "Clean up old Context references in ImsConfig" am: a54d5e31e3  -s ours
am: cacc29957a  -s ours

Change-Id: I312b17cfe872dc4888ecb7b66d7430783123dd91

6 years agoMerge "Ensure QQS does not clip tile views."
TreeHugger Robot [Wed, 20 Jun 2018 18:09:52 +0000 (18:09 +0000)]
Merge "Ensure QQS does not clip tile views."

6 years agoMerge "Wifi Usability Metrics Proto Update"
TreeHugger Robot [Wed, 20 Jun 2018 18:03:16 +0000 (18:03 +0000)]
Merge "Wifi Usability Metrics Proto Update"

6 years agoMerge "Add dpm force-network-logs command to force network logs retrieval."
TreeHugger Robot [Wed, 20 Jun 2018 17:56:49 +0000 (17:56 +0000)]
Merge "Add dpm force-network-logs command to force network logs retrieval."

6 years agoMerge "Add feature flag for dynamic home page development."
TreeHugger Robot [Wed, 20 Jun 2018 17:45:30 +0000 (17:45 +0000)]
Merge "Add feature flag for dynamic home page development."

6 years ago[automerger skipped] Merge "Clean up old Context references in ImsConfig"
Brad Ebinger [Wed, 20 Jun 2018 17:45:28 +0000 (10:45 -0700)]
[automerger skipped] Merge "Clean up old Context references in ImsConfig"
am: a54d5e31e3  -s ours

Change-Id: Iab246476747293816b72ef6755ce2c875638179f

6 years agoBootParameters: Use proto for disk io.
Mickey Keeley [Wed, 30 May 2018 00:43:22 +0000 (17:43 -0700)]
BootParameters: Use proto for disk io.

Use proto for disk usage.

Bug: 79932027
Test: Ran through the following scenarios-
- RebootActivity parses previous boot parameters; sets next as expected.
- Push old parameters to device and ensured bootanimations reads it and
saves new format (serialized proto) that can be read in userspace
(RebootActivity).
- Unit tests pass.

Change-Id: I98aefb7a832c985d5061ee80ab85a4523f067641

6 years agoDon't throw uri exceptions for user chosen sounds
Julia Reynolds [Wed, 13 Jun 2018 14:45:21 +0000 (10:45 -0400)]
Don't throw uri exceptions for user chosen sounds

Bug: 109889733
Test: runtest systemui-notification
Change-Id: I5ed599deca83f97899affce44e3ed8fbcacae366
(cherry picked from commit 218871ee3ffffea964658be327ffd06e1e3eed61)

6 years agoMerge "Clean up old Context references in ImsConfig"
Brad Ebinger [Wed, 20 Jun 2018 16:43:58 +0000 (16:43 +0000)]
Merge "Clean up old Context references in ImsConfig"

6 years agoresolve merge conflicts am: 1382d8d50e
Beverly [Wed, 20 Jun 2018 16:08:43 +0000 (09:08 -0700)]
resolve merge conflicts am: 1382d8d50e
am: 2a26696351

Change-Id: I1839ccf3a2cd0fe1d6704994b49cfa36e392ba91

6 years agoresolve merge conflicts
Beverly [Wed, 20 Jun 2018 15:51:48 +0000 (08:51 -0700)]
resolve merge conflicts
am: 1382d8d50e

Change-Id: I959a997d7ad57755421f90ee89cc2d7ba3cc7f0a

6 years agoUpdate docs and ensure PHONE_STATE is more predictable for unknown numbers.
Tyler Gunn [Tue, 19 Jun 2018 16:55:43 +0000 (09:55 -0700)]
Update docs and ensure PHONE_STATE is more predictable for unknown numbers.

In P the PHONE_STATE broadcast behavior changed due to new permission
requirements.  Updating the API docs for this broadcast to make it more
clear to developers how the broadcast will work given different permission
scenarios.

Also, made a minor change to how the "EXTRA_INCOMING_NUMBER" is populated
on the phone state broadcast.  Originally we opted to remove
EXTRA_INCOMING_NUMBER when the number is empty.  Developer feedback reveals
it is difficult to know for an unknown caller (where numer is empty)
whether the broadcast they're receiving is the one associated with the
broadcast for receivers with READ_CALL_LOG, or the one for receivers
without it.  This minor change eliminates the need to count broadcasts and
instead allows the developer to just focus on whether the extra is present
or not.

Test: make docs and verify the javadoc appears as expected.
Test: Used test app to confirm functionality.
Bug: 110190165
Change-Id: I35967d53274b99d66b63f4ff5acb60a689745f9d

6 years agoAdd dpm force-network-logs command to force network logs retrieval.
Irina Dumitrescu [Fri, 8 Jun 2018 13:51:12 +0000 (14:51 +0100)]
Add dpm force-network-logs command to force network logs retrieval.

This is useful because logs are batched every 1.5-2hrs if there are
not enough logs to fill up a batch. The command is throttled at
10 seconds as a spam prevention measure.

Bug: 62251154
Test: in adb shell run dpm force-network-logs. Observe a new batch
being created in the phone directory
/storage/emulated/0/Android/data/com.afwsamples.testdpc/files/. Also
observe a fresh batch is being displayed on the phone in the TestDPC
app, under "Retrieve network logs".
Change-Id: I5ff9d5c78497ea81533b5248816b4d6e160d338f

6 years agoFix race condition in MediaHTTPConnection
Marco Nelissen [Tue, 19 Jun 2018 19:38:23 +0000 (12:38 -0700)]
Fix race condition in MediaHTTPConnection

getSize() and getMIMEType() rely on seekTo() having completed.
If seekTo() was called on a different thread, for example because
NuCachedSource2 was doing reads on a background thread, getSize()
could return -1 if it was called after connection was established,
but before the response had been parsed.

Bug: 110230427
Test: manual
Change-Id: I469b47e025f1c7a7ef3123d3347668f0541e6f2d

6 years agoresolve merge conflicts
Beverly [Wed, 20 Jun 2018 13:25:51 +0000 (09:25 -0400)]
resolve merge conflicts

resolve merge conflicts of d9b0bdcbc41e9e57a2fea5424a580c52272852cd
to stage-aosp-master

Bug: none
Test: n/a
Change-Id: I97a0b4dd0736561e5575b1344f37a25847e4703e

6 years agoFix issue with manual touch dispatch
Jorim Jaggi [Tue, 19 Jun 2018 15:27:08 +0000 (17:27 +0200)]
Fix issue with manual touch dispatch

Need to dispatch it to the view that guards against the disabled
flags.

Change-Id: I0082ef24ed6aa06631f475cc33a0cf3f5f138911
Merged-In: I0082ef24ed6aa06631f475cc33a0cf3f5f138911
Fixes: 110228458
Test: Expand above notch from SUW

6 years agoFix issue with manual touch dispatch
Jorim Jaggi [Tue, 19 Jun 2018 15:27:08 +0000 (17:27 +0200)]
Fix issue with manual touch dispatch

Need to dispatch it to the view that guards against the disabled
flags.

Change-Id: I0082ef24ed6aa06631f475cc33a0cf3f5f138911
Fixes: 110228458
Test: Expand above notch from SUW

6 years agoMerge changes I9f324a94,Ic3521f36
Julia Reynolds [Wed, 20 Jun 2018 12:59:50 +0000 (12:59 +0000)]
Merge changes I9f324a94,Ic3521f36

* changes:
  Remove managed profile toast
  Log notification interruptions to TRON

6 years agoMerge "Clean up RemoteCallbackList when we're done with it." into pi-dev am: bbe6ee065d
Martijn Coenen [Wed, 20 Jun 2018 09:30:31 +0000 (02:30 -0700)]
Merge "Clean up RemoteCallbackList when we're done with it." into pi-dev am: bbe6ee065d
am: c549c7e7b4

Change-Id: I7ec7e84936023149cee82190b3213a4838604080

6 years agoMerge "Clean up RemoteCallbackList when we're done with it." into pi-dev
Martijn Coenen [Wed, 20 Jun 2018 08:55:02 +0000 (01:55 -0700)]
Merge "Clean up RemoteCallbackList when we're done with it." into pi-dev
am: bbe6ee065d

Change-Id: Ic7bd40f2a1fe95eae275dbd0580d7acd283ffca7

6 years agoMerge "Prefer default Internet network for upstream tethering." into pi-dev am: 1e163...
Erik Kline [Wed, 20 Jun 2018 08:32:10 +0000 (01:32 -0700)]
Merge "Prefer default Internet network for upstream tethering." into pi-dev am: 1e1635a45e
am: a2dd9f8578

Change-Id: Icac3e5e20e99093ddb85aae1ca07ed7b5cf309fd

6 years agoMerge "Prefer default Internet network for upstream tethering." into pi-dev
Erik Kline [Wed, 20 Jun 2018 08:14:14 +0000 (01:14 -0700)]
Merge "Prefer default Internet network for upstream tethering." into pi-dev
am: 1e1635a45e

Change-Id: I9cddf1fb7aa3b8d56bf048c563556244e74808c2

6 years agoMerge "Clean up RemoteCallbackList when we're done with it." into pi-dev
TreeHugger Robot [Wed, 20 Jun 2018 07:47:35 +0000 (07:47 +0000)]
Merge "Clean up RemoteCallbackList when we're done with it." into pi-dev

6 years agoMake sure mFlags is synced properly in WindowConfiguration
Kazuki Takise [Tue, 19 Jun 2018 04:55:23 +0000 (13:55 +0900)]
Make sure mFlags is synced properly in WindowConfiguration

The previous logic doesn't have the logic to distinguish "off" and
"undefined" for mFlags. This CL solves this issue by introducing
a variable dedicated to always on top. See b/110383970 for more
background.

Bug: 110383970
Test: atest WindowConfigurationTests
Test: go/wm-smoke
Change-Id: Ia4fe8f43e5f6d65d68b1257951b1770a49af35bc

6 years agoAdd feature flag for dynamic home page development.
Raff Tsai [Wed, 20 Jun 2018 05:48:03 +0000 (13:48 +0800)]
Add feature flag for dynamic home page development.

    Test: rebuild

Change-Id: Ifddd500b008725e01746e3ed82548bd8bc0472e9

6 years agoMerge "Ensure consistent attach/detach callback on transient view"
Riddle Hsu [Wed, 20 Jun 2018 05:11:23 +0000 (05:11 +0000)]
Merge "Ensure consistent attach/detach callback on transient view"

6 years agoEnsure consistent attach/detach callback on transient view
Riddle Hsu [Fri, 8 Jun 2018 07:54:08 +0000 (15:54 +0800)]
Ensure consistent attach/detach callback on transient view

- Not allow to add as transient view if it still has a parent.
  (The normal usage of addTransientView should be after removeView)
- If a view container is not attached, its transient view should
  not be attached.
- If a transient view is already detached from parent, no need
  to detach again when removing the transient view.

Bug: 109814657
Test: atest FrameworksCoreTests:ViewGroupTransientViewTest
Change-Id: I243cc292e4aaba987d48eeb202559de866a8c208

6 years agoMerge "3/n: Add face HIDL to build"
Kevin Chyn [Wed, 20 Jun 2018 04:53:01 +0000 (04:53 +0000)]
Merge "3/n: Add face HIDL to build"

6 years agoMerge "Prefer default Internet network for upstream tethering." into pi-dev
TreeHugger Robot [Wed, 20 Jun 2018 04:28:50 +0000 (04:28 +0000)]
Merge "Prefer default Internet network for upstream tethering." into pi-dev

6 years agoDefine a permission to read emergency info name
Billy Chi [Tue, 22 May 2018 10:09:39 +0000 (18:09 +0800)]
Define a permission to read emergency info name

Define com.android.emergency.permission.READ_EMERGENCY_INFO_NAME permission for an application to read emergency info name.

Test: Build pass.
Bug: 80406149
Change-Id: I85ec6cc857efcc06e95dac53ab293798f97e4e4f

6 years agoMerge "Get mime type from getDocumentType instead of from file name"
Arthur Hung [Wed, 20 Jun 2018 03:57:50 +0000 (03:57 +0000)]
Merge "Get mime type from getDocumentType instead of from file name"

6 years agoMerge changes from topic "biometric-refactor"
Kevin Chyn [Wed, 20 Jun 2018 03:47:53 +0000 (03:47 +0000)]
Merge changes from topic "biometric-refactor"

* changes:
  2/n: Refactor out common BiometricService code
  1/n: Move fingerprint-service related code to biometrics/fingerprint

6 years agoMerge "Only enable setAntiBurnInOffsetX() in AOD(Ambient) condition"
Wu Ahan [Wed, 20 Jun 2018 03:12:32 +0000 (03:12 +0000)]
Merge "Only enable setAntiBurnInOffsetX() in AOD(Ambient) condition"

6 years ago3/n: Add face HIDL to build
Kevin Chyn [Fri, 15 Jun 2018 19:12:18 +0000 (12:12 -0700)]
3/n: Add face HIDL to build

Test: builds

Bug: 110385761
Change-Id: Id2345eb934158cdf2d1dc8ee32ba9e9a595a54a1

6 years agoMerge "MediaPlayer2: rename MediaPlayer2EventCallback to EventCallback"
TreeHugger Robot [Wed, 20 Jun 2018 01:25:14 +0000 (01:25 +0000)]
Merge "MediaPlayer2: rename MediaPlayer2EventCallback to EventCallback"

6 years agoMerge "Set mShowing to false after the dialog dismissed"
TreeHugger Robot [Wed, 20 Jun 2018 00:47:31 +0000 (00:47 +0000)]
Merge "Set mShowing to false after the dialog dismissed"

6 years ago2/n: Refactor out common BiometricService code
Kevin Chyn [Tue, 12 Jun 2018 02:17:32 +0000 (19:17 -0700)]
2/n: Refactor out common BiometricService code

Bug: 109900227

Test: fingerprint enrolls (up to 5)
Test: fingerprint authenticates in Settings/Keyguard
Test: removing fingerprints one by one works
Test: removing all fingerprints works
Test: enumerate works (update fingerprintutils to not store in framework)
      "extra fingerprint in hw" situation
Test: enumerate works (update fingerprintutils to store extra in framework)
      "extra fingerprint in framework" situation
Test: launch FP settings, lock screen, auth twice, repeat many times
Test: multi-user - fp for one user does not work for another
Test: multi-user - fp for secondary user works
Test: lockout reset works, per-user
Test: adb shell dumpsys fingerprint
Test: test app works
Test: test app gets automatically canceled when losing foreground
Test: test app without fingerprint/biometric permission is not allowed
Test: manually inspected that each incoming binder call does the heavy
      work on a handler
Test: log tags are per specific biometric for easier log tracking

Change-Id: Id9812e290e6a8098f73cd9902eaca43c02685990

6 years agoAudioManager: javadoc update for volume methods
Jean-Michel Trivi [Wed, 20 Jun 2018 00:17:57 +0000 (17:17 -0700)]
AudioManager: javadoc update for volume methods

Update the javadoc of setStreamVolume and adjustStreamVolume methods
  to document when they can throw a SecurityException.

Bug: 74121980
Test: make offline-sdk-docs
Change-Id: Ie5deba1261b11c80c4181e93c2c1ff75aeb1ecd4

6 years agoMerge "Fix QS scrolling for RTL languages."
TreeHugger Robot [Tue, 19 Jun 2018 23:59:19 +0000 (23:59 +0000)]
Merge "Fix QS scrolling for RTL languages."

6 years ago[automerger skipped] Merge "Revert isResolvingImsBinding ITelephony interface" into...
Brad Ebinger [Tue, 19 Jun 2018 23:24:55 +0000 (16:24 -0700)]
[automerger skipped] Merge "Revert isResolvingImsBinding ITelephony interface" into pi-dev am: 4cc443ae2e
am: 0418143f6d  -s ours

Change-Id: I64aef176a377eea254cb5e2f3110ee7d70131cd8

6 years agoMerge "Revert isResolvingImsBinding ITelephony interface" into pi-dev
Brad Ebinger [Tue, 19 Jun 2018 23:13:53 +0000 (16:13 -0700)]
Merge "Revert isResolvingImsBinding ITelephony interface" into pi-dev
am: 4cc443ae2e

Change-Id: I9c8cc1c4401590865f33fa13402152287063cecf

6 years agoMerge "Allow permissions to have background permissions"
TreeHugger Robot [Tue, 19 Jun 2018 23:09:43 +0000 (23:09 +0000)]
Merge "Allow permissions to have background permissions"

6 years ago1/n: Move fingerprint-service related code to biometrics/fingerprint
Kevin Chyn [Mon, 11 Jun 2018 18:58:15 +0000 (11:58 -0700)]
1/n: Move fingerprint-service related code to biometrics/fingerprint

Bug: 109900227

Test: builds
Change-Id: I973c816d75c48ed838c1638c45d728b9df4d11ef

6 years agoMerge "Use a theme for screen pinning to set recents vector drawable tint"
TreeHugger Robot [Tue, 19 Jun 2018 22:40:42 +0000 (22:40 +0000)]
Merge "Use a theme for screen pinning to set recents vector drawable tint"

6 years agoMerge "Revert isResolvingImsBinding ITelephony interface" into pi-dev
Brad Ebinger [Tue, 19 Jun 2018 22:36:52 +0000 (22:36 +0000)]
Merge "Revert isResolvingImsBinding ITelephony interface" into pi-dev

6 years agoMerge changes from topic "am-a48c7bdc-4e3f-4c6c-9a3b-656b6299aea6"
TreeHugger Robot [Tue, 19 Jun 2018 22:35:10 +0000 (22:35 +0000)]
Merge changes from topic "am-a48c7bdc-4e3f-4c6c-9a3b-656b6299aea6"

* changes:
  [automerger] Add documentation for additional flag to disable Home. am: 8f36f14e16
  Add documentation for additional flag to disable Home.

6 years agoMerge "Allow apps to queue multiple toast messages."
Treehugger Robot [Tue, 19 Jun 2018 22:20:24 +0000 (22:20 +0000)]
Merge "Allow apps to queue multiple toast messages."

6 years agoSet mShowing to false after the dialog dismissed
Lin Guo [Fri, 8 Jun 2018 22:15:48 +0000 (15:15 -0700)]
Set mShowing to false after the dialog dismissed

And make sure all the show/dismiss events are in a sequence.

BUG: 109936524
Test: manual
Change-Id: I1c20cb1cfb84c97fb386857680399cd74ed063f9
(cherry picked from commit fdc4cab04e56c3813ded8f362cd4a3603d92a7f5)