312970 Commits

Author SHA1 Message Date
TreeHugger Robot
ca687ac39a Merge "Change requestWait API according to request" into oc-dev 2017-04-07 13:19:12 +00:00
Jorim Jaggi
5515b12bee Fix thread booster
If thread was boost priority already before boosting we reset it
to default priority after.

Test: Open app, run systrace, make sure priorities are right
Bug: 36631902
Change-Id: I763be06c0dc68db73548b22f96dd07864a6ace1f
2017-04-07 15:16:55 +02:00
Wale Ogunwale
a10fc7e294 Don't show alert window notifications when in Vr mode.
Change-Id: I6ef60682197f6581fb101598290b2390ea676091
Fixes: 35854095
Test: manual
2017-04-07 06:14:21 -07:00
Gustav Sennton
963dbbbdb6 Remove WebView-fallback code for handling the non-functional stub.
We have already removed the non-functional WebView stub, so we can now
remove the logic ensuring that a primary device user could use any
valid WebView package even when a secondary user did not have any
WebView package to choose from (since all device users should always
have a valid package to use as WebView implementation).

Bug: 34730873
Test: run WebViewUpdateServiceTest tests.
Test: Create new user, disable Chrome for that user, ensure WebView
loads for that user and for the primary user.
Change-Id: Ia77cc2efd9e40a157fb5b68a988425ef15508033
2017-04-07 12:59:20 +00:00
TreeHugger Robot
087daa0da5 Merge "Add NETWORK_STACK permission" into oc-dev 2017-04-07 12:40:24 +00:00
Filip Pavlis
59dd2ebfc1 Merge "Omit using ctor of PreferenceViewHolder in tests." into oc-dev 2017-04-07 10:31:44 +00:00
Michal Karpinski
1ee80dd46c Removed unused variables in PerformBackupTask#finalizeBackup()
The unused variables got left behind after changes in ag/1841867.

Bug: 35994670
Test: it builds
Change-Id: Ic28719dafb83542d7e4c73cb48508d6792d10174
2017-04-07 11:08:27 +01:00
TreeHugger Robot
327c0b9f88 Merge "Do not make strong reference to Resources." into oc-dev 2017-04-07 06:21:00 +00:00
Chad Brubaker
8d7b36f0ec Expose package_verifier_user_consent to Instant Apps
Test: manual
Bug: 37119785
Change-Id: I0a6deb96f1267f3f80bcf017d898fcf365515353
2017-04-06 22:57:18 -07:00
Lorenzo Colitti
ab19a04855 Add NETWORK_STACK permission
Add a new permission that only allows other system services to call
networking related methods.  This permission is intended to prevent
other apps from calling these methods that might leave networking
services in intermediate states.

Bug: 36538042
Test: build, run wifi unit tests, boots, wifi connects
Change-Id: Icba6ad5280e9a8863bd1c706ca34b7add8de5294
(cherry picked from commit fa84050a7e51e2a6643ea242b43f16cd6e3114dd)
2017-04-07 05:37:21 +00:00
Felipe Leme
7d5adb5b86 Autofill Partitioning: support multiple SaveInfos.
Bug: 35707731
Test: CtsAutoFillServiceTestCases (with new tests) pass

Change-Id: I2f234ca13c7e74f84c762473e38f938ed47f216f
2017-04-06 22:19:22 -07:00
Bryce Lee
2d2315a66d Do not make strong reference to Resources.
This CL removes the strong reference added for mapping display ids
and Resources to Displays. Instead, the key pair is now the display
id and ResourcesKey, and the mapping is pruned when key is
invalidated.

Change-Id: I60d767b52de7bbf769f6761f5a3301dd7aff6ddf
Fixes: 36625868
Test: make -j32 cts; cts-tradefed; run cts --module CtsAppTestCases --test android.app.cts.DisplayTest#testRotation
2017-04-06 21:32:31 -07:00
TreeHugger Robot
8ce439a768 Merge "NetworkPolicyManagerService: turn off rule debugging" into oc-dev 2017-04-07 03:47:26 +00:00
Philip P. Moltmann
3c002e45dd Merge "Return inet addr for discoverable printers" into oc-dev 2017-04-07 03:04:17 +00:00
TreeHugger Robot
53b6f00dc5 Merge "Who wants...to live...forever? The "Save for Autofill?" dialog does!" into oc-dev 2017-04-07 03:00:07 +00:00
TreeHugger Robot
6c171f35be Merge "Log excessive remote callbacks" into oc-dev 2017-04-07 02:58:53 +00:00
Calin Juravle
1fd46de245 Merge "Check for a null packageInfo before notifying about app install" into oc-dev 2017-04-07 02:53:22 +00:00
Casey Burkhardt
ecb5b5ccc3 Merge "Revise Accessibility button chooser intent/permissions" into oc-dev 2017-04-07 02:40:14 +00:00
TreeHugger Robot
c56d782e13 Merge "Add UPDATE_TZDATA to config updater intents" into oc-dev 2017-04-07 02:28:23 +00:00
Jason Monk
eaf6b3b193 Merge "Tuner plugin settings updates" into oc-dev 2017-04-07 01:39:28 +00:00
TreeHugger Robot
be41b61216 Merge "Added onMovedToDisplay method to WebView" into oc-dev 2017-04-07 01:18:59 +00:00
Philip P. Moltmann
9b6dd2b2c1 Change requestWait API according to request
Test: USB Device CTSVerifier test
Change-Id: Ib55bed248d7b37c6f5f4a7be7ec2d90a7ac396c7
Fixes: 36555805
2017-04-06 18:13:53 -07:00
Felipe Leme
db5f6c00a4 Who wants...to live...forever? The "Save for Autofill?" dialog does!
Fixes: 37083017
Test: manual verification
Test: CtsAutoFillServiceTestCases pass

Change-Id: Id177fb59810956e4b43c1d357de415d64ab9d89a
2017-04-06 18:03:39 -07:00
Kevin Chyn
8d1a52803d renaming/removing fingerprints should be reflected in UI immediately
Fixes 30252265
Test: manual

Change-Id: I1828a9f24f732ae3026074fe58542988ca839ef7
2017-04-06 17:51:39 -07:00
TreeHugger Robot
809b79da2f Merge "Add metrics for nav buttons through KeyButtonView" into oc-dev 2017-04-07 00:39:31 +00:00
TreeHugger Robot
ad27aa11b1 Merge "NotiViewWrapper: Fix test that breaks on master" into oc-dev 2017-04-07 00:26:34 +00:00
Calin Juravle
d34076385d Merge "Reconcile secondary dex paths when compiling with adb shell cmd..." into oc-dev 2017-04-07 00:24:25 +00:00
Calin Juravle
31762dd9a0 Merge "Pass SElinux info to installd dexopt" into oc-dev 2017-04-07 00:23:47 +00:00
Andrii Kulian
ff15be677b Merge "Add system config to specify Multi-Display support" into oc-dev 2017-04-07 00:22:44 +00:00
TreeHugger Robot
3879a39ee6 Merge "Fix crash when using list of enabled a11y services" into oc-dev 2017-04-07 00:08:24 +00:00
William Luh
1b54760eee Merge "Fix injected settings titles not matching a locale change." into oc-dev 2017-04-07 00:00:44 +00:00
Hugo Benichi
5d2f2b51f9 NetworkPolicyManagerService: turn off rule debugging
Left over from Change-Id Ic75d4f7a8853e6be20e51262c4b59805ec35093a.

Test: no functional changes
Bug: 37084734
Change-Id: Ifb10b4fe146bb6bea6260d8cd723a8e7f5b853a9
2017-04-07 08:53:25 +09:00
Amith Yamasani
18a23f2fd8 Log excessive remote callbacks
Bug: 36778087
Test: N/A
Change-Id: Ifb02fe09e3c0869f7f6c741f886421064e5c1b8a
2017-04-06 16:38:25 -07:00
TreeHugger Robot
34cb00ac83 Merge "SurfaceControl: Crash due to invalid JNI cast" into oc-dev 2017-04-06 23:35:38 +00:00
Adrian Roos
2f6bef2c17 Revert "Ignore a broken test until it can be fixed."
This reverts commit 1ee48434efc8129c604b20eae90605b0098f674e.

Change-Id: Ie51d2931a6bafb187902c6ac845066ca70937f2c
2017-04-06 23:06:24 +00:00
TreeHugger Robot
5362f10dad Merge "Set android.display thread to top-app cpusets and schedtune group" into oc-dev 2017-04-06 22:51:42 +00:00
Tima Vaisburd
134752b471 Added onMovedToDisplay method to WebView
Delegate the action to WebViewProvider, by default it is no-op.

Bug: 36006397
Test: There is no implementation yet to test.
Change-Id: Ib5101d3669a92ae81cfb34cc5db607c374712a3d
2017-04-06 15:50:05 -07:00
Dongwon Kang
9c1e85384e Merge "Add intent to intialize programs on APP installed" into oc-dev 2017-04-06 22:49:50 +00:00
TreeHugger Robot
6f5db9a2a8 Merge "Don't start a partition when session is pending FillResponse authentication." into oc-dev 2017-04-06 22:42:03 +00:00
Adrian Roos
4c720d2c13 NotiViewWrapper: Fix test that breaks on master
oc-dev allows constructing views with a null context, but
that doesn't work any longer on master.

Bug: 36430936
Change-Id: If069f81d54e3e3b9145ca5187b87888cd6173c0f
Merged-In: If069f81d54e3e3b9145ca5187b87888cd6173c0f
2017-04-06 22:41:50 +00:00
Adrian Roos
0bcaa27ceb AOD: More VisD updates
- Change alpha for clock on AOD2
- Increase header bottom margin on ambient notification

Fixes: 37089014
Bug: 30876804
Test: visual inspection
Change-Id: If7ba1a51fdce3167129e8d8845bcb4a09b22a78d
2017-04-06 15:39:29 -07:00
TreeHugger Robot
9e96ecfe9c Merge "Preserve app window when it requests a relaunch" into oc-dev 2017-04-06 22:32:39 +00:00
TreeHugger Robot
e263940142 Merge "Add lower case charging string." into oc-dev 2017-04-06 22:30:49 +00:00
TreeHugger Robot
7a7c0ace82 Merge "Removed deprecated onFillRequest() method" into oc-dev 2017-04-06 22:20:49 +00:00
Jason Monk
1b77565a6f Add metrics for nav buttons through KeyButtonView
Doesn't cover home-long-press or overview, but those appear to be
covered by other events.

Test: runtest systemui
Merged-In: I590b52765aaef3c2bf573ce8ab980aa992b1d5b0
Change-Id: I630356245e223a3fb8d4d2fe11be5d498227c0e3
Fixes: 25931698
2017-04-06 15:19:14 -07:00
TreeHugger Robot
610b55e8bc Merge "Use hwservicemanager getTransport." into oc-dev 2017-04-06 22:15:08 +00:00
TreeHugger Robot
5883a40931 Merge "Add showChargingMethod in BatteryInfo" into oc-dev 2017-04-06 22:06:25 +00:00
Sudheer Shanka
e78467f671 Merge "Add tests for verifying network availability on activity start." into oc-dev 2017-04-06 22:06:20 +00:00
Sudheer Shanka
d17ebaba9a Merge "Fix testWaitForNetworkStateUpdate." into oc-dev 2017-04-06 22:05:55 +00:00
Roozbeh Pournader
9fe1c12127 Special-case English for DateTime and Time key listeners
Because English time patterns use uppercase letters by default (and a
comma to separate date and time when both are represented), we were
concluding they need internationalized input. Although they
literally do, let's keep the world simple and assume they don't need
internationalized input.

Compared to Nougat, we will now accept uppercase AM and PM and comma
for English if the IME allows them, we just continue to not signal
that an internationalized layout is needed.

Test: CTS tests pass
Bug: https://code.google.com/p/android/issues/detail?id=2626
Bug: https://code.google.com/p/android/issues/detail?id=82993
Bug: 8319249
Bug: 33276673
Bug: 34394455
Bug: 37079150
Change-Id: I82bfde323ba49ae1a27ff5c2e729063b7d81dcc8
2017-04-06 14:48:28 -07:00