Commit Graph

92394 Commits

Author SHA1 Message Date
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
TreeHugger Robot
a50bed00f3 Merge "SurfaceView: Correct comparison operator." 2019-04-02 18:14:53 +00:00
Andrew Sapperstein
4e4768b989 Merge "Default enable feature flag for Safety Hub" 2019-04-02 17:32:25 +00:00
Chavi Weingarten
ace4f6a018 Merge "Remove closeTransactionSync since it's no longer used." 2019-04-02 17:12:07 +00:00
Lucas Dupin
d9c4cac4c7 Merge "Do not colorize dark mode actions" 2019-04-02 16:58:27 +00:00
John Reck
44eaac327b Merge "Fix performance regression in textclassifier" 2019-04-02 16:38:48 +00:00
Benjamin Miller
4c26bb6751 Merge "docs: Linked VpnService class description to guide." am: 97f778f0b5 am: a2443f115e
am: ff94fa9d4e

Change-Id: I0758c4d7c79810bbb0c7a78a803f5e875f35cf48
2019-04-02 08:45:38 -07:00
Benjamin Miller
ff94fa9d4e Merge "docs: Linked VpnService class description to guide." am: 97f778f0b5
am: a2443f115e

Change-Id: I2a43d91af59ea51a8f81aecc0970e7ba77eaa3b1
2019-04-02 08:36:21 -07:00
Benjamin Miller
a2443f115e Merge "docs: Linked VpnService class description to guide."
am: 97f778f0b5

Change-Id: I567720f4d1410b5d2da415321d7eebc2f79f35f6
2019-04-02 08:28:16 -07:00
Treehugger Robot
97f778f0b5 Merge "docs: Linked VpnService class description to guide." 2019-04-02 15:14:28 +00:00
Cody Northrop
236b283b4e Merge "ANGLE: Allow libs from debug package" 2019-04-02 13:47:30 +00:00
Alan Stokes
aa07312d8d Merge "Allow background activity starts to be controlled by DeviceConfig." 2019-04-02 12:57:50 +00:00
Paul Hu
1d5f6d3b9e Merge "Address leftover comments on 923337 and 930217." am: 1e97aab6f4 am: 55a22b5d17
am: 1d7b92b9d5

Change-Id: I75eadb66c81d72c768e77feddd383d60f8accd65
2019-04-02 01:29:08 -07:00
Paul Hu
1d7b92b9d5 Merge "Address leftover comments on 923337 and 930217." am: 1e97aab6f4
am: 55a22b5d17

Change-Id: Ibbc8dd7bb869f76515c9f57793db02953dd07804
2019-04-02 01:14:24 -07:00
Paul Hu
55a22b5d17 Merge "Address leftover comments on 923337 and 930217."
am: 1e97aab6f4

Change-Id: I733160ae51b8f0e80f78ab375cdb0a547b74f68d
2019-04-02 00:58:18 -07:00
Paul Hu
1e97aab6f4 Merge "Address leftover comments on 923337 and 930217." 2019-04-02 07:39:04 +00:00
Mohammad Samiul Islam
20da56d267 Merge "Improve PackageInfo parsing for apex files" 2019-04-02 05:33:44 +00:00
TreeHugger Robot
d5cfd7f985 Merge "Migrate away from WebView fallback logic." 2019-04-02 04:14:44 +00:00
Steven Moreland
0ec1b0f9de Merge "Revert "Revert "Preload non-bootclasspath Java lib ClassLoaders.""" am: 4b5ca28dfe am: 4e709ea3fd
am: 96724b57ae

Change-Id: I3de2f4b4fb092d0db5001209d68ea217e150b8da
2019-04-01 20:14:55 -07:00
Jeff Sharkey
5a326402be Merge "Remove greylist of apps that gain legacy access." 2019-04-02 02:59:38 +00:00
Steven Moreland
96724b57ae Merge "Revert "Revert "Preload non-bootclasspath Java lib ClassLoaders.""" am: 4b5ca28dfe
am: 4e709ea3fd

Change-Id: Ia5b6280f17a67f0fa791f36544a77e2af99e7e0e
2019-04-01 19:50:13 -07:00
Steven Moreland
4e709ea3fd Merge "Revert "Revert "Preload non-bootclasspath Java lib ClassLoaders."""
am: 4b5ca28dfe

Change-Id: I63fa6d4a8671db24bf9fce898414c27068547ed2
2019-04-01 19:38:43 -07:00
Steven Moreland
4b5ca28dfe Merge "Revert "Revert "Preload non-bootclasspath Java lib ClassLoaders.""" 2019-04-02 02:19:44 +00:00
Lucas Dupin
f15c5e5181 Do not colorize dark mode actions
Test: visual
Fixes: 120080173
Change-Id: I9f016670aa88f13b7fd99e89a509a56f62926797
2019-04-01 19:00:12 -07:00
Jeff Sharkey
68b3e186c2 Remove greylist of apps that gain legacy access.
Per design pivot, access to legacy behavior will be determined by
the new "allowExternalStorageSandbox" manifest flag.

Bug: 124818022, 129487770
Test: atest --test-mapping packages/providers/MediaProvider
Test: atest android.appsecurity.cts.ExternalStorageHostTest
Change-Id: I169e5eb3612c23aad47204cde9ff263f9df6f8c1
2019-04-01 18:48:52 -06:00
TreeHugger Robot
10fbf9a3f5 Merge "Adds @NonNull to getChildSessionIds" 2019-04-02 00:42:42 +00:00
Jack He
fac8c40ba5 Merge "BluetoothHealth: hide auto-created default constructors" am: 463454432b am: 39a6d731bb
am: f08eadc878

Change-Id: I042170e4b06ee298c063a84c8f7aaabe58a4c0dd
2019-04-01 17:40:49 -07:00
Mathieu Chartier
eecf228d5d Merge "Pass debug.allocTracker.stackDepth to runtime if it exists" am: 72e80b5b1a am: efeaad3225
am: e58f122e19

Change-Id: I40fc2836471279635acc26c06aa4a18a183947f9
2019-04-01 17:32:46 -07:00
Jack He
f08eadc878 Merge "BluetoothHealth: hide auto-created default constructors" am: 463454432b
am: 39a6d731bb

Change-Id: If1410685d139f44a87648bfdb87094cd30ec8462
2019-04-01 17:18:16 -07:00
Mathieu Chartier
e58f122e19 Merge "Pass debug.allocTracker.stackDepth to runtime if it exists" am: 72e80b5b1a
am: efeaad3225

Change-Id: I16ff57136a2f53e97b494c866ac3497e00996823
2019-04-01 17:11:04 -07:00
Philip P. Moltmann
8f8cf3430b Merge "Remove dual storage permission model" 2019-04-01 23:45:23 +00:00
Philip P. Moltmann
129a0b0c5e Remove dual storage permission model
- Also remove typed media permissions
- Leave typed media app-ops

Bug: 129716569
Test: Used apps, looked at permissions in the UI
Change-Id: If7714fb1a6955584157e1a60ab72b09e35287827
2019-04-01 16:30:11 -07:00
Jack He
39a6d731bb Merge "BluetoothHealth: hide auto-created default constructors"
am: 463454432b

Change-Id: I51d7f625dd2bcb81fec4bcf25822d1533cbc5cee
2019-04-01 16:29:30 -07:00
Mathieu Chartier
efeaad3225 Merge "Pass debug.allocTracker.stackDepth to runtime if it exists"
am: 72e80b5b1a

Change-Id: Iaf05e6a285dbf626854a3b37101bea032af3a7a8
2019-04-01 16:24:14 -07:00
John Reck
bcc0b914e3 Fix performance regression in textclassifier
DeviceConfig is far too slow to be used here, so
disable it.

Test: trace calculator launch
Change-Id: I6b7ab56e4015448ee068deb49e7f6fa133fea53c
2019-04-01 16:00:24 -07:00
Treehugger Robot
463454432b Merge "BluetoothHealth: hide auto-created default constructors" 2019-04-01 22:37:43 +00:00
TreeHugger Robot
53046156ac Merge "Removing API to access app usage as it is no long public" 2019-04-01 22:30:12 +00:00
Svetoslav Ganov
8c45f11b79 Merge "Add missing argument and return annotations" 2019-04-01 22:30:03 +00:00
Robert Carr
57f026191e SurfaceView: Correct comparison operator.
We show the background when the Surface view is BEHIND
not when it is in front.

Bug: 129359905
Test: SurfaceViewSurfaceValidatorTest#testOnTopHasNoBackground
Change-Id: I3f3139d50972626e4c70139f1008d70d2935cd0b
2019-04-01 15:27:26 -07:00
Svetoslav Ganov
51b78e305d Merge "Add missing nullability annotations" 2019-04-01 22:12:35 +00:00
TreeHugger Robot
ddc438d13d Merge "Update javadoc on BatterySaverPolicyConfig" 2019-04-01 22:09:19 +00:00
TreeHugger Robot
817d9b671f Merge "Add a "More" item for the new default apps list." 2019-04-01 22:07:07 +00:00
Torne (Richard Coles)
ef47890d65 Migrate away from WebView fallback logic.
We no longer need to support fallback packages and need to migrate them
back to being enabled (but only once, to allow the user to disable them
manually later). This CL:

1) Removes the logic which enables/disables packages and the test cases
   which only cover the enabling/disabling logic.

2) Checks at boot time if the fallback logic is enabled; if so, it
   re-enables the fallback package if one exists and then disables the
   fallback logic permanently.

3) Amends remaining test cases to use "primary" and "secondary" instead
   of primary/fallback, to keep testing that higher priority packages
   are more preferred without involving the fallback behaviour.

4) Fixes a bug in the package selection logic that would not have
   triggered in the previous setup (as our production configs never had
   more than one available-by-default, non-fallback packages) that was
   revealed by one of the modified test cases: the boot time logic to
   reset the user's setting if their previously chosen provider was no
   longer available triggered even if the user had not actually chosen a
   provider, causing the automatically selected provider to be
   considered a manual user choice, and preventing a higher priority
   provider from being automatically chosen if it later becomes
   available.

Bug: 126588129
Test: atest WebViewUpdateServiceTest
Change-Id: I532c0faae2427de7132f716725bf62e256975410
2019-04-01 17:31:48 -04:00
TreeHugger Robot
8ad3e75bb1 Merge "Revert "Revert "Checkng upper bound in *Array classes.""" 2019-04-01 21:31:15 +00:00
Patrick Baumann
b00bd62157 Adds @NonNull to getChildSessionIds
Addresses API council feedback to appropriately annotate
SessionInfo.getChildSessionIds.

Test: None
Bug: 126699287
Change-Id: Iaebc4f2db07b359cef0aff863e517c221259b47c
2019-04-01 14:21:51 -07:00
Jack He
875ff327e0 BluetoothHealth: hide auto-created default constructors
Fixes: 123926561
Test: make
Change-Id: I388472c82eaca245285b5ecf2959c415508d7e69
2019-04-01 13:19:54 -07:00
Shuo Qian
4fb4320a5e Merge "Clean up Call redirection setting" 2019-04-01 20:16:22 +00:00
John Reck
a3151aa9eb Merge "Disable checkThread temporarily" 2019-04-01 20:11:16 +00:00
Makoto Onuki
c458c07dd3 Update javadoc on BatterySaverPolicyConfig
Change-Id: I21a536a603174ee859b49689f4a16184adab6813
Fix: 129473934
Test: Treehugger
2019-04-01 12:56:27 -07:00
Michael Groover
d18900b937 Merge "Remove unused code and cleanup parameters for DPM dev ID access" 2019-04-01 19:27:42 +00:00