Commit Graph

101659 Commits

Author SHA1 Message Date
Android Build Merger (Role)
c7cd1eb6eb Merge "Merge "Pass app's data dir to ART" am: 16749ac83e am: 33ed677361 am: 6277c39b0e" 2019-04-03 16:32:55 +00:00
David Brazdil
278f199a73 Merge "Pass app's data dir to ART" am: 16749ac83e am: 33ed677361
am: 6277c39b0e

Change-Id: Iec85a2630e364e66e45e42f2cbb6a26008c0ab4a
2019-04-03 09:30:44 -07:00
TreeHugger Robot
ffd5fb6954 Merge "Support content description with app name" 2019-04-03 16:30:08 +00:00
Makoto Onuki
b0bca0c5f7 Merge "Improve CursorWindow failure message" 2019-04-03 16:19:28 +00:00
David Brazdil
6277c39b0e Merge "Pass app's data dir to ART" am: 16749ac83e
am: 33ed677361

Change-Id: I9a7c617f13dadc91b735837d1778e3d526be8520
2019-04-03 09:13:31 -07:00
Michael Wright
89df2a72f7 Merge "Expose input region monitoring to system components." 2019-04-03 16:04:03 +00:00
Makoto Onuki
2276ceacb3 Improve CursorWindow failure message
Bug: 129139241
Bug: 129721058
Test: atest CursorWindowTest
Change-Id: Iac1c5ec6f999dadd638fc5ab47c69d13f60ea467
2019-04-03 16:01:33 +00:00
David Brazdil
33ed677361 Merge "Pass app's data dir to ART"
am: 16749ac83e

Change-Id: I170cbff78d12ccc418cb440820a584f141f28433
2019-04-03 08:35:34 -07:00
TreeHugger Robot
77a059fe34 Merge "Tidy up some Javadoc." 2019-04-03 15:32:42 +00:00
TreeHugger Robot
eaf603ddec Merge "Change theme setting to JSONObject format." 2019-04-03 14:40:58 +00:00
Tony Mak
15b64be1f4 Support content description with app name
The logic is like:
1. If content description string with app name placeholder is available,
   and we also have a app name, then we will use this string.
2. Otherwise, fallback to content description string without app
   name placeholder.

Test: atest frameworks/base/core/tests/coretests/src/android/view/textclassifier/
Test: Actually see the content description with app name is formatted
      properly

BUG: 128541828

Change-Id: Iee1dc8d4a429d759d9ab3f4b84dc1ad13b698cdb
2019-04-03 14:06:47 +01:00
Amin Shaikh
bb58879ddb Change theme setting to JSONObject format.
Add JSON_OBJECT_VALIDATOR to Settings and add unit tests.

Fixes: 129543539
Test: atest coretests
Change-Id: I4fa7a1357d442c1fa04a7eee815d5c3a48cc5115
2019-04-03 09:05:17 -04:00
Michael Wright
c7995239ef Expose input region monitoring to system components.
This is to allow SysUI to detect system-wide gestures.

Test: manual
Bug: 123748692
Change-Id: Ic1e2cd6afea219d0e20b29e7150c9a42b75c7a67
2019-04-03 13:46:30 +01:00
David Brazdil
06f2e1294b Pass app's data dir to ART
Inform ART about the location of the app's data directory when setting
up the process. This is part of an optimization that has ART cache
verification data into that directory.

Test: compiles, boots
Bug: 72131483
Change-Id: Ic80526b6ee383733eb5860e66f6c608109d838fb
2019-04-03 13:22:27 +01:00
Mathew Inwood
1c53bca656 Merge "Greylist IActivityTaskManagerSingleton." 2019-04-03 11:52:23 +00:00
Mark Chien
ed194a33e0 Merge "Some cleanups for Tethering" am: 31b33b6f41 am: 5dff3c98c5
am: 9d4a2a27e6

Change-Id: I0f5c8f33f13dfa2366992a2b2e0ada7667b90e2f
2019-04-03 03:54:42 -07:00
Mark Chien
9d4a2a27e6 Merge "Some cleanups for Tethering" am: 31b33b6f41
am: 5dff3c98c5

Change-Id: I0e00187f9a5eee9e55f961ce0458c9b91af19fb7
2019-04-03 03:45:05 -07:00
Mark Chien
5dff3c98c5 Merge "Some cleanups for Tethering"
am: 31b33b6f41

Change-Id: Ifb60c76855a2bea5a1cccf26034e6c582ad16021
2019-04-03 03:35:42 -07:00
Alex Kershaw
83b0528587 Tidy up some Javadoc.
Tidy up InstallSystemUpdateCallback#UPDATE_ERROR_UPDATE_FILE_INVALID
javadoc.

Test: Javadoc change only
Change-Id: I114c60ec330c1cea96a187f727570373b4e7f3bc
2019-04-03 11:28:12 +01:00
Mark Chien
31b33b6f41 Merge "Some cleanups for Tethering" 2019-04-03 10:16:25 +00:00
TreeHugger Robot
62e98c42e3 Merge "Use Volume Group core callback in volume preference rather than intent" 2019-04-03 09:54:20 +00:00
Remi NGUYEN VAN
34495dc292 Merge "Fix API in CaptivePortal, StaticIpConfiguration" am: 0470353c2e am: 77daae9b3d
am: e86dfa92fe

Change-Id: Icda65fe4a009a754b6a1a763d402820652d55391
2019-04-03 02:28:11 -07:00
Remi NGUYEN VAN
e86dfa92fe Merge "Fix API in CaptivePortal, StaticIpConfiguration" am: 0470353c2e
am: 77daae9b3d

Change-Id: I82eee20855710de2b4fb541dd5e2b887140ed364
2019-04-03 02:12:22 -07:00
Mathew Inwood
7fb5aca05d Greylist IActivityTaskManagerSingleton.
This is needed by Tinker, a hotfix framework commonly used in China so
it can continue working in Q.

Bug: 129726065
Test: m
Change-Id: Ie559b1bd9ad256de789e387c3f2b182bd761d23f
2019-04-03 09:49:04 +01:00
Remi NGUYEN VAN
77daae9b3d Merge "Fix API in CaptivePortal, StaticIpConfiguration"
am: 0470353c2e

Change-Id: Ia36ba5946e8dc956c5c71cbebe7dc02658fdb7a0
2019-04-03 01:21:38 -07:00
Po-Chien Hsueh
2d204b3985 Merge changes from topic "dyn_system_ff"
* changes:
  Use setEnable() when there is an installed image
  Use gsid.isGsiEnabled to refine DynamicSystemService
  Use FeatureFlagPersistent to guard DynamicSystem
  Make feature flag settings_dynamic_system persistent
2019-04-03 07:55:55 +00:00
Howard Chen
72324e4eb1 Use gsid.isGsiEnabled to refine DynamicSystemService
* Add isEnabled
* Replace toggle with setEnable

Test: Compile passed
Bug: 125079548
Change-Id: I4931e6469388ea05194ba44ccb994f32c08ad40d
2019-04-03 07:53:50 +00:00
Remi NGUYEN VAN
0470353c2e Merge "Fix API in CaptivePortal, StaticIpConfiguration" 2019-04-03 06:51:35 +00:00
markchien
9f246bd9e3 Some cleanups for Tethering
Bug: 126481523
Test: -build, flash, boot
      -FrameworksNetTests

Change-Id: I904646efa87eb5434124c7828aca4ab09c5dc38e
2019-04-03 13:56:00 +08:00
Amith Yamasani
282420fe7b Merge "Avoid elevating apps to high proc states on binding" 2019-04-03 05:50:28 +00:00
Paul Hu
d3c115b26a Merge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library" am: 3db9cfe660 am: 2d20cd2378
am: 4bf4e79766

Change-Id: Iccf60b710df5895d8d269b6c918a8b2f252e93a6
2019-04-02 21:19:14 -07:00
Paul Hu
4bf4e79766 Merge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library" am: 3db9cfe660
am: 2d20cd2378

Change-Id: I5a5fd9f900bb1d7217364812d9d0e5477179bfc9
2019-04-02 20:45:17 -07:00
Paul Hu
2d20cd2378 Merge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library"
am: 3db9cfe660

Change-Id: I387332fd5914474010eb1b29d6543028457599df
2019-04-02 20:16:43 -07:00
Paul Hu
3db9cfe660 Merge "Make CaptivePortalProbeSpec and CaptivePortalProbeResult as a library" 2019-04-03 02:42:06 +00:00
Po-Chien Hsueh
4167b42f89 Use FeatureFlagPersistent to guard DynamicSystem
Check persistent feature flag 'settings_dynamic_system' before
invoking the installation service. User can still use gsi_tool if
the device is unlocked.

Bug: 119647479
Test: Verified with 'adb shell am' and test app.
Change-Id: If2265d877bc7eedf9b7a107bba04d2e95cf1b89a
2019-04-03 10:29:31 +08:00
Po-Chien Hsueh
c5b6931f27 Make feature flag settings_dynamic_system persistent
Bug: 119647479
Test: turn on/off feature flag and use DynamicSystem
Change-Id: I2b2591f7a937cbe74d67cbfb95b778d2cfa32abb
2019-04-03 10:29:31 +08:00
Jian Jin
368ae7ff10 Merge "Logging atom TOMB_STONE_OCCURRED when a tombstone file added to dropbox." 2019-04-03 00:07:46 +00:00
TreeHugger Robot
fd283c35f0 Merge "Camera: Relax logical camera stream combination requirement" 2019-04-03 00:06:53 +00:00
Torne (Richard Coles)
5ca7aec419 Remove IWebViewUpdateService.isFallbackPackage.
All callers have been updated to no longer depend on this.

Bug: 129470358
Test: m checkbuild
Change-Id: Iff88e2825a9d1406b5d8f100ddcc5a11bdff2e68
2019-04-02 18:14:54 -04:00
jianjin
332d1a9e01 Logging atom TOMB_STONE_OCCURRED when a tombstone file added to dropbox.
Bug: 126127632
Change-Id: I09b8649e0b53bce13b7a42c80b06bf354196e9af
Fix: 126127632
Test: manually test by triggering tombstone and check statsd log
2019-04-02 14:27:32 -07:00
TreeHugger Robot
29e5ea6741 Merge "Fix ConditionVariable.block to use elapsedRealtime." 2019-04-02 21:21:48 +00:00
TreeHugger Robot
4b24efed67 Merge "OMS: rename methods to include package downgrades" 2019-04-02 21:05:40 +00:00
TreeHugger Robot
452d42f517 Merge "Pick the primary color as the best color to use." 2019-04-02 20:53:39 +00:00
Michael Wachenschwanz
c2a64487ae Merge "Clarify timebase for UsageStats Api" 2019-04-02 20:52:50 +00:00
Jian Jin
faccd8717c Merge "Create and log atom SystemServerWatchdogOccurred, TombStoneOccurred." 2019-04-02 19:57:08 +00:00
Andrii Kulian
a2236cb932 Merge "Update Activity lifecycle documentation" 2019-04-02 19:38:44 +00:00
Joe Onorato
5da1b3dc05 Fix ConditionVariable.block to use elapsedRealtime.
System.currentTimeMillis() is NEVER okay to use to calculate a time delta.
The original spirit of this probably should have used SystemClock.uptimeMillis(),
but use SystemClock.elapsedRealtime because it's the same as
System.currentTimeMillis() in all the cases where System.currentTimeMillis() is
correct.

Test: Treehugger
Change-Id: Ib6e090425af83e7e822fb12814d87e8a37e2d2ac
2019-04-02 19:19:13 +00:00
Robert Snoeberger
a6684f6713 Pick the primary color as the best color to use.
Previously, the best color was picked by checking the colors
against the blacklist. The logic was for picking the best color
was broken When the blacklist was removed for
b/124180048.

Fixes: b129762944
Test: New test points added to TonalTest.java
Change-Id: Ie51806735910bb40e5e66d7baf545ea213e4a01e
2019-04-02 15:15:38 -04:00
Mårten Kongstad
15a0ac0d76 OMS: rename methods to include package downgrades
The overlay manager service handles package upgrades and downgrades the
same way: all it cares about is a difference in versions, not if the new
version has a higher or lower value. In both cases, the same family of
methods are called: onPackageUpgrading and onPackageUpgraded.

Rename onPackageUpgrading and onPackageUpgraded to onPackageReplacing
and onPackageReplaced to better highlight that both upgrades and
downgrades are supported.

Test: atest OverlayDeviceTests OverlayHostTests
Change-Id: I04c5c550f504114c22bb30d35c9f2809194d2543
2019-04-02 18:47:31 +00:00
TreeHugger Robot
a50bed00f3 Merge "SurfaceView: Correct comparison operator." 2019-04-02 18:14:53 +00:00