OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Whitelist always-on setting"
Lucas Dupin [Tue, 5 Jun 2018 23:15:00 +0000 (23:15 +0000)]
Merge "Whitelist always-on setting"

6 years agoDon't access keyguard from instant apps. am: e5a3125c1c
Svet Ganov [Tue, 5 Jun 2018 21:41:20 +0000 (14:41 -0700)]
Don't access keyguard from instant apps. am: e5a3125c1c
am: 54f78810cc

Change-Id: I916c50f5e0c27a17b1e7dc284b5544b920fc20e8

6 years agoDon't access keyguard from instant apps.
Svet Ganov [Tue, 5 Jun 2018 21:34:22 +0000 (14:34 -0700)]
Don't access keyguard from instant apps.
am: e5a3125c1c

Change-Id: I1a6574d771f3e94727d85d24eb5f1abe1a0f388d

6 years agoMerge "Add typedef for the Log level"
Tor Norbye [Tue, 5 Jun 2018 21:33:06 +0000 (21:33 +0000)]
Merge "Add typedef for the Log level"

6 years ago[automerger skipped] Wean statsd off batterystats: workchain (cp)
Bookatz [Tue, 5 Jun 2018 21:10:59 +0000 (14:10 -0700)]
[automerger skipped] Wean statsd off batterystats: workchain (cp)
am: 0bd972083a  -s ours

Change-Id: I9addc450bf92c706b0e2e0d6a14e3b6c0426fd0b

6 years agoMerge "Add EXTRA_SKIP_CALL_FILTERING PhoneAccount extra"
Sean Kelley [Tue, 5 Jun 2018 20:56:58 +0000 (20:56 +0000)]
Merge "Add EXTRA_SKIP_CALL_FILTERING PhoneAccount extra"

6 years agoDon't access keyguard from instant apps.
Svet Ganov [Tue, 5 Jun 2018 01:18:34 +0000 (18:18 -0700)]
Don't access keyguard from instant apps.

Test: manual

bug:109652548

Change-Id: Ife1302e39e4f71f66d032619068a7e0214856b32

6 years agoMerge "Wean Statsd off BatteryStats: Network Power"
TreeHugger Robot [Tue, 5 Jun 2018 19:57:10 +0000 (19:57 +0000)]
Merge "Wean Statsd off BatteryStats: Network Power"

6 years agoWean statsd off batterystats: workchain (cp)
Bookatz [Tue, 5 Jun 2018 19:42:37 +0000 (12:42 -0700)]
Wean statsd off batterystats: workchain (cp)

Modified cherry pick from master:
(cherry picked from commit d888df2ba99e117b50a5553e18426ad370294a20)
covering ag/4210168 and ag/4230692.

The tool that generates StatsLogInternal.java now includes the following
type of code, to accomodate WorkSources automatically.

    public static void write(int code, WorkSource ws, int arg2) {
        for (int i = 0; i < ws.size(); ++i) {
            write_non_chained(code, ws.get(i), ws.getName(i), arg2);
        }
        ArrayList<WorkSource.WorkChain> workChains = ws.getWorkChains();
        if (workChains != null) {
            for (WorkSource.WorkChain wc : workChains) {
                write(code, wc.getUids(), wc.getTags(), arg2);
            }
        }
    }

This will reduce a lot of code repitition for the StatsLog.write calls
in BatteryStats. Consequently, doing so will make it easier to remove
these StatsLog.write calls out of BatteryStats.

Bug: 80308558
Bug: 80314737
Test: manual verification
Test: com.android.internal.os.BatteryStatsTests
Change-Id: Ied537a6195121f16ef49b6bccf58c8c31964909c
Merged-In: Ibd28297345f4ab926dec01a89de0f1bfff9f8871

6 years agoStatsLog.write javadoc comment improvements
Bookatz [Thu, 31 May 2018 23:46:45 +0000 (16:46 -0700)]
StatsLog.write javadoc comment improvements

When attribution is present, log lines should use the
StatsLog.write(WorkSource) variation, so the javadoc comments are
updated accordingly.

Bug: 80308558
Bug: 80314737
Test: manual verification of output's comments
Change-Id: I1d1a7972a68ce98b1dbfd62a829a73edfb605684

6 years agoWhitelist always-on setting
Lucas Dupin [Tue, 5 Jun 2018 19:02:14 +0000 (12:02 -0700)]
Whitelist always-on setting

Change-Id: I43c70be051f9a02d0d565fbe73b213788902f2ca
Fixes: 75252202
Test: Manually retore settings on another device using setup wizard
Test: atest core/tests/coretests/src/android/provider/SettingsBackupTest.java

6 years agoMerge "Allow the system recents component to fetch info for user and profiles" into...
Winson Chung [Tue, 5 Jun 2018 18:35:41 +0000 (11:35 -0700)]
Merge "Allow the system recents component to fetch info for user and profiles" into pi-dev am: f5976be9f4
am: e5736b6730

Change-Id: I2b14e84e97f6d02e32ff079174adc343af4ab0d2

6 years agoMerge "Allow the system recents component to fetch info for user and profiles" into...
Winson Chung [Tue, 5 Jun 2018 18:26:53 +0000 (11:26 -0700)]
Merge "Allow the system recents component to fetch info for user and profiles" into pi-dev
am: f5976be9f4

Change-Id: I30259434bbc33a4184dffd2fc1430caba2ef7ed0

6 years agoMerge "Allow the system recents component to fetch info for user and profiles" into...
Winson Chung [Tue, 5 Jun 2018 18:12:16 +0000 (18:12 +0000)]
Merge "Allow the system recents component to fetch info for user and profiles" into pi-dev

6 years agoMerge "Fix: vendor public libraries are accessible via System.loadLibrary" into pi...
Jiyong Park [Tue, 5 Jun 2018 17:58:57 +0000 (10:58 -0700)]
Merge "Fix: vendor public libraries are accessible via System.loadLibrary" into pi-dev am: c4b6bd34e1
am: 0221eaa392

Change-Id: I20f644dbafb96955e96f22ecef61292ffeae9e7f

6 years agoMerge "Minimum viable TimeDetectorService"
Neil Fuller [Tue, 5 Jun 2018 17:52:58 +0000 (17:52 +0000)]
Merge "Minimum viable TimeDetectorService"

6 years agoMerge "Fix: vendor public libraries are accessible via System.loadLibrary" into pi-dev
Jiyong Park [Tue, 5 Jun 2018 17:51:37 +0000 (10:51 -0700)]
Merge "Fix: vendor public libraries are accessible via System.loadLibrary" into pi-dev
am: c4b6bd34e1

Change-Id: I585a02298349846c2bedc5617cb342edaadcb9bb

6 years agoMerge "Fix: vendor public libraries are accessible via System.loadLibrary" into pi-dev
Jiyong Park [Tue, 5 Jun 2018 17:37:24 +0000 (17:37 +0000)]
Merge "Fix: vendor public libraries are accessible via System.loadLibrary" into pi-dev

6 years agoMerge changes Iebe457a5,If32da8e6
TreeHugger Robot [Tue, 5 Jun 2018 16:40:19 +0000 (16:40 +0000)]
Merge changes Iebe457a5,If32da8e6

* changes:
  Statsd: Add perfprofd call
  Statsd: Add perfprofd_config proto

6 years agoAdd typedef for the Log level
Tor Norbye [Thu, 16 Jul 2015 20:29:33 +0000 (13:29 -0700)]
Add typedef for the Log level

This CL adds an @IntDef specifying the valid constants
that can be supplied as the Log level.

It also removes a documentation reference to a (former?) level
named "SUPPRESS" which doesn't exist.

Test: In lint
Change-Id: I159d687a5c16be76afcd7a3370a5f02025a1aff7

6 years agoMerge "ScreenDecorations: fix cutout not showing in seascape"
TreeHugger Robot [Tue, 5 Jun 2018 14:18:32 +0000 (14:18 +0000)]
Merge "ScreenDecorations: fix cutout not showing in seascape"

6 years agoMerge "Improve KeyChain documentation" into pi-dev am: 843a0cabbf
Eran Messeri [Tue, 5 Jun 2018 13:46:20 +0000 (06:46 -0700)]
Merge "Improve KeyChain documentation" into pi-dev am: 843a0cabbf
am: 6779fecdcc

Change-Id: I25447edd4c22c7df4375f88b904d1300555a3836

6 years agoMerge "Add camera APIs to light grey." into pi-dev am: 6c26c953e4
Nicolas Geoffray [Tue, 5 Jun 2018 13:37:47 +0000 (06:37 -0700)]
Merge "Add camera APIs to light grey." into pi-dev am: 6c26c953e4
am: bb570f7223

Change-Id: I336b6a140d548ffea06061b1e149132becfa5dc3

6 years agoMerge "Improve KeyChain documentation" into pi-dev
Eran Messeri [Tue, 5 Jun 2018 13:34:29 +0000 (06:34 -0700)]
Merge "Improve KeyChain documentation" into pi-dev
am: 843a0cabbf

Change-Id: I85870248f4cfa44f96f351b0a18e5ef5780cbbf6

6 years agoMerge "Add camera APIs to light grey." into pi-dev
Nicolas Geoffray [Tue, 5 Jun 2018 13:28:45 +0000 (06:28 -0700)]
Merge "Add camera APIs to light grey." into pi-dev
am: 6c26c953e4

Change-Id: Iecf617354c98c8336920271fb7a0abccaf3a32a7

6 years agoMerge "Annotate Log reference parameters and return types."
Jake Wharton [Tue, 5 Jun 2018 13:23:55 +0000 (13:23 +0000)]
Merge "Annotate Log reference parameters and return types."

6 years agoMerge "Improve KeyChain documentation" into pi-dev
TreeHugger Robot [Tue, 5 Jun 2018 13:22:28 +0000 (13:22 +0000)]
Merge "Improve KeyChain documentation" into pi-dev

6 years agoMerge "Add camera APIs to light grey." into pi-dev
Nicolas Geoffray [Tue, 5 Jun 2018 13:15:24 +0000 (13:15 +0000)]
Merge "Add camera APIs to light grey." into pi-dev

6 years ago[automerger skipped] Merge "Optimise the hit test algorithm" into oc-dev am: 6064d8fd...
Mihai Popa [Tue, 5 Jun 2018 13:01:59 +0000 (06:01 -0700)]
[automerger skipped] Merge "Optimise the hit test algorithm" into oc-dev am: 6064d8fd4c am: 0348259446  -s ours am: 86c2ef5bde  -s ours am: db63d3b644  -s ours
am: 2fbe751ea5  -s ours

Change-Id: I968aa86473d15afd5c50c30b2acb961b70bec351

6 years ago[automerger skipped] Merge "Optimise the hit test algorithm" into oc-dev am: 6064d8fd...
Mihai Popa [Tue, 5 Jun 2018 12:48:25 +0000 (05:48 -0700)]
[automerger skipped] Merge "Optimise the hit test algorithm" into oc-dev am: 6064d8fd4c am: 0348259446  -s ours am: 86c2ef5bde  -s ours
am: db63d3b644  -s ours

Change-Id: If3b34a69adddb0149bd26103570b31fb82f4e986

6 years ago[automerger skipped] Merge "Optimise the hit test algorithm" into oc-dev am: 6064d8fd...
Mihai Popa [Tue, 5 Jun 2018 12:17:27 +0000 (05:17 -0700)]
[automerger skipped] Merge "Optimise the hit test algorithm" into oc-dev am: 6064d8fd4c am: 0348259446  -s ours
am: 86c2ef5bde  -s ours

Change-Id: I334cf06de7d1e48eb52710c5844daa2b32b5b07c

6 years ago[automerger skipped] Merge "Optimise the hit test algorithm" into oc-mr1-dev am:...
Mihai Popa [Tue, 5 Jun 2018 12:10:43 +0000 (05:10 -0700)]
[automerger skipped] Merge "Optimise the hit test algorithm" into oc-mr1-dev am: bbfee3189d  -s ours am: b6c9be3ac2  -s ours
am: a6f270d1e3  -s ours

Change-Id: Ibcb53315ed6415847ae1ef254933c5fee4420cc6

6 years agoMerge "Crashing can not override Keyguard transit" into pi-dev am: 44121059dc
Jorim Jaggi [Tue, 5 Jun 2018 11:58:49 +0000 (04:58 -0700)]
Merge "Crashing can not override Keyguard transit" into pi-dev am: 44121059dc
am: 6d79f45783

Change-Id: I6d4daa349f03891fee1901fb5f5ff96096665f42

6 years ago[automerger skipped] Merge "Optimise the hit test algorithm" into oc-mr1-dev am:...
Mihai Popa [Tue, 5 Jun 2018 11:51:53 +0000 (04:51 -0700)]
[automerger skipped] Merge "Optimise the hit test algorithm" into oc-mr1-dev am: bbfee3189d  -s ours
am: b6c9be3ac2  -s ours

Change-Id: I3b7d566cd344ac2e3c8baf62bfee879e0fd9761c

6 years ago[automerger skipped] Merge "Optimise the hit test algorithm" into oc-dev am: 6064d8fd4c
Mihai Popa [Tue, 5 Jun 2018 11:51:17 +0000 (04:51 -0700)]
[automerger skipped] Merge "Optimise the hit test algorithm" into oc-dev am: 6064d8fd4c
am: 0348259446  -s ours

Change-Id: I7ddad2c5dd22f31c812683c4a715dc7738605ff9

6 years agoMerge "Crashing can not override Keyguard transit" into pi-dev
Jorim Jaggi [Tue, 5 Jun 2018 11:46:46 +0000 (04:46 -0700)]
Merge "Crashing can not override Keyguard transit" into pi-dev
am: 44121059dc

Change-Id: Ieb020e920e1417d501f12bf7b5c2c57437685d9c

6 years ago[automerger skipped] Merge "Optimise the hit test algorithm" into pi-dev am: 0192e9a213
Mihai Popa [Tue, 5 Jun 2018 11:39:47 +0000 (04:39 -0700)]
[automerger skipped] Merge "Optimise the hit test algorithm" into pi-dev am: 0192e9a213
am: 32ea362e11  -s ours

Change-Id: Ib221a37ca6319a68c1a7fd0ed3d0be4e08dade7c

6 years agoMerge "Optimise the hit test algorithm" into oc-dev
Mihai Popa [Tue, 5 Jun 2018 11:39:29 +0000 (04:39 -0700)]
Merge "Optimise the hit test algorithm" into oc-dev
am: 6064d8fd4c

Change-Id: I465c15edb18c3084e6b8cbf1f42c0c2c1ebea4eb

6 years ago[automerger skipped] Merge "Optimise the hit test algorithm" into oc-mr1-dev
Mihai Popa [Tue, 5 Jun 2018 11:38:11 +0000 (04:38 -0700)]
[automerger skipped] Merge "Optimise the hit test algorithm" into oc-mr1-dev
am: bbfee3189d  -s ours

Change-Id: I46ea8080731ca5cd9690dff3e60953f1b2d7e930

6 years agoMerge "Crashing can not override Keyguard transit" into pi-dev
Jorim Jaggi [Tue, 5 Jun 2018 11:32:55 +0000 (11:32 +0000)]
Merge "Crashing can not override Keyguard transit" into pi-dev

6 years agoMerge "Optimise the hit test algorithm" into pi-dev
Mihai Popa [Tue, 5 Jun 2018 11:30:59 +0000 (04:30 -0700)]
Merge "Optimise the hit test algorithm" into pi-dev
am: 0192e9a213

Change-Id: I7c42beb5b63332748d05a7dd4fc7b0e50e5d8f08

6 years agoMerge "Optimise the hit test algorithm" into oc-dev
TreeHugger Robot [Tue, 5 Jun 2018 11:28:42 +0000 (11:28 +0000)]
Merge "Optimise the hit test algorithm" into oc-dev

6 years agoMerge "Optimise the hit test algorithm" into oc-mr1-dev
TreeHugger Robot [Tue, 5 Jun 2018 11:28:11 +0000 (11:28 +0000)]
Merge "Optimise the hit test algorithm" into oc-mr1-dev

6 years agoMerge "Optimise the hit test algorithm" into pi-dev
TreeHugger Robot [Tue, 5 Jun 2018 11:24:19 +0000 (11:24 +0000)]
Merge "Optimise the hit test algorithm" into pi-dev

6 years agoMerge "Defer stop for all activities becoming invisible" into pi-dev am: 318e52881e
Jorim Jaggi [Tue, 5 Jun 2018 11:15:16 +0000 (04:15 -0700)]
Merge "Defer stop for all activities becoming invisible" into pi-dev am: 318e52881e
am: 05424a176d

Change-Id: I3350563a36213ed590113191b41a9f284c4fdb31

6 years agoMerge "Defer stop for all activities becoming invisible" into pi-dev
Jorim Jaggi [Tue, 5 Jun 2018 11:07:52 +0000 (04:07 -0700)]
Merge "Defer stop for all activities becoming invisible" into pi-dev
am: 318e52881e

Change-Id: I9ade540400f07e5a1ad099a5f945f06954060afd

6 years agoMerge "Defer stop for all activities becoming invisible" into pi-dev
Jorim Jaggi [Tue, 5 Jun 2018 10:55:38 +0000 (10:55 +0000)]
Merge "Defer stop for all activities becoming invisible" into pi-dev

6 years agoMerge "Randomize the local Wifi IPv4 address" am: 13cb6084e2 am: 9c69afc86f
Erik Kline [Tue, 5 Jun 2018 10:25:34 +0000 (03:25 -0700)]
Merge "Randomize the local Wifi IPv4 address" am: 13cb6084e2 am: 9c69afc86f
am: f415a67fc0

Change-Id: I8f8397978a13c8b2303dfcd950700b447ea61d3c

6 years agoMerge "Randomize the local Wifi IPv4 address" am: 13cb6084e2
Erik Kline [Tue, 5 Jun 2018 10:16:47 +0000 (03:16 -0700)]
Merge "Randomize the local Wifi IPv4 address" am: 13cb6084e2
am: 9c69afc86f

Change-Id: I47d75c32ccd4bcbbb2f05637fcbae216d7e15015

6 years agoMerge "Randomize the local Wifi IPv4 address"
Erik Kline [Tue, 5 Jun 2018 10:08:53 +0000 (03:08 -0700)]
Merge "Randomize the local Wifi IPv4 address"
am: 13cb6084e2

Change-Id: I2aa4170c8f0b277d6c6e3489012c3698ab3d3229

6 years agoAdd camera APIs to light grey.
Nicolas Geoffray [Tue, 5 Jun 2018 08:10:25 +0000 (09:10 +0100)]
Add camera APIs to light grey.

bug: 79935371
Test: m
Change-Id: I1b29664d711b168ff36ed68d111524c8357c3c20

6 years agoMerge "Randomize the local Wifi IPv4 address"
Treehugger Robot [Tue, 5 Jun 2018 08:11:20 +0000 (08:11 +0000)]
Merge "Randomize the local Wifi IPv4 address"

6 years agoRandomize the local Wifi IPv4 address
Erik Kline [Tue, 29 May 2018 10:24:43 +0000 (19:24 +0900)]
Randomize the local Wifi IPv4 address

Also: address a few "error prone" warnings, adding @Override where missing

Test: as follows
    - built, flashed, booted
    - runtest frameworks-net passes (with --no-hidden-api-checks)
    - wifi tethering uses a randomized address, in as much as it can work
Bug: 32163131
Bug: 70673901

Change-Id: Icfabc48f2cf97b362ce292747f47021e84b900da

6 years agoMerge "vpn: allow IPSec traffic through Always-on VPN" am: 4d3b5c1d3b am: 254f08bc70
Bernie Innocenti [Tue, 5 Jun 2018 06:17:55 +0000 (23:17 -0700)]
Merge "vpn: allow IPSec traffic through Always-on VPN" am: 4d3b5c1d3b am: 254f08bc70
am: b1c9efc6fa

Change-Id: I1f9b78c8f828ec2df7aba71b39d62be0c4db2550

6 years agoMerge "vpn: allow IPSec traffic through Always-on VPN" am: 4d3b5c1d3b
Bernie Innocenti [Tue, 5 Jun 2018 06:08:48 +0000 (23:08 -0700)]
Merge "vpn: allow IPSec traffic through Always-on VPN" am: 4d3b5c1d3b
am: 254f08bc70

Change-Id: I8edeb0942e661c8385ff0cd3fdb72e6f62a8f218

6 years agoMerge "vpn: allow IPSec traffic through Always-on VPN"
Bernie Innocenti [Tue, 5 Jun 2018 05:53:58 +0000 (22:53 -0700)]
Merge "vpn: allow IPSec traffic through Always-on VPN"
am: 4d3b5c1d3b

Change-Id: I90fbe3ad3ec8b9d3b52e6036ae07dd8db814cb22

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Tue, 5 Jun 2018 05:47:15 +0000 (05:47 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Tue, 5 Jun 2018 05:35:37 +0000 (05:35 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Tue, 5 Jun 2018 05:35:18 +0000 (05:35 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Tue, 5 Jun 2018 05:35:13 +0000 (05:35 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Tue, 5 Jun 2018 05:34:17 +0000 (05:34 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Tue, 5 Jun 2018 05:33:19 +0000 (05:33 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Tue, 5 Jun 2018 05:31:18 +0000 (05:31 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Clear all fade-out timeouts"
TreeHugger Robot [Tue, 5 Jun 2018 04:51:52 +0000 (04:51 +0000)]
Merge "Clear all fade-out timeouts"

6 years agoMerge "vpn: allow IPSec traffic through Always-on VPN"
Treehugger Robot [Tue, 5 Jun 2018 04:35:55 +0000 (04:35 +0000)]
Merge "vpn: allow IPSec traffic through Always-on VPN"

6 years agoMerge "cts case com.android.server.cts.GraphicsStatsValidationTest#testDaveyDrawFrame...
Yu Jia [Tue, 5 Jun 2018 02:52:48 +0000 (19:52 -0700)]
Merge "cts case com.android.server.cts.GraphicsStatsValidationTest#testDaveyDrawFrame in modue CtsIncidentHostTestCases failed" am: 2dd3d8cbef am: d490e788f1
am: 048c6751d7

Change-Id: I89d6290789324a38a28de5e03bd139e450297b23

6 years agoMerge "cts case com.android.server.cts.GraphicsStatsValidationTest#testDaveyDrawFrame...
Yu Jia [Tue, 5 Jun 2018 02:42:29 +0000 (19:42 -0700)]
Merge "cts case com.android.server.cts.GraphicsStatsValidationTest#testDaveyDrawFrame in modue CtsIncidentHostTestCases failed" am: 2dd3d8cbef
am: d490e788f1

Change-Id: I6e3507cfb5b6501dd28fb2b6019fdbb74fb745f0

6 years agoMerge "cts case com.android.server.cts.GraphicsStatsValidationTest#testDaveyDrawFrame...
Yu Jia [Tue, 5 Jun 2018 02:34:00 +0000 (19:34 -0700)]
Merge "cts case com.android.server.cts.GraphicsStatsValidationTest#testDaveyDrawFrame in modue CtsIncidentHostTestCases failed"
am: 2dd3d8cbef

Change-Id: I37d35302041a8759eae91e616fa6f3d5c7fdf401

6 years agoMerge "Allow except-idle whitelisted apps to start BG services in EBS" into pi-dev...
Makoto Onuki [Tue, 5 Jun 2018 02:21:01 +0000 (19:21 -0700)]
Merge "Allow except-idle whitelisted apps to start BG services in EBS" into pi-dev am: 205a5581ae
am: 5c6e5f189a

Change-Id: I3dc258afd597e892d50438f475878c971b1f3d55

6 years agoMerge "Allow except-idle whitelisted apps to start BG services in EBS" into pi-dev
Makoto Onuki [Tue, 5 Jun 2018 01:47:48 +0000 (18:47 -0700)]
Merge "Allow except-idle whitelisted apps to start BG services in EBS" into pi-dev
am: 205a5581ae

Change-Id: Ie5d327d5efa90946d92fe3a7063fec988fe56fcd

6 years agoMerge "Ensure automatic battery saver won't stick" into pi-dev am: c1203d6a96
Makoto Onuki [Tue, 5 Jun 2018 01:46:13 +0000 (18:46 -0700)]
Merge "Ensure automatic battery saver won't stick" into pi-dev am: c1203d6a96
am: 6e7625b0e2

Change-Id: I96ddca3b28561b2d6c52b35ca8bc1ff590cd9533

6 years agoMerge "Revert "Update checking of flag MATCH_HIDDEN_UNTIL_INSTALLED_COMPONENTS""...
Andrew Sapperstein [Tue, 5 Jun 2018 01:37:39 +0000 (18:37 -0700)]
Merge "Revert "Update checking of flag MATCH_HIDDEN_UNTIL_INSTALLED_COMPONENTS"" into pi-dev am: 0c6929ec04
am: de8f091279

Change-Id: Ic55195e325096b049b0a4d0ae40649457cc6b0f5

6 years agoAnnotate Log reference parameters and return types.
Jake Wharton [Mon, 4 Jun 2018 23:22:14 +0000 (19:22 -0400)]
Annotate Log reference parameters and return types.

Bug: 78245676
Test: atest LogNullabilityTest
Change-Id: Icbb26d23ed89e1fabd019108d4484902468c165e

6 years agoMerge "Allow except-idle whitelisted apps to start BG services in EBS" into pi-dev
Makoto Onuki [Tue, 5 Jun 2018 01:29:48 +0000 (01:29 +0000)]
Merge "Allow except-idle whitelisted apps to start BG services in EBS" into pi-dev

6 years agoMerge "Read build flag to determine user model." into pi-dev am: 9b5267f914
Ying Zheng [Tue, 5 Jun 2018 01:28:47 +0000 (18:28 -0700)]
Merge "Read build flag to determine user model." into pi-dev am: 9b5267f914
am: bbb033e6e4

Change-Id: I10ce3a986863de596f136b7d59fc03f25a27d960

6 years agoMerge "cts case com.android.server.cts.GraphicsStatsValidationTest#testDaveyDrawFrame...
Treehugger Robot [Tue, 5 Jun 2018 01:15:16 +0000 (01:15 +0000)]
Merge "cts case com.android.server.cts.GraphicsStatsValidationTest#testDaveyDrawFrame in modue CtsIncidentHostTestCases failed"

6 years agoClear all fade-out timeouts
Lucas Dupin [Tue, 5 Jun 2018 00:51:37 +0000 (17:51 -0700)]
Clear all fade-out timeouts

Change-Id: Id549d70836ca73ff7a079c41ac9793b64281bc84
Fixes: 80554360
Test: visual

6 years agoMerge "Ensure automatic battery saver won't stick" into pi-dev
Makoto Onuki [Tue, 5 Jun 2018 00:40:26 +0000 (17:40 -0700)]
Merge "Ensure automatic battery saver won't stick" into pi-dev
am: c1203d6a96

Change-Id: I98897510188c38309f708d86802f83ef3573984d

6 years agoMerge "Defer client visibility update when calculating new config" into pi-dev am...
Andrii Kulian [Tue, 5 Jun 2018 00:30:03 +0000 (17:30 -0700)]
Merge "Defer client visibility update when calculating new config" into pi-dev am: f0e2c8bdde
am: 7cd50d3fff

Change-Id: Ia76b73690560c2c869e45e12969fb640d41d4926

6 years agoMerge "Revert "Update checking of flag MATCH_HIDDEN_UNTIL_INSTALLED_COMPONENTS""...
Andrew Sapperstein [Tue, 5 Jun 2018 00:28:50 +0000 (17:28 -0700)]
Merge "Revert "Update checking of flag MATCH_HIDDEN_UNTIL_INSTALLED_COMPONENTS"" into pi-dev
am: 0c6929ec04

Change-Id: I2f1c4b07946290e3adde90af82b6f7a2ec55f2b1

6 years agoMerge "Read build flag to determine user model." into pi-dev
Ying Zheng [Tue, 5 Jun 2018 00:16:19 +0000 (17:16 -0700)]
Merge "Read build flag to determine user model." into pi-dev
am: 9b5267f914

Change-Id: I08c8e72fdbad7b20ac6039c441feabf2ac31205c

6 years agoMerge "New behavior of setSynchronousMode" into pi-dev am: 492457e94e
Fyodor Kupolov [Mon, 4 Jun 2018 23:51:53 +0000 (16:51 -0700)]
Merge "New behavior of setSynchronousMode" into pi-dev am: 492457e94e
am: e953a1c5ab

Change-Id: I9bb84e2bafb1161fe85c7af05cf9fb4ae865e212

6 years agoMerge "Ensure automatic battery saver won't stick" into pi-dev
TreeHugger Robot [Mon, 4 Jun 2018 23:35:15 +0000 (23:35 +0000)]
Merge "Ensure automatic battery saver won't stick" into pi-dev

6 years agoMerge "Add shell command handler for account manager to allow enabling service bindin...
Hongming Jin [Mon, 4 Jun 2018 23:32:51 +0000 (16:32 -0700)]
Merge "Add shell command handler for account manager to allow enabling service binding for instant app. Test: cts-tradefed run cts -m CtsAccountManagerTestCases cts-instant-tradefed run cts-instant -m CtsAccountManagerTestCases Bug: 79367659" into pi-dev am: 64896541d4
am: 10fa41b542

Change-Id: I2ccad1d178aab981b0f4e47f8f332e7cc6057bb0

6 years agoMerge "Revert "Update checking of flag MATCH_HIDDEN_UNTIL_INSTALLED_COMPONENTS""...
TreeHugger Robot [Mon, 4 Jun 2018 23:27:42 +0000 (23:27 +0000)]
Merge "Revert "Update checking of flag MATCH_HIDDEN_UNTIL_INSTALLED_COMPONENTS"" into pi-dev

6 years agoMerge "Update checking of flag MATCH_HIDDEN_UNTIL_INSTALLED_COMPONENTS" into pi-dev...
Jackal Guo [Mon, 4 Jun 2018 23:26:50 +0000 (16:26 -0700)]
Merge "Update checking of flag MATCH_HIDDEN_UNTIL_INSTALLED_COMPONENTS" into pi-dev am: 15ebbeb9fd
am: 411e733a83

Change-Id: I1f12d9261b8c0f1f058f511129d98c6831f7a6c2

6 years agoMerge "Read build flag to determine user model." into pi-dev
Ying Zheng [Mon, 4 Jun 2018 23:21:44 +0000 (23:21 +0000)]
Merge "Read build flag to determine user model." into pi-dev

6 years ago[automerger skipped] Merge "WM: Prevent secondary display focus while keyguard is...
Adrian Roos [Mon, 4 Jun 2018 23:13:12 +0000 (16:13 -0700)]
[automerger skipped] Merge "WM: Prevent secondary display focus while keyguard is up" into oc-dev am: f04714c59a am: 6281d64277 am: 668761b146  -s ours am: 60d179780f  -s ours
am: 8a8c971209  -s ours

Change-Id: I4d12a035b8530d3269e39b965eaeef187bceea96

6 years agoRead build flag to determine user model.
Ying Zheng [Fri, 1 Jun 2018 22:55:30 +0000 (15:55 -0700)]
Read build flag to determine user model.

Bug: 109698349
Test: Manual
Change-Id: I180b6a877ead576b0ed1292376fe0e74b0df1fd9

6 years agoMerge "Blank screen when coming from pulse" into pi-dev am: 842ec5085b
Lucas Dupin [Mon, 4 Jun 2018 22:51:48 +0000 (15:51 -0700)]
Merge "Blank screen when coming from pulse" into pi-dev am: 842ec5085b
am: 3d68a97d29

Change-Id: Ifac21906c44f76f2abcd29253fe85722ba6a4b82

6 years agoMerge "Camera: fix off by one error" into pi-dev am: 4003570f57
Yin-Chia Yeh [Mon, 4 Jun 2018 22:46:48 +0000 (15:46 -0700)]
Merge "Camera: fix off by one error" into pi-dev am: 4003570f57
am: 55321dbd5d

Change-Id: Ie21a397348d8eef4f7be7b14a2aa9f214ddd6b61

6 years agoAllow the system recents component to fetch info for user and profiles
Winson Chung [Mon, 4 Jun 2018 22:31:54 +0000 (15:31 -0700)]
Allow the system recents component to fetch info for user and profiles

- The recents component may need to fetch application info for the current
  user and its profiles.

Bug: 109660818
Test: atest CtsAppSecurityHostTestCases:ApplicationVisibilityTest
Change-Id: I7017d40fd2a7ac0d4f288bec21a4bc5cd93c446e

6 years agoAllow except-idle whitelisted apps to start BG services in EBS
Makoto Onuki [Mon, 4 Jun 2018 21:44:19 +0000 (14:44 -0700)]
Allow except-idle whitelisted apps to start BG services in EBS

Change-Id: I8dd42f48cf13c97b4e428afbf29838f442d8731b
Fixes: 80420676
Test: dumpsys activity processes| grep mDeviceIdle
  mDeviceIdleWhitelist=[1000, 1001, 2000, 10028, 10035, 10036, 10042, 10053, 10137, 10138, 10139, 10142]
  mDeviceIdleExceptIdleWhitelist=[1000, 1001, 2000, 10006, 10008, 10014, 10016, 10028, 10035, 10036, 10042, 10047, 10053, 10058, 10060, 10070, 10111, 10137, 10138, 10139, 10142]
Test: Manual test with "DEBUG_BACKGROUND_CHECK = true" and
am startservice 'com.android.vending/com.google.android.finsky.hygiene.DailyHygiene\$DailyHygieneService'
then check the whitelist log.

6 years agoMerge "Defer client visibility update when calculating new config" into pi-dev
Andrii Kulian [Mon, 4 Jun 2018 22:08:47 +0000 (15:08 -0700)]
Merge "Defer client visibility update when calculating new config" into pi-dev
am: f0e2c8bdde

Change-Id: I4c00d12154728287088bf946306ad78e805f2aec

6 years agoMerge "Defer client visibility update when calculating new config" into pi-dev
Andrii Kulian [Mon, 4 Jun 2018 21:55:13 +0000 (21:55 +0000)]
Merge "Defer client visibility update when calculating new config" into pi-dev

6 years agoMerge "New behavior of setSynchronousMode" into pi-dev
Fyodor Kupolov [Mon, 4 Jun 2018 21:47:39 +0000 (14:47 -0700)]
Merge "New behavior of setSynchronousMode" into pi-dev
am: 492457e94e

Change-Id: I45c388d4386b443a48b6c94632c373dfe1aa8af3

6 years agoMerge "New behavior of setSynchronousMode" into pi-dev
TreeHugger Robot [Mon, 4 Jun 2018 21:30:17 +0000 (21:30 +0000)]
Merge "New behavior of setSynchronousMode" into pi-dev

6 years agoMerge "Add shell command handler for account manager to allow enabling service bindin...
Hongming Jin [Mon, 4 Jun 2018 21:19:06 +0000 (14:19 -0700)]
Merge "Add shell command handler for account manager to allow enabling service binding for instant app. Test: cts-tradefed run cts -m CtsAccountManagerTestCases cts-instant-tradefed run cts-instant -m CtsAccountManagerTestCases Bug: 79367659" into pi-dev
am: 64896541d4

Change-Id: I6221649f9035bcaa5dea4066b5a61c9dc8fdb06d

6 years agoMerge "Update checking of flag MATCH_HIDDEN_UNTIL_INSTALLED_COMPONENTS" into pi-dev
Jackal Guo [Mon, 4 Jun 2018 21:11:44 +0000 (14:11 -0700)]
Merge "Update checking of flag MATCH_HIDDEN_UNTIL_INSTALLED_COMPONENTS" into pi-dev
am: 15ebbeb9fd

Change-Id: I6447f40dae907f63042024ac9558aa9ba6f6f4fd

6 years ago[automerger skipped] Merge "WM: Prevent secondary display focus while keyguard is...
Adrian Roos [Mon, 4 Jun 2018 21:06:29 +0000 (14:06 -0700)]
[automerger skipped] Merge "WM: Prevent secondary display focus while keyguard is up" into oc-dev am: f04714c59a am: 6281d64277 am: 668761b146  -s ours
am: 60d179780f  -s ours

Change-Id: I42f926077f2aa80eafd18bfdbbea22dbcee634c2