Commit Graph

362842 Commits

Author SHA1 Message Date
Mehdi Alizadeh
32a7c19c5b Changes ONN notification texts to re-use with CNN
Changes the notification text for Open Network Notifier generic, to be
able to use the same notifications for both ONN and CNN. Also updates
some comments.

Bug: 76031490
Test: manual test to see the notification and verify the text
Change-Id: Idd921703ab99ded8dc67a31c3409ef8046ff8887
2018-03-22 23:14:12 +00:00
Mehdi Alizadeh
2449819b69 Adds entries for Soft AP channel and bandwidth
Bug: 72643031
Test: It builds
Change-Id: I4d6053df5bb9c5d7eee6857bcc097a49922f7966
2018-03-22 23:12:01 +00:00
TreeHugger Robot
0205fd1064 Merge "Add MANAGE_IPSEC_TUNNELS Permission" into pi-dev 2018-03-22 23:10:11 +00:00
TreeHugger Robot
3c0f0b3e8b Merge "Only print out services if they did something." into pi-dev 2018-03-22 23:01:31 +00:00
TreeHugger Robot
5526509f17 Merge "Don't try to create a process group when not root." into pi-dev 2018-03-22 23:00:54 +00:00
TreeHugger Robot
a93efabc24 Merge "Allow apps to call startRecognition(UUID, Bundle, ComponentName, RecognitionConfig) via reflection" into pi-dev 2018-03-22 23:00:31 +00:00
TreeHugger Robot
e9a7cb8158 Merge "Fix smart_linkify_enabled flag." into pi-dev 2018-03-22 22:56:58 +00:00
TreeHugger Robot
c6de4240d5 Merge "QS edit mode fixes." into pi-dev 2018-03-22 22:51:09 +00:00
TreeHugger Robot
4fb9723faa Merge "Fixes hiding track for quick scrub" into pi-dev 2018-03-22 22:43:28 +00:00
TreeHugger Robot
7fd2abdf41 Merge "PhoneWindowTest: promote to presubmit" into pi-dev 2018-03-22 22:41:40 +00:00
Rose Liu
a194d92495 Merge "Assign -1 as default value of window type and owner uid." into pi-dev 2018-03-22 22:27:50 +00:00
TreeHugger Robot
3a31f6c5cc Merge "Removed urlBarResourceId." into pi-dev 2018-03-22 22:22:30 +00:00
TreeHugger Robot
6affc07065 Merge "APIs to suspend packages with SUSPEND_APPS permission" into pi-dev 2018-03-22 22:15:31 +00:00
TreeHugger Robot
fc16c4b3c4 Merge "Listen to all attached QS pages." into pi-dev 2018-03-22 22:07:37 +00:00
Julia Reynolds
224e2fb2ef Merge "Add vol up + power ringer toggle gesture" into pi-dev 2018-03-22 22:03:48 +00:00
Leon Scroggins
ceb14e015b Merge changes from topics "DecodeException_ERROR", "AID_autoStart", "onPartialImage" into pi-dev
* changes:
  Rename ImageDecoder.ERRORs
  Add the ability to autoStart AID from xml
  Re-write onPartialImage API
2018-03-22 21:53:05 +00:00
TreeHugger Robot
e8582d0ca7 Merge "Fix the heap-after-use in DurationAnomalyTracker" into pi-dev 2018-03-22 21:41:35 +00:00
TreeHugger Robot
827a06d4b4 Merge "Record Bluetooth Cumulative Stats Properly" into pi-dev 2018-03-22 21:39:03 +00:00
TreeHugger Robot
23ceeb3a44 Merge "Fix UidMap proto output error. And fix a bug in MaxDurationTracker." into pi-dev 2018-03-22 21:36:50 +00:00
TreeHugger Robot
e7c26531c0 Merge "Disable Bitmap density scaling to Picture" into pi-dev 2018-03-22 21:34:32 +00:00
Felipe Leme
9bea50471f Merge "Enable Autofill Field Classification by default." into pi-dev 2018-03-22 21:20:34 +00:00
Jorim Jaggi
a43de8b61a Merge "Remove old workaround for display issues" into pi-dev 2018-03-22 21:18:49 +00:00
Victor Hsieh
f4f7859149 Merge "Replace pm.dexopt.priv-apps with existing constant" into pi-dev 2018-03-22 21:17:56 +00:00
Nathan Harold
159788455c Add MANAGE_IPSEC_TUNNELS Permission
Add a new MANAGE_IPSEC_TUNNELS permission and
protect all IPsec Tunnel mode APIs with it.
This permission is only granted to the system or
through an AppOp.

Bug: 66955045
Test: compilation
Change-Id: I0f618373b500c493ef2211bece681f74652a1833
2018-03-22 14:16:50 -07:00
Nathan Harold
8a047a0c52 Merge "Add AppOp for IpSec Tunnels" into pi-dev 2018-03-22 21:14:36 +00:00
Ying Xu
812319dc7d Merge "Add more comments for the isConfigForIdentifiedCarrier()" into pi-dev 2018-03-22 21:14:32 +00:00
Kweku Adams
14f3d22336 Only print out services if they did something.
This also fixes a failing CTS test.

Bug: 74975371
Bug: 73490092
Test: flash device and check incident.proto output
Change-Id: I4d0f7d1b45b1b620d903f4b46cbdc04dfe314958
2018-03-22 14:12:55 -07:00
Philip P. Moltmann
1b926a7439 Allow apps to call startRecognition(UUID, Bundle, ComponentName, RecognitionConfig) via reflection
- We don't want to make this a @SystemAPI as this will change
- We need 1st party apps to call this on Pixel devices

Test: Built
Bug: 73829108
Change-Id: I6954767020811ea99ceec17fd17b790c4a1bc0db
2018-03-22 14:06:43 -07:00
Amin Shaikh
f725047ad1 QS edit mode fixes.
- Remove secondary text for system tiles
- Show app name as secondary text for app tiles
- Fix left side cutoff

Change-Id: I010995c8fc42eb8b77360ade4830049e494c129a
Fixes: 74983414
Test: visual
2018-03-22 16:55:52 -04:00
rongliu
3dac23bd4d Assign -1 as default value of window type and owner uid.
Bug: 74622357
Test: Test with ag/3738015 together. Layers without buffers have window
type -1 and owner uid -1.

Change-Id: I6f010bf1327671a06874b75bc0a63a3fb010ced7
2018-03-22 13:44:29 -07:00
Dmitry Dementyev
6f2965af79 Merge "Update RECOVER_KEYSTORE permission documentation." into pi-dev 2018-03-22 20:33:34 +00:00
Yao Chen
c219348186 Merge "Remove unsigned-integer-overflow signed-integer-overflow from sanitizer." into pi-dev 2018-03-22 20:24:41 +00:00
Tyler Gunn
3a4d495733 Merge "Rename handover failure constant per API review comments." into pi-dev 2018-03-22 20:22:20 +00:00
Mathieu Chartier
90ad15400a Merge "Revert "Enable hidden API blacklist"" into pi-dev 2018-03-22 20:11:07 +00:00
David Brazdil
f712b23d56 Revert "Enable hidden API blacklist"
This reverts commit 16bfa11b73.

Reason for revert: Revert until b/76138670 is fixed

Bug: 64382372
Bug: 76138670
Bug: 76157445
Change-Id: Iaf6c76b773fbea4d4710b38808dee2e7e06f5e78
2018-03-22 20:10:26 +00:00
Julia Reynolds
538ba7ac35 Merge "Update duration text" into pi-dev 2018-03-22 20:04:40 +00:00
Suprabh Shukla
021b57ab8d APIs to suspend packages with SUSPEND_APPS permission
Changed the existing hidden api setPackagesSuspendedAsUser to a system
api setPackagesSuspended that can be called by apps with either
MANAGE_USERS or SUSPEND_APPS permission. Additionally, the suspending
app can now specify optional extra information meant to be used by the
suspended apps and the launcher to deal with this state.

The following other APIs are added:
 - isPackageSuspended(): Apps can query whether they are in a suspended
 state
 - @SystemApi getPackageSuspendedAppExtras(String): Apps with permission
 SUSPEND_APPS can get the appExtras passed to PM when suspending the
 app.
 - @SystemApi setPackageSuspendedAppExtras(String, PersistableBundle):
 Apps with permission SUSPEND_APPS can update app extras for a
 suspended package.
 - getPackageSuspendedAppExtras(): Apps can call to get the appExtras
 passed in to PM when they were suspended.

Test: Can be run via:
atest com.android.server.pm.PackageManagerSettingsTests
atest com.android.server.pm.PackageUserStateTest
atest com.android.server.pm.SuspendPackagesTest

Bug: 74336673
Change-Id: I3b9ed2c8478b34ee2e8986f5f5fddb2839d102e3
2018-03-22 12:59:57 -07:00
Andrew Sapperstein
eae9144add Merge "Revert "Update material_deep_teal_500 to #008577."" into pi-dev 2018-03-22 19:31:23 +00:00
Abodunrinwa Toki
6563833cf3 Fix smart_linkify_enabled flag.
The flag should only ensure that smart linkify calls behave in the
legacy way instead of totally disabling linkify.
Also, to keep the flag consistent with smart_selection_enabled and
smart_text_share_enabled flags, the flag should only disable the
SmartLinkify (i.e. Linkify.addLinksAsync) feature not TextClassifier
APIs (i.e. TextClassifier.generateLinks).

Also fixes issue with non-focusable TextViews by firing the primary
action instead of showing the floating toolbar. (b/73156794)

Bug: 75967597
Bug: 73156794
Test: bit FrameworksCoreTests:android.text.util.LinkifyTest
Test: bit CtsTextTestCases:android.text.util.cts.LinkifyTest
Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest
Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest
Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest
Test: manual - checked behaviour turning flag on/off
Test: manual - checked behaviour with TextView.setFocusableInTouchMode(true/false)
Change-Id: I541f60161b9cd63ce7e57235607500f2fb0841e7
2018-03-22 19:25:14 +00:00
yinxu
349b644db3 Add more comments for the isConfigForIdentifiedCarrier()
This is a clean cherry-pick from:
https://android-review.git.corp.google.com/c/platform/frameworks/base/+/642231

Bug:74945742
Test: Compile
Change-Id: Ife3fdf797ca8877ec495d61a8aeed56fa20282a7
Merged-in: Ife3fdf797ca8877ec495d61a8aeed56fa20282a7
(cherry picked from commit cea0d8d488)
2018-03-22 12:08:51 -07:00
Felipe Leme
88b745cce3 Removed urlBarResourceId.
It will be removed before the final P build.

Test: atest FrameworksServicesTests:AutofillManagerServiceTest CtsAutoFillServiceTestCases
Fixes: 74445943

Change-Id: I9bc243a3c1ae78f2c385dbb907d362d8ab16b34c
2018-03-22 11:44:06 -07:00
Nathan Harold
33ed612cca Merge "Add NonNull Annotations To IpSec API Surface" into pi-dev 2018-03-22 18:31:03 +00:00
Makoto Onuki
c7f6eadffc Merge "Move provider access stats to frameworks/base" into pi-dev 2018-03-22 17:42:13 +00:00
Chong Zhang
9e64c01d02 Merge "heif: fix Exif extraction in mtp database" into pi-dev 2018-03-22 17:39:52 +00:00
Felipe Leme
de6dfd93e5 Merge "Don't allow null ids on FillResponse.Builder.setAuthentication()" into pi-dev 2018-03-22 17:36:18 +00:00
Felipe Leme
b030730aa8 Merge "Fixed autofill service metadata name on javadoc sample." into pi-dev 2018-03-22 17:33:36 +00:00
Bo Zhu
88956ce326 Merge "Remove the hard-coded counterId in VaultParams" into pi-dev 2018-03-22 17:32:10 +00:00
Robert Berry
c6bd185565 Merge "Unhide RecoveryController#getRootCertificates()" into pi-dev 2018-03-22 17:23:05 +00:00
Robert Berry
3818de595b Merge "Unhide RecoverySession#recoverKeyChainSnapshot() method" into pi-dev 2018-03-22 17:19:33 +00:00
Leon Scroggins III
cf7294fda6 Rename ImageDecoder.ERRORs
Bug: 73788969
Test: I501e8b76aacd785cb994165ab01dc1b39fea3a1c

Move them into ImageDecoder.DecodeException, which is where they are
actually used. This also provides some more context, so that the prefix
"ERROR_" is no longer necessary, fixing the redundancy/awkwardness in
ERROR_SOURCE_ERROR. Further rename that to SOURCE_MALFORMED_DATA, which
is more descriptive, and does not imply a Java Error.

Change-Id: Ied17ad343650f9c33d9a35b0f9d00ccc22264bd6
2018-03-22 13:09:02 -04:00