OSDN Git Service

android-x86/frameworks-base.git
6 years agoUse config_longPressVibePattern as heavy click fallback.
Michael Wright [Mon, 16 Apr 2018 18:35:13 +0000 (19:35 +0100)]
Use config_longPressVibePattern as heavy click fallback.

Rather than using the regular click effect as the fallback, use the long
press pattern since heavy click is the new effect for long press. This
also lets us distinguish the two effects in the configuration.

Bug: 77863933
Test: long-press on something, feel the effect
Change-Id: Ie22d064cbdd2d33702180cb528d743e75ff8ae63

6 years agoMerge "[QS] Add PageIndicator to footer" into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 01:28:06 +0000 (01:28 +0000)]
Merge "[QS] Add PageIndicator to footer" into pi-dev

6 years agoMerge "Only fade clock away at the top of the screen" into pi-dev
Lucas Dupin [Tue, 17 Apr 2018 00:14:22 +0000 (00:14 +0000)]
Merge "Only fade clock away at the top of the screen" into pi-dev

6 years agoMerge "Add 1-day sync stats in syncmanager dumpsys." into pi-dev
Makoto Onuki [Tue, 17 Apr 2018 00:11:25 +0000 (00:11 +0000)]
Merge "Add 1-day sync stats in syncmanager dumpsys." into pi-dev

6 years agoMerge "InstantAppRegistry: adjust backwards compat cookie sig check." into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 00:09:14 +0000 (00:09 +0000)]
Merge "InstantAppRegistry: adjust backwards compat cookie sig check." into pi-dev

6 years agoMerge "Add tracing for network statistics and policy." into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 00:08:41 +0000 (00:08 +0000)]
Merge "Add tracing for network statistics and policy." into pi-dev

6 years agoMerge "Protect usage data with OP_GET_USAGE_STATS." into pi-dev
Jeff Sharkey [Tue, 17 Apr 2018 00:04:53 +0000 (00:04 +0000)]
Merge "Protect usage data with OP_GET_USAGE_STATS." into pi-dev

6 years agoMerge "Fix UiccSlotInfo equals method." into pi-dev
TreeHugger Robot [Mon, 16 Apr 2018 23:56:06 +0000 (23:56 +0000)]
Merge "Fix UiccSlotInfo equals method." into pi-dev

6 years agoMerge "Treat named standby states as ceilings of behavioral categories" into pi-dev
TreeHugger Robot [Mon, 16 Apr 2018 23:48:41 +0000 (23:48 +0000)]
Merge "Treat named standby states as ceilings of behavioral categories" into pi-dev

6 years agoMerge "Remove setDeviceConnectionState hack for radio mute/unmute." into pi-dev
Tomasz Wasilczyk [Mon, 16 Apr 2018 23:37:10 +0000 (23:37 +0000)]
Merge "Remove setDeviceConnectionState hack for radio mute/unmute." into pi-dev

6 years agoMerge "Camera: Fix a description for MONOCHROME camera capability" into pi-dev
TreeHugger Robot [Mon, 16 Apr 2018 23:25:39 +0000 (23:25 +0000)]
Merge "Camera: Fix a description for MONOCHROME camera capability" into pi-dev

6 years agoMerge "Add permission whitelist for EmergencyInfo app." into pi-dev
Tyler Gunn [Mon, 16 Apr 2018 23:23:39 +0000 (23:23 +0000)]
Merge "Add permission whitelist for EmergencyInfo app." into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Mon, 16 Apr 2018 22:57:27 +0000 (22:57 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Adds a code when statsd sends intent to getData." into pi-dev
TreeHugger Robot [Mon, 16 Apr 2018 22:46:03 +0000 (22:46 +0000)]
Merge "Adds a code when statsd sends intent to getData." into pi-dev

6 years agoMerge "Add A2DP set/get active device to greylist" into pi-dev
TreeHugger Robot [Mon, 16 Apr 2018 22:41:38 +0000 (22:41 +0000)]
Merge "Add A2DP set/get active device to greylist" into pi-dev

6 years agoMerge "Replace PackageInfo#signingCertificateHistory field doc reference." into pi-dev
TreeHugger Robot [Mon, 16 Apr 2018 22:40:56 +0000 (22:40 +0000)]
Merge "Replace PackageInfo#signingCertificateHistory field doc reference." into pi-dev

6 years agoMerge "Dismiss low battery warning on toggling saver." into pi-dev
TreeHugger Robot [Mon, 16 Apr 2018 22:19:45 +0000 (22:19 +0000)]
Merge "Dismiss low battery warning on toggling saver." into pi-dev

6 years agoMerge "Remove implementation of deprecated RecoveryController methods." into pi-dev
TreeHugger Robot [Mon, 16 Apr 2018 22:14:22 +0000 (22:14 +0000)]
Merge "Remove implementation of deprecated RecoveryController methods." into pi-dev

6 years agoMerge "Remove streams from system_server" into pi-dev
Julia Reynolds [Mon, 16 Apr 2018 22:13:07 +0000 (22:13 +0000)]
Merge "Remove streams from system_server" into pi-dev

6 years agoMerge "Fix instant app badge" into pi-dev
TreeHugger Robot [Mon, 16 Apr 2018 22:08:33 +0000 (22:08 +0000)]
Merge "Fix instant app badge" into pi-dev

6 years agoAdd A2DP set/get active device to greylist
Pavlin Radoslavov [Mon, 16 Apr 2018 21:36:00 +0000 (14:36 -0700)]
Add A2DP set/get active device to greylist

Bug: 74238896
Bug: 78132844
Test: compile
Change-Id: If20ed03e6f579f06856e3e9cb6d4882313bfdc1b

6 years agoMerge "Remove unnecessary disk access when loading synthetic password states" into...
Rubin Xu [Mon, 16 Apr 2018 21:58:33 +0000 (21:58 +0000)]
Merge "Remove unnecessary disk access when loading synthetic password states" into pi-dev

6 years agoReplace PackageInfo#signingCertificateHistory field doc reference.
Dan Cashman [Mon, 16 Apr 2018 21:41:24 +0000 (14:41 -0700)]
Replace PackageInfo#signingCertificateHistory field doc reference.

During API review, PackageInfo#signingCertificateHistory was changed
to PackageInfo#signingInfo.  This was not reflected everywhere in
the documentation.  Update it.

Bug: 74831530
Test: Doc change only, builds.
Change-Id: I497cdd732dffacf376ac05f7ccd181004c947210

6 years agoMerge "Use OS package name when identity cleared." into pi-dev
TreeHugger Robot [Mon, 16 Apr 2018 21:43:58 +0000 (21:43 +0000)]
Merge "Use OS package name when identity cleared." into pi-dev

6 years agoMerge "Allow left-right swiping from edges in QS." into pi-dev
TreeHugger Robot [Mon, 16 Apr 2018 21:22:55 +0000 (21:22 +0000)]
Merge "Allow left-right swiping from edges in QS." into pi-dev

6 years agoMerge "Always show or hide volume dialog" into pi-dev
TreeHugger Robot [Mon, 16 Apr 2018 21:19:15 +0000 (21:19 +0000)]
Merge "Always show or hide volume dialog" into pi-dev

6 years agoInstantAppRegistry: adjust backwards compat cookie sig check.
Dan Cashman [Mon, 16 Apr 2018 21:18:48 +0000 (14:18 -0700)]
InstantAppRegistry: adjust backwards compat cookie sig check.

InstantAppRegistry used to store cookies based on the hash of only
one of the signing certificates out of potentially multiple signing
certificates.  To prevent loss of stored cookie info for an app which
has multiple signing certificates, it needs to check if the stored hash
value corresponded to only one of those certs before this was corrected.
Since the order of signing certificates is not specified, all cert hashes
should be compared to see if one of them matches the stored value.

Bug: 73739156
Test: android.appsecurity.cts.InstantCookieHostTest#testCookieValidWhenSingedWithTwoCerts
Change-Id: I2d616ca7ba60104f0b009d23e8eb4e7f525362fd

6 years agoMerge "Fix typos." into pi-dev
Jiuyu Sun [Mon, 16 Apr 2018 20:48:52 +0000 (20:48 +0000)]
Merge "Fix typos." into pi-dev

6 years agoMerge changes from topic "am-281eb700-c15a-44d3-a49f-153f9323e62a" into oc-dev am...
Bill Yi [Mon, 16 Apr 2018 20:47:20 +0000 (13:47 -0700)]
Merge changes from topic "am-281eb700-c15a-44d3-a49f-153f9323e62a" into oc-dev am: 231719b4d2 am: 60fb81edda
am: f84cc88320

Change-Id: I6cd93c965df3aa652a1b669df2a88acd3a6c4e24

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: c425155ab8 skipped...
Bill Yi [Mon, 16 Apr 2018 20:42:12 +0000 (13:42 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped: c425155ab8 skipped: b230479553 am: fde5e09eeb  -s ours am: 490f12c8c1  -s ours
am: 0af21ab046  -s ours

Change-Id: If9dff24f3fff2a9916d74874e2bc682b5a037c8d

6 years ago[automerger skipped] [automerger] Import translations. DO NOT MERGE am: ba2da34cdf...
Bill Yi [Mon, 16 Apr 2018 20:27:02 +0000 (13:27 -0700)]
[automerger skipped] [automerger] Import translations. DO NOT MERGE am: ba2da34cdf skipped: 9812374054 am: bfcb8b99a5  -s ours am: f62419973f  -s ours
am: d9352518aa  -s ours

Change-Id: Idc313d4c705d68edb65c057dfc5eb6e8e9efa80e

6 years ago[automerger skipped] [automerger] Import translations. DO NOT MERGE am: aaf2bd3c6d...
Bill Yi [Mon, 16 Apr 2018 20:24:55 +0000 (13:24 -0700)]
[automerger skipped] [automerger] Import translations. DO NOT MERGE am: aaf2bd3c6d skipped: 8383370425 am: cb80417eab  -s ours am: 3194fdd40a  -s ours
am: 923f65751a  -s ours

Change-Id: I8b64a8fbbbcd92a6a949bcae98b44f37c0a4e09c

6 years ago[automerger skipped] [automerger] Import translations. DO NOT MERGE am: c7fe3a5972...
Bill Yi [Mon, 16 Apr 2018 20:23:17 +0000 (13:23 -0700)]
[automerger skipped] [automerger] Import translations. DO NOT MERGE am: c7fe3a5972 skipped: 9a64c59288 am: 67841fe1e6  -s ours am: 97ddc81da4  -s ours
am: 3b3379f16a  -s ours

Change-Id: I24f1dae0a8fc333cd2668f1085a81c1755a37707

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: 9b8bceedc2 skipped...
Bill Yi [Mon, 16 Apr 2018 20:21:23 +0000 (13:21 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped: 9b8bceedc2 skipped: 1789ac6b28 am: d12aff917a  -s ours am: 06e9f9dad5  -s ours
am: 06ce4b2618  -s ours

Change-Id: I21bade1db7ee51f5ccbdd4afd08f3399c2e886e7

6 years agoMerge changes from topic "ClearGrantIfGroupChanged-nyc" into oc-dev am: 6173fbe12e...
Philip P. Moltmann [Mon, 16 Apr 2018 20:19:04 +0000 (13:19 -0700)]
Merge changes from topic "ClearGrantIfGroupChanged-nyc" into oc-dev am: 6173fbe12e am: 6a845fe056
am: 1d9e95553b

Change-Id: Icb9e0c7261da6147d7d70be9f243fb387799c58f

6 years agoFix UiccSlotInfo equals method.
Malcolm Chen [Sat, 14 Apr 2018 02:33:08 +0000 (19:33 -0700)]
Fix UiccSlotInfo equals method.

In UiccSlotInfo#equals method, it's comparing Strings incorrectly.

Bug: 78033760
Test: GTS test
Change-Id: I4fed0a70ee0ef06bcf7a1af544e6aebced31d9c2

6 years ago[automerger skipped] [automerger] DO NOT MERGE (M) Revoke permision when group change...
Philip P. Moltmann [Mon, 16 Apr 2018 19:50:03 +0000 (12:50 -0700)]
[automerger skipped] [automerger] DO NOT MERGE (M) Revoke permision when group changed am: d87a1a7d53 am: 5630564178 am: 90cb8f7b6e skipped: 275e6bf1b4 am: 1bbc69d8f5 am: 8dbf706e9f am: 874fe98a8f am: 9b71a72cb0 skipped: f1776f0805 am: 877a845005 am: 885bcab242
am: c201aff50a  -s ours

Change-Id: Ie8b5e0cabb3abfa917653993f1010b3c5db7e5af

6 years agoTreat named standby states as ceilings of behavioral categories
Christopher Tate [Tue, 27 Mar 2018 23:04:14 +0000 (16:04 -0700)]
Treat named standby states as ceilings of behavioral categories

For purposes of alarm dispatch & job execution, intermediate standby
states are now treated as the ceilings of the range associated with each
bucket, rather than as the floor.  So, for example, a value that is
between STANDBY_BUCKET_WORKING_SET and STANDBY_BUCKET_ACTIVE is now
treated as equivalent to STANDBY_BUCKET_WORKING_SET.

Bug: 77154340
Test: atest CtsJobSchedulerTestCases
Change-Id: I84d010863eecaac011dd117205980254487bfa64

6 years agoAdd tracing for network statistics and policy.
Jeff Sharkey [Thu, 12 Apr 2018 20:26:32 +0000 (14:26 -0600)]
Add tracing for network statistics and policy.

These trace points surround areas of heavy lifting to help us debug
code that might be taking longer than expected.  (For example, slow
getting data from eBPF, slow recording into data structures, slow
writing to disk, or slow evaluating policy.)

Typical timings on a taimen:

performPollLocked:   25.5ms
snapshotUid:          4.4ms
snapshotXt:           1.4ms
[persisting]:        13.4ms
updateNotifications:  3.3ms

Bug: 77908520778085467785323877154412
Test: builds, boots
Change-Id: I072bfecffee01eeec7e4cbad439bd1cdc166febc

6 years agoMerge "Revert "AAPT: Modified StringPool uniqueness detection"" into pi-dev
Ryan Mitchell [Mon, 16 Apr 2018 19:28:43 +0000 (19:28 +0000)]
Merge "Revert "AAPT: Modified StringPool uniqueness detection"" into pi-dev

6 years agoMerge "Enable feature flag for audio output switcher." into pi-dev
Caxton Chan [Mon, 16 Apr 2018 19:24:31 +0000 (19:24 +0000)]
Merge "Enable feature flag for audio output switcher." into pi-dev

6 years agoAdd 1-day sync stats in syncmanager dumpsys.
Makoto Onuki [Wed, 11 Apr 2018 23:24:46 +0000 (16:24 -0700)]
Add 1-day sync stats in syncmanager dumpsys.

The stats currently shown in sync manager dumpsys is the total *since wipe* so
they're usually pretty much useless.

So let's add "today" and "yesterday" stats too.

- Also add "# failures" and "# cancels".
- Also split up SERVER to OTHER and FEED (i.e. subscribedfeeds).

Bug: 76035392
Test: Boot, run some sync, then do "cmd content reset-today-stats"
- Also tested with actually setting the clock to 23:59 and wait
- Check the result with "dumpsys content".

Sample output:
=======================================================================
Authority                                           Syncable  Enabled  Stats  Loc  Poll  Per  Feed  User  Othr  Tot  Fail  Can  Time  Last Sync            Backoff
------------------------------------------------------------------------------------------------------------------------------------------------------------------
com.android.calendar                                1         true     Total  0    0     0    1     0     7     8    0     2    8s    FEED SUCCESS
                                                                       Today                  1           5     6               7s    2018-04-12 15:21:24
                                                                       Yestr                                                    0s
com.android.chrome                                  0         false    Total  0    0     0    0     0     0     0    0     0    0s
                                                                       Today                                                    0s

Change-Id: Id0ea42435a9f759e47d4b9490292759270f8e9a5

6 years agoCamera: Fix a description for MONOCHROME camera capability
Hidenari Koshimae [Wed, 11 Apr 2018 09:37:44 +0000 (18:37 +0900)]
Camera: Fix a description for MONOCHROME camera capability

Test: Compile
Bug: 77902724
Change-Id: Ibb6a1d4b5f80a0c4d0e3f29625b03a827a3ed80c

6 years agoMerge changes from topic "am-281eb700-c15a-44d3-a49f-153f9323e62a" into oc-dev am...
Bill Yi [Mon, 16 Apr 2018 19:20:42 +0000 (12:20 -0700)]
Merge changes from topic "am-281eb700-c15a-44d3-a49f-153f9323e62a" into oc-dev am: 231719b4d2
am: 60fb81edda

Change-Id: I5933e96aa34fc6aff073513bdb0400fd02796e62

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: c425155ab8 skipped...
Bill Yi [Mon, 16 Apr 2018 19:16:09 +0000 (12:16 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped: c425155ab8 skipped: b230479553 am: fde5e09eeb  -s ours
am: 490f12c8c1  -s ours

Change-Id: I5c1579d596c4f444ebee20cf217c3e4872182d0c

6 years ago[automerger skipped] [automerger] Import translations. DO NOT MERGE am: ba2da34cdf...
Bill Yi [Mon, 16 Apr 2018 19:14:27 +0000 (12:14 -0700)]
[automerger skipped] [automerger] Import translations. DO NOT MERGE am: ba2da34cdf skipped: 9812374054 am: bfcb8b99a5  -s ours
am: f62419973f  -s ours

Change-Id: I37dbec1d64219b2c2b57da0535364606b527f3f3

6 years agoMerge changes from topic "am-281eb700-c15a-44d3-a49f-153f9323e62a" into oc-dev
Bill Yi [Mon, 16 Apr 2018 19:01:52 +0000 (12:01 -0700)]
Merge changes from topic "am-281eb700-c15a-44d3-a49f-153f9323e62a" into oc-dev
am: 231719b4d2

Change-Id: I5186692869d8849e0abc8d60f97970ce07e273aa

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: c425155ab8 skipped...
Bill Yi [Mon, 16 Apr 2018 19:00:03 +0000 (12:00 -0700)]
[automerger skipped] Import translations. DO NOT MERGE skipped: c425155ab8 skipped: b230479553
am: fde5e09eeb  -s ours

Change-Id: Ife2f1cabaad48b2b89dfe46c6de4f1cfa18c27cc

6 years ago[automerger skipped] [automerger] Import translations. DO NOT MERGE am: aaf2bd3c6d...
Bill Yi [Mon, 16 Apr 2018 18:58:54 +0000 (11:58 -0700)]
[automerger skipped] [automerger] Import translations. DO NOT MERGE am: aaf2bd3c6d skipped: 8383370425 am: cb80417eab  -s ours
am: 3194fdd40a  -s ours

Change-Id: I67f37180a53bdd87975f458ce68ae75890ebec29

6 years ago[automerger skipped] [automerger] Import translations. DO NOT MERGE am: ba2da34cdf...
Bill Yi [Mon, 16 Apr 2018 18:56:07 +0000 (11:56 -0700)]
[automerger skipped] [automerger] Import translations. DO NOT MERGE am: ba2da34cdf skipped: 9812374054
am: bfcb8b99a5  -s ours

Change-Id: I9573bb5fb938d29fbd40c94bb36203607bacdfee

6 years agoRemove setDeviceConnectionState hack for radio mute/unmute.
Tomasz Wasilczyk [Fri, 13 Apr 2018 18:41:22 +0000 (11:41 -0700)]
Remove setDeviceConnectionState hack for radio mute/unmute.

Bug: 77863406
Test: it builds, it didn't work anyway
Change-Id: Ib77d34d4c425e341faa52c6e99f7e289be04f433

6 years ago[automerger skipped] [automerger] Import translations. DO NOT MERGE am: c7fe3a5972...
Bill Yi [Mon, 16 Apr 2018 18:55:52 +0000 (11:55 -0700)]
[automerger skipped] [automerger] Import translations. DO NOT MERGE am: c7fe3a5972 skipped: 9a64c59288 am: 67841fe1e6  -s ours
am: 97ddc81da4  -s ours

Change-Id: I0a2be41354fd01b370c95f0f77d67c878bb84d55

6 years ago[automerger skipped] Merge "DO NOT MERGE (O) Revoke permision when group changed...
Philip P. Moltmann [Mon, 16 Apr 2018 18:55:42 +0000 (11:55 -0700)]
[automerger skipped] Merge "DO NOT MERGE (O) Revoke permision when group changed" into oc-dev am: cda08919cf am: d139755de8
am: 5e2a5a8ce1  -s ours

Change-Id: I665c1f65a60926a70627db83da5c2c6f3e4f09c8

6 years ago[automerger skipped] [automerger] Import translations. DO NOT MERGE am: aaf2bd3c6d...
Bill Yi [Mon, 16 Apr 2018 18:52:51 +0000 (11:52 -0700)]
[automerger skipped] [automerger] Import translations. DO NOT MERGE am: aaf2bd3c6d skipped: 8383370425
am: cb80417eab  -s ours

Change-Id: I29e67171958497655f4d0374b2decbc1429135f7

6 years ago[automerger skipped] [automerger] Import translations. DO NOT MERGE am: c7fe3a5972...
Bill Yi [Mon, 16 Apr 2018 18:49:23 +0000 (11:49 -0700)]
[automerger skipped] [automerger] Import translations. DO NOT MERGE am: c7fe3a5972 skipped: 9a64c59288
am: 67841fe1e6  -s ours

Change-Id: Ic7684c0d86e85aaebfb4e459d4dbd57d0d67d3b9

6 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 16 Apr 2018 18:46:39 +0000 (11:46 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Iedb29c910eba362a7bbe038cd61fe98d8e1097a0

6 years agoProtect usage data with OP_GET_USAGE_STATS.
Jeff Sharkey [Mon, 16 Apr 2018 15:50:22 +0000 (09:50 -0600)]
Protect usage data with OP_GET_USAGE_STATS.

APIs that return package usage data (such as the new StatsManager)
must ensure that callers hold both the PACKAGE_USAGE_STATS permission
and the OP_GET_USAGE_STATS app-op.

Add noteOp() method that can be called from native code.

Also add missing security checks on command interface.

Bug: 7766290878121728
Test: builds, boots
Change-Id: Ie0d51e4baaacd9d7d36ba0c587ec91a870b9df17

6 years agoMerge changes from topic "am-281eb700-c15a-44d3-a49f-153f9323e62a" into oc-dev
Bill Yi [Mon, 16 Apr 2018 18:43:55 +0000 (18:43 +0000)]
Merge changes from topic "am-281eb700-c15a-44d3-a49f-153f9323e62a" into oc-dev

* changes:
  [automerger skipped] Import translations. DO NOT MERGE skipped: c425155ab8 skipped: b230479553
  [automerger skipped] Import translations. DO NOT MERGE skipped: c425155ab8
  Import translations. DO NOT MERGE

6 years ago[automerger] Import translations. DO NOT MERGE am: ba2da34cdf skipped: 9812374054
Android Build Merger (Role) [Mon, 16 Apr 2018 18:42:53 +0000 (18:42 +0000)]
[automerger] Import translations. DO NOT MERGE am: ba2da34cdf skipped: 9812374054

Change-Id: I7cb9fde2607bd5cf254218df7922c552f200d425

6 years ago[automerger] Import translations. DO NOT MERGE am: ba2da34cdf
Android Build Merger (Role) [Mon, 16 Apr 2018 18:42:48 +0000 (18:42 +0000)]
[automerger] Import translations. DO NOT MERGE am: ba2da34cdf

Change-Id: Ic48e117b51a8f0d3c2f9a45536b4f85f9100b43e

6 years ago[automerger] Import translations. DO NOT MERGE am: aaf2bd3c6d skipped: 8383370425
Android Build Merger (Role) [Mon, 16 Apr 2018 18:39:14 +0000 (18:39 +0000)]
[automerger] Import translations. DO NOT MERGE am: aaf2bd3c6d skipped: 8383370425

Change-Id: Id86be4edea769f62ae4dd3de5a21a6fe8471151d

6 years ago[automerger] Import translations. DO NOT MERGE am: aaf2bd3c6d
Android Build Merger (Role) [Mon, 16 Apr 2018 18:39:09 +0000 (18:39 +0000)]
[automerger] Import translations. DO NOT MERGE am: aaf2bd3c6d

Change-Id: I1a5a8473bb77a315ce84e2656e5640488ecb7881

6 years agoMerge "Add new function to get audio state" into pi-dev
TreeHugger Robot [Mon, 16 Apr 2018 18:34:37 +0000 (18:34 +0000)]
Merge "Add new function to get audio state" into pi-dev

6 years ago[automerger] Import translations. DO NOT MERGE am: c7fe3a5972 skipped: 9a64c59288
Android Build Merger (Role) [Mon, 16 Apr 2018 18:33:00 +0000 (18:33 +0000)]
[automerger] Import translations. DO NOT MERGE am: c7fe3a5972 skipped: 9a64c59288

Change-Id: Iaf447a22df4ace00079a63066b0dcadce145443b

6 years ago[automerger] Import translations. DO NOT MERGE am: c7fe3a5972
Android Build Merger (Role) [Mon, 16 Apr 2018 18:32:54 +0000 (18:32 +0000)]
[automerger] Import translations. DO NOT MERGE am: c7fe3a5972

Change-Id: I9ec7fb1d5c5657b8b4936303d39fbecff498eb46

6 years agoRevert "AAPT: Modified StringPool uniqueness detection"
Ryan Mitchell [Mon, 16 Apr 2018 18:21:14 +0000 (18:21 +0000)]
Revert "AAPT: Modified StringPool uniqueness detection"

This reverts commit 35ecb89a8aa68f24d2e991df5bb9964ad15075dc.

Reason for revert: <Long make duration (infinite loop)>

Change-Id: I10d1cf53ca3054d40e23b06368ebaff6af69beab

6 years agoDismiss low battery warning on toggling saver.
Amin Shaikh [Mon, 16 Apr 2018 18:00:09 +0000 (14:00 -0400)]
Dismiss low battery warning on toggling saver.

Change-Id: If6988a67ce0e97c2c9df93648169b9c9b85da7ce
Fixes: 66987022
Test: runtest systemui

6 years agoMerge "Update PackageManager.getInstalledPackages() docs" into pi-dev
Ricky Wai [Mon, 16 Apr 2018 18:19:00 +0000 (18:19 +0000)]
Merge "Update PackageManager.getInstalledPackages() docs" into pi-dev

6 years agoMerge "Add logging to ScheduleConditionProvider" into pi-dev
TreeHugger Robot [Mon, 16 Apr 2018 17:38:34 +0000 (17:38 +0000)]
Merge "Add logging to ScheduleConditionProvider" into pi-dev

6 years ago[automerger skipped] Import translations. DO NOT MERGE skipped: c425155ab8 skipped...
Android Build Merger (Role) [Mon, 16 Apr 2018 17:38:05 +0000 (17:38 +0000)]
[automerger skipped] Import translations. DO NOT MERGE skipped: c425155ab8 skipped: b230479553

Change-Id: Ia7cd12b4e564df81716a199c23e0566a7d263e32

6 years agoMerge "Remove temporary logging." into pi-dev
Bryce Lee [Mon, 16 Apr 2018 17:36:45 +0000 (17:36 +0000)]
Merge "Remove temporary logging." into pi-dev

6 years agoFix instant app badge
Tony Mak [Mon, 16 Apr 2018 17:28:32 +0000 (18:28 +0100)]
Fix instant app badge

Change-Id: I588cf3046f2056a2344cdc1c6fd43a6121fed5c8
Fixes: 74130192

6 years agoAllow left-right swiping from edges in QS.
Amin Shaikh [Mon, 16 Apr 2018 16:14:35 +0000 (12:14 -0400)]
Allow left-right swiping from edges in QS.

Apply notification side margins to all children in QSPanel except for
the tile layout. Update TileLayout to respect padding.

Change-Id: Ic6f8f2859d3a130fd4640ae915c9614240fd1c19
Fixes: 78108576
Test: visual

6 years agoRemove streams from system_server
Julia Reynolds [Mon, 16 Apr 2018 17:17:01 +0000 (13:17 -0400)]
Remove streams from system_server

Test: runtest systemui-notification
Change-Id: I9ceaabfe6ac5fd64a4f93ca6f4521b7caf0c222d
Fixes: 77972263

6 years agoMerge "AAPT: Modified StringPool uniqueness detection" into pi-dev
Ryan Mitchell [Mon, 16 Apr 2018 17:15:53 +0000 (17:15 +0000)]
Merge "AAPT: Modified StringPool uniqueness detection" into pi-dev

6 years agoMerge "Unpin bitmaps but don't purge all scratch resources." into pi-dev
TreeHugger Robot [Mon, 16 Apr 2018 17:05:45 +0000 (17:05 +0000)]
Merge "Unpin bitmaps but don't purge all scratch resources." into pi-dev

6 years agoAlways show or hide volume dialog
Julia Reynolds [Mon, 16 Apr 2018 17:01:49 +0000 (13:01 -0400)]
Always show or hide volume dialog

Test: manual
Change-Id: Iaed56922c64cd150fdd29f1c7169cef5480a48e7
Fixes: 73666639
Fixes: 77515223

6 years agoThe file CachedBluetoothDeviceManager.java performs synchronization
Isha Bobra [Thu, 5 Apr 2018 20:27:47 +0000 (13:27 -0700)]
The file CachedBluetoothDeviceManager.java performs synchronization
at class level. This CL just adds the missing synchronization bits.

Test: Manual
Change-Id: I71e0a194f8d126c2898a4086d6bcb62156cab9ad
Bug: 77849851

6 years agoMerge "Revert "Revert "OP_GET_USAGE_STATS should be noted, not checked.""" into pi-dev
Jeff Sharkey [Mon, 16 Apr 2018 16:54:32 +0000 (16:54 +0000)]
Merge "Revert "Revert "OP_GET_USAGE_STATS should be noted, not checked.""" into pi-dev

6 years agoMerge "Revert "ViewRoot: Ensure we release surface from setWindowStopped."" into...
TreeHugger Robot [Mon, 16 Apr 2018 16:50:48 +0000 (16:50 +0000)]
Merge "Revert "ViewRoot: Ensure we release surface from setWindowStopped."" into pi-dev

6 years agoRevert "Revert "OP_GET_USAGE_STATS should be noted, not checked.""
Jeff Sharkey [Mon, 16 Apr 2018 16:50:34 +0000 (16:50 +0000)]
Revert "Revert "OP_GET_USAGE_STATS should be noted, not checked.""

This reverts commit bd2a9a2915c17cbe2100d6d2077568d0936cd719.

Reason for revert: ijpedowitz@

Bug: 77662908
Change-Id: I596d330d64942105f447bb613012bb11e281a805
Exempt-From-Owner-Approval: keep tests passing

6 years agoMerge "Revert "OP_GET_USAGE_STATS should be noted, not checked."" into pi-dev
Jeff Sharkey [Mon, 16 Apr 2018 16:50:06 +0000 (16:50 +0000)]
Merge "Revert "OP_GET_USAGE_STATS should be noted, not checked."" into pi-dev

6 years agoMerge "Show only 1 entry for hearing aid device after killing the activity." into...
Isha Bobra [Mon, 16 Apr 2018 16:42:33 +0000 (16:42 +0000)]
Merge "Show only 1 entry for hearing aid device after killing the activity." into pi-dev

6 years agoRevert "OP_GET_USAGE_STATS should be noted, not checked."
Jeff Sharkey [Mon, 16 Apr 2018 16:39:55 +0000 (16:39 +0000)]
Revert "OP_GET_USAGE_STATS should be noted, not checked."

This reverts commit 5a8bcd90315c24e2f16176fd13922b2a92752cd5.

Reason for revert: ijpedowitz@

Bug: 77662908
Change-Id: I5dd0ad5038df90ea8a80ba6f583ee46fb24600c2
Exempt-From-Owner-Approval: keep tests passing

6 years agoMerge "Convert the BrightnessController to a log scale control." into pi-dev
TreeHugger Robot [Mon, 16 Apr 2018 16:18:34 +0000 (16:18 +0000)]
Merge "Convert the BrightnessController to a log scale control." into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Mon, 16 Apr 2018 16:08:18 +0000 (16:08 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge changes I478047cc,Ibe16ffd7 into pi-dev
TreeHugger Robot [Mon, 16 Apr 2018 16:07:27 +0000 (16:07 +0000)]
Merge changes I478047cc,Ibe16ffd7 into pi-dev

* changes:
  DisplayCutout: Ensure stable insets cover top cutout
  Cutout: Use stable density for inflating simulated cutouts

6 years agoUse OS package name when identity cleared.
Jeff Sharkey [Mon, 16 Apr 2018 15:57:29 +0000 (09:57 -0600)]
Use OS package name when identity cleared.

If we pass through the original calling package name, it obviously
won't match UID 1000.

Bug: 78104140
Test: builds, boots
Change-Id: Id0acf0b038e25a113674fa2f43ff93ba05144c1f

6 years agoMerge "Skip cross-user/profile check for start activity pending intents." into pi-dev
Makoto Onuki [Mon, 16 Apr 2018 15:55:36 +0000 (15:55 +0000)]
Merge "Skip cross-user/profile check for start activity pending intents." into pi-dev

6 years agoAdd logging to ScheduleConditionProvider
Beverly [Mon, 16 Apr 2018 15:42:40 +0000 (11:42 -0400)]
Add logging to ScheduleConditionProvider

Test: n/a
Bug: 77906756
Change-Id: Icfc0cbaf6d53315e437ac3ea3ab693b3e0703d2f

6 years agoRevert "ViewRoot: Ensure we release surface from setWindowStopped."
Chavi Weingarten [Mon, 16 Apr 2018 15:34:45 +0000 (15:34 +0000)]
Revert "ViewRoot: Ensure we release surface from setWindowStopped."

This reverts commit 35274cb0ce90ce4381e534d1c04c9d919eb588fc.

Reason for revert: b/78110749
Fixes: 78110749

Change-Id: Ib1b15e4f7325cb265574090b658514fc0b3c4021

6 years agoMerge "Fix "auto battery saver notification comes back"" into pi-dev
Makoto Onuki [Mon, 16 Apr 2018 15:32:20 +0000 (15:32 +0000)]
Merge "Fix "auto battery saver notification comes back"" into pi-dev

6 years agoMerge "Cutout: Fix broken cutout rendering in landscape" into pi-dev
TreeHugger Robot [Mon, 16 Apr 2018 15:20:04 +0000 (15:20 +0000)]
Merge "Cutout: Fix broken cutout rendering in landscape" into pi-dev

6 years agoAdd permission whitelist for EmergencyInfo app.
Tyler Gunn [Mon, 16 Apr 2018 05:49:53 +0000 (22:49 -0700)]
Add permission whitelist for EmergencyInfo app.

This is the "Emergency Info" screen available from the lock screen.
It requires the CALL_PRIVILEGED permission in order for it to be able to
place emergency calls.  This can occur if a user adds an emergency number
to their emergency contacts.

Test: make checkbuild
Bug: 76086838
Merged-In: I2cfc893f8e636790a837e0f71f9f42ea723c8e31
Change-Id: I2cfc893f8e636790a837e0f71f9f42ea723c8e31
(cherry picked from commit cdc555f4890479813c72a928f67bcbaf0e6847d8)

6 years agoMerge "Add more hidden API on light greylist" into pi-dev
David Brazdil [Mon, 16 Apr 2018 15:04:07 +0000 (15:04 +0000)]
Merge "Add more hidden API on light greylist" into pi-dev

6 years agoDisplayCutout: Ensure stable insets cover top cutout
Adrian Roos [Mon, 16 Apr 2018 14:56:07 +0000 (16:56 +0200)]
DisplayCutout: Ensure stable insets cover top cutout

Fixes an issue where the stable insets could become smaller
than the top cutout if the display density was set lower
than the natural density.

Bug: 78110564
Test: Set display size to "small", turn on cutout, verify apps do not have a gap between status bar and content.
Change-Id: I478047ccaade0e4e265cc57d03b072ae578b49d0

6 years agoMerge "Added screen brightness override feedback." into pi-dev
TreeHugger Robot [Mon, 16 Apr 2018 14:48:38 +0000 (14:48 +0000)]
Merge "Added screen brightness override feedback." into pi-dev

6 years agoMerge "Doc change: removed reference to the reverted Password Blacklist feature....
TreeHugger Robot [Mon, 16 Apr 2018 14:48:19 +0000 (14:48 +0000)]
Merge "Doc change: removed reference to the reverted Password Blacklist feature." into pi-dev

6 years agoRemove unnecessary disk access when loading synthetic password states
Rubin Xu [Mon, 16 Apr 2018 13:45:21 +0000 (14:45 +0100)]
Remove unnecessary disk access when loading synthetic password states

The on-demand creation of enclosing directory only needs to happen
before writing synthetic password data, not during reads.

Bug: 78027659
Test: runtest frameworks-services -p com.android.server.locksettings
Change-Id: I2a95f919d0d440caacea8880e33663cc074b1567

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Mon, 16 Apr 2018 14:26:28 +0000 (14:26 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev