Commit Graph

89868 Commits

Author SHA1 Message Date
TreeHugger Robot
02b9592ff1 Merge "Allow onGetSliceDescendants to be slow" into pi-dev 2018-05-11 17:21:28 +00:00
Bo Zhu
90dbb0ed72 Merge "Revert "Revert "Change the root of trust for CryptAuth Vault Service""" into pi-dev 2018-05-11 16:46:16 +00:00
Jason Monk
a66dfee8d0 Allow onGetSliceDescendants to be slow
Because sometimes it needs to be

Test: existing tests
Bug: 79132845
Bug: 77873463
Change-Id: I93aa8553c48c856bf96c347a229be6e770751708
2018-05-11 08:23:59 -07:00
Bo Zhu
bd7879ce3e Revert "Revert "Change the root of trust for CryptAuth Vault Service""
This reverts commit be4f735cb1.

Reason for revert: Resubmit the CL http://ag/3983388 that was reverted. The server side change has been deployed now.

Bug: 78920513
Change-Id: If676799176ecf90fd51a97027a9ff83bec5d4bed
2018-05-11 05:11:11 +00:00
TreeHugger Robot
47a8ecce90 Merge "Add a path to allow detection of task changes to the top of the ActivityView" into pi-dev 2018-05-11 02:45:25 +00:00
Christopher Tate
72da1e6f78 Document system activity intents that may not be implemented
All of these activity-start intents might be unimplemented on some
Android products.  Document this to make sure that developers are
aware of the need to safeguard against this.

Bug: 68300743
Bug: 62201251
Bug: 69587018
Fixes: 77282739
Test: atest CtsContentTestCases:.AvailableIntentsTest
Change-Id: Ia2346d03ccb7f2bdad2b84ba9efff72413fdc3c2
2018-05-10 17:55:26 -07:00
TreeHugger Robot
a1e56fb23b Merge "Expands javadocs for Intent.FLAG_ACTIVITY_MATCH_EXTERNAL" into pi-dev 2018-05-10 18:23:07 +00:00
Patrick Baumann
92ae2c6665 Expands javadocs for Intent.FLAG_ACTIVITY_MATCH_EXTERNAL
This change adds much needed detail to the new MATCH_EXTERNAL flag,
explaining some of the behavior changes that come with using it.

Test: none
Bug: 63117034
Bug: 79325769
Change-Id: Iab320d2171ffe8d8012a2928656ea61d5e0f0862
2018-05-10 10:13:53 -07:00
Bo Zhu
3b0f011709 Merge "Revert "Change the root of trust for CryptAuth Vault Service"" into pi-dev 2018-05-10 15:56:48 +00:00
Bo Zhu
be4f735cb1 Revert "Change the root of trust for CryptAuth Vault Service"
This reverts commit 1f40978609.

Reason for revert: Will resubmit once the server side change is ready

Bug: 79513473
Bug: 78920513
Change-Id: I4c94d307a9181390a59cdc1602cc9d04c1661ad0
2018-05-10 15:53:08 +00:00
Kenny Guy
14d035c969 Fix colorized messaging layout and smart replies.
Modify messaging style and smart replies view to
cope with colorized backgrounds.

Bug: 78928664
Bug: 77927019
Test: atest SystemUITests (with patch from ag/3992401)
Test: visual - see bug for screenshots

Change-Id: Iee66931574fb48d0340986bf520532f798ef59fc
2018-05-10 10:25:14 +01:00
Calin Juravle
9845141701 Merge "Make system server profiling an explicit runtime intent" into pi-dev 2018-05-10 06:03:08 +00:00
Dianne Hackborn
7105e2ca9a Merge "Further flesh out app ops foreground state." into pi-dev 2018-05-10 05:49:08 +00:00
Jaewan Kim
183a63474f Merge "MediaSessionService: Provide caller information for media key events" into pi-dev 2018-05-10 04:48:35 +00:00
Dianne Hackborn
65a4f251c7 Further flesh out app ops foreground state.
Fix some bugs, add the ability to monitor state changes, improve
dumpsys output to help debugging, add a new check API that allows
the caller to get the real state.

Bug: 78480444
Test: atest FrameworksServicesTests:AppOpsServiceTest
Test: atest CtsPermissionTestCases:AppOpsTest
Change-Id: I3d41be9968c1d95a1456f4052da958ea64aa068d
2018-05-09 18:02:35 -07:00
TreeHugger Robot
689866352b Merge "add install action for carrier id to system API" into pi-dev 2018-05-09 22:47:40 +00:00
Calin Juravle
5627db8996 Make system server profiling an explicit runtime intent
Pass an explicit flag to the runtime when we need to profile the system
server. This ensures that we only start the ProfileSaver and allocate the
code cache when needed.

Test: manual, on a device with system server profiling enabled
Bug: 74081010

(cherry picked from commit 8eb891be6f)

Merged-In: I756682a9644796afb53f0c010d2bd2764ea5a828
Change-Id: I756682a9644796afb53f0c010d2bd2764ea5a828
2018-05-09 14:37:56 -07:00
TreeHugger Robot
147ef6b1a4 Merge "Allows disk reads when adding native paths to classloader" into pi-dev 2018-05-09 21:19:53 +00:00
TreeHugger Robot
c8b3e0b617 Merge "DO NOT MERGE: Allow to control behavior of loadSafeLabel" into pi-dev 2018-05-09 21:17:51 +00:00
Jiabin Huang
065df1d75b Merge "Fix shutter sound cannot enable." into pi-dev 2018-05-09 20:43:14 +00:00
Philip P. Moltmann
56c1b4f704 DO NOT MERGE: Allow to control behavior of loadSafeLabel
(Minimal change for P, full change already in master)

Test: looked at package installer UI and saw that labels are not
truncated anymore.
Bug: 77964730

Change-Id: Ia181288a90501f4f563d24dacd6edb0c81406b82
2018-05-09 12:51:43 -07:00
Victor Hsieh
792d36c170 Merge "Allow only selected priv apps to run OOB" into pi-dev 2018-05-09 19:21:22 +00:00
android-build-team Robot
dcb8ec66c5 Merge "Update the Open Mobile API version" into pi-dev 2018-05-09 18:35:47 +00:00
Patrick Baumann
5c5daa4c3f Allows disk reads when adding native paths to classloader
In the cases that the classloader is being updated on the main thread,
temporarily allows disk reads so that native paths can be checked for
directory vs. APK.

Change-Id: I89cab9c7fcb71b8eff8891db974285844affe220
Fixes: 79425683
Test: atest WebViewHostSideStartupTest
2018-05-09 11:17:04 -07:00
Matthew Ng
6317df6e1e Update the snap targets in minimized mode to reflect the correct targets
In minimized mode there is only 1 split snap target compared to regular
portrait that has 30%, 50%, 70% targets. Update the accessibility options
for minimized mode to reflect the correct targets. Also removed the
middle target if there is only 1 split snap target.

Test: using talkback, see custom options on divider handle in minimized
mode
Fixes: 78304300

Change-Id: I8421499616cf0fe503c1f6a081a2151098640a9c
2018-05-09 17:48:33 +00:00
android-build-team Robot
738b0a8b42 Merge "Change the root of trust for CryptAuth Vault Service" into pi-dev 2018-05-09 17:29:06 +00:00
android-build-team Robot
643d9256d9 Merge "Fix a typo in the API doc of TextView#setKeyListener()" into pi-dev 2018-05-09 17:06:33 +00:00
android-build-team Robot
8d6571aeed Merge changes I5851dd16,Id196307f into pi-dev
* changes:
  OMS: harden permission checks
  Add missing fields to OverlayInfo.hashCode
2018-05-09 16:55:26 +00:00
Rubin Xu
54a514eda0 Merge "Allow profile owner to disable iris/face on personal keyguard" into pi-dev 2018-05-09 16:06:43 +00:00
Jiyong Park
7df104c4bb Merge "Basedir of a bundled app is added to the permitted paths" into pi-dev 2018-05-09 14:48:45 +00:00
Victor Hsieh
785d618b1a Allow only selected priv apps to run OOB
- Add pm.dexopt.priv-apps-oob-list to allow selecting specific packages
  to run OOB, in a comma-separated string of package names. When set to
  "ALL" (default), all priv apps will run in OOB.
- Add a global config priv_app_oob_list to persist the state for
  experiment.
- Also make background dexopt to respect the config.

Test: 0. Reset previous OOB settings.
      1. settings put global priv_app_oob_list \
         com.google.android.gms,com.android.vending
      2. cmd package compile -m speed -f com.google.android.gms (then
         com.android.vending, com.google.android.googlequicksearchbox)
      3. dumpsys package dexopt
         # .vending and .gms are "verify", .googlequicksearchbox is
         # "speed".
Test: settings put global priv_app_oob_list 'ALL'  # see the same result
Test: settings delete global priv_app_oob_list  # see the same result
Test: atest SettingsBackupTest
Bug: 30972906
Bug: 63920015
Change-Id: Iba47b4763a026cdc94939db0a743822278917269
2018-05-09 07:45:51 -07:00
android-build-team Robot
caec3f0acb Merge "Introduce hidden constant EXTRA_PROVISIONING_USE_MOBILE_DATA" into pi-dev 2018-05-09 11:55:26 +00:00
android-build-team Robot
9856d151f2 Merge "Camera: Specify session parameter build requirements" into pi-dev 2018-05-09 08:07:50 +00:00
Michael Kwan
9327d2d757 Merge "Add watch specific tweaks to global actions layouts." into pi-dev 2018-05-09 01:53:50 +00:00
Yohei Yukawa
3128ebd880 Fix a typo in the API doc of TextView#setKeyListener()
Fix: 79436805
Test: make -j docs
      Then check out/target/common/docs/offline-sdk/reference/android/widget/TextView.html#setKeyListener(android.text.method.KeyListener)
Change-Id: I6c0d2a3af9434240c4e6e931185bc4f21b2e2b52
2018-05-08 17:11:33 -07:00
Bo Zhu
1f40978609 Change the root of trust for CryptAuth Vault Service
Change-Id: I99899e7e6c090cf22cf31b0b4d5fd3e33dcb2f8f
Bug: 78920513
Test: adb shell am instrument -w -e package
com.android.server.locksettings.recoverablekeystore
com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner
2018-05-08 16:33:49 -07:00
Mårten Kongstad
3e9331125a Add missing fields to OverlayInfo.hashCode
OverlayInfo.category was inadvertently omitted when calculating the hash
code for an OverlayInfo.

Bug: 78809702
Test: atest OverlayHostTests OverlayDeviceTests
Change-Id: Id196307f75569d851503ffd8ef778aec50c2de37
2018-05-08 15:38:22 -07:00
fionaxu
2776ed56b8 add install action for carrier id to system API
Bug: 79426800
Test: Manual
Change-Id: Icd3e9ae527dc17ab5762aa57df596f058de08d5b
2018-05-08 15:25:40 -07:00
Rohan Shah
7af8fe3e29 Merge "Add knobs for tweaking blocking helper thresholds" into pi-dev 2018-05-08 21:00:07 +00:00
Makoto Onuki
0c2985384b Merge "Pre-cache more system servers" into pi-dev 2018-05-08 20:25:11 +00:00
jiabin
e059e45b05 Fix shutter sound cannot enable.
Bug: 79307231
Test: run cts and take picture with/withour dnd mode.
Change-Id: I9d4166d07b38ffae735aa63dad075bdb2def9a5a
2018-05-08 13:16:50 -07:00
Alex Chau
eca99a0ae1 Introduce hidden constant EXTRA_PROVISIONING_USE_MOBILE_DATA
- EXTRA_PROVISIONING_USE_MOBILE_DATA is to indicate mobile data should be used for device owner provisioning
- This constant is hidden as API for P is already frozen. The constant hardcoded by developers in a QR code or NFC payload, which should work in P regardless if the constant is hidden.
- Our team will be responsible of communicating this new extra to developers desposite it's not appearing in public javadoc

Bug: 78594515
Test: None
Change-Id: I06000cf9156ef54adc3c8fe12fdb3fa73075a859
2018-05-08 20:42:15 +01:00
android-build-team Robot
ac10be860f Merge "Use the non-chained interface for mobile/wifi power atoms." into pi-dev 2018-05-08 19:27:47 +00:00
Dianne Hackborn
330dd0b244 Merge "Make android:cantSaveState an optional feature." into pi-dev 2018-05-08 17:59:32 +00:00
Makoto Onuki
4589565b63 Pre-cache more system servers
Bug: 78792330
Test: Boot system
Change-Id: Id65d9f7d9a697e3c85b410e5da4028a712e4347a
2018-05-08 10:01:16 -07:00
android-build-team Robot
8ea760c815 Merge changes I1539580e,I8452e799 into pi-dev
* changes:
  Volume dialog mulit-streams have 8dp padding
  Check if alarm and now times are in schedule
2018-05-08 16:41:47 +00:00
Rohan Shah
0350dab5b6 Add knobs for tweaking blocking helper thresholds
Added both blocking helper parameters to Global Settings to allow for
tweaking stats/values. Added listeners for value updates (so that
channels are updated properly with new thresholds).

Bug: 77143005
Test: manually, test cases
Change-Id: Ia5cfb29ca40500a694261bd5e9e60fa1f34e742a
2018-05-08 09:34:38 -07:00
android-build-team Robot
291b944d89 Merge "Adding batterystats history to proto dump." into pi-dev 2018-05-08 14:58:09 +00:00
Beverly
4b7853ec5f Check if alarm and now times are in schedule
Bug: 77570224
Bug: 79230399
Test: ScheduleCalendarTest
Change-Id: I8452e799189dab0559b49f1e62b18b7106929cd3
2018-05-08 09:24:59 -04:00
Emilian Peev
0c227d47cc Camera: Specify session parameter build requirements
Session parameters are subset of the supported capture
request parameters. They are passed as part of the capture
session intitialization and only require the initial session
parameter values. Update the documentation and make clear that
additional outputs, tags etc. should not be passed when building
the session parameter capture request object.

Bug: 79225608
Test: Documentation builds
Change-Id: Id2651ea1d8dc8e3ebd9ebfca84eca2bb67694bf4
2018-05-08 09:28:10 +01:00