Commit Graph

90871 Commits

Author SHA1 Message Date
Victor Hsieh
5c195ee292 Merge "Allow only selected priv apps to run OOB" into pi-dev
am: 792d36c170

Change-Id: Iad80a321e1b76f19935a23290594a36fd057840c
2018-05-09 12:37:38 -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
Matthew Ng
4ef6ed96bd Update the snap targets in minimized mode to reflect the correct targets
am: 6317df6e1e

Change-Id: I082df8125b71e7e27d1a8cf953cf43d18909cd2f
2018-05-09 11:18:08 -07:00
android-build-team Robot
665c7c7b73 Merge "Change the root of trust for CryptAuth Vault Service" into pi-dev
am: 738b0a8b42

Change-Id: I72d073373a8365b7a047dd23d91d26205ffdaec9
2018-05-09 10:54:26 -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
4a85bd7cfa Merge "Fix a typo in the API doc of TextView#setKeyListener()" into pi-dev
am: 643d9256d9

Change-Id: I3eeea369b2a073e3e5ab03c21a1559947bed51ec
2018-05-09 10:25:03 -07:00
android-build-team Robot
bcbe8d1999 Merge changes I5851dd16,Id196307f into pi-dev
am: 8d6571aeed

Change-Id: If389a3822b5bd51e4b714c1dde5cf17122d3ce8e
2018-05-09 10:16:22 -07: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
08a3535505 Merge "Allow profile owner to disable iris/face on personal keyguard" into pi-dev
am: 54a514eda0

Change-Id: I8516f3ffa4c655195da3863d6ac23ab52af4ef70
2018-05-09 09:20:25 -07: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
4269c971be Merge "Basedir of a bundled app is added to the permitted paths" into pi-dev
am: 7df104c4bb

Change-Id: I60e0f2596b08194569aa0d5d4303b6892622a9c5
2018-05-09 08:01:36 -07: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
e15af7df87 Merge "Introduce hidden constant EXTRA_PROVISIONING_USE_MOBILE_DATA" into pi-dev
am: caec3f0acb

Change-Id: Ifbdea61ee322a3a4f7d000eefbfb30f9628c879a
2018-05-09 05:03:07 -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
4ee5e1d632 Merge "Camera: Specify session parameter build requirements" into pi-dev
am: 9856d151f2

Change-Id: Id9c8b8329ddc8c7936255a790e03e9e4dca2a6a9
2018-05-09 01:20:50 -07: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
b4d35d55fc Merge "Add watch specific tweaks to global actions layouts." into pi-dev
am: 9327d2d757

Change-Id: Ied7fdc908831f58e77618c75c697db5d3e707580
2018-05-08 19:07:12 -07:00
Michael Kwan
9327d2d757 Merge "Add watch specific tweaks to global actions layouts." into pi-dev 2018-05-09 01:53:50 +00:00
android-build-prod (mdb)
f83c8065fc Merge "Update the Open Mobile API version" am: cf54a958db
am: b6d1fd2a07

Change-Id: I9c6143ac7a3bf8f4c72467a01591de4e60bedfc7
2018-05-08 17:25:04 -07: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
android-build-prod (mdb)
b6d1fd2a07 Merge "Update the Open Mobile API version"
am: cf54a958db

Change-Id: If5f611b074e3ee855d58878688333d1031e6fa93
2018-05-08 16:27:07 -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
android-build-prod (mdb)
cf54a958db Merge "Update the Open Mobile API version" 2018-05-08 22:22:13 +00:00
Rohan Shah
566a00935e Merge "Add knobs for tweaking blocking helper thresholds" into pi-dev
am: 7af8fe3e29

Change-Id: I5a5307d2345bb4ab5d3e91f3b58eaf8fc875f1ef
2018-05-08 14:17:35 -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
d91222836e Merge "Pre-cache more system servers" into pi-dev
am: 0c2985384b

Change-Id: Ic6b58e5d2a1e1df1ccf683c09e6422fdd16e5c78
2018-05-08 13:41:06 -07:00
Makoto Onuki
0c2985384b Merge "Pre-cache more system servers" into pi-dev 2018-05-08 20:25:11 +00: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
8e773ac198 Merge "Use the non-chained interface for mobile/wifi power atoms." into pi-dev
am: ac10be860f

Change-Id: Ib9f3929788d24e010e1315af6524eb7434c2ca83
2018-05-08 12:36:08 -07: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
5e2cf45571 Merge "Make android:cantSaveState an optional feature." into pi-dev
am: 330dd0b244

Change-Id: Id9825ba64e762c1ce32eb5f3721315d724863b5d
2018-05-08 11:16:28 -07: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
f0013528bc Merge changes I1539580e,I8452e799 into pi-dev
am: 8ea760c815

Change-Id: I4273e08bb50ba9b509171ea65d32bb6757a4a2b7
2018-05-08 09:56:11 -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
ccb89f9263 Merge "Adding batterystats history to proto dump." into pi-dev
am: 291b944d89

Change-Id: Ie1766ac31bc048eeba13d540c446372ef56c2da6
2018-05-08 08:11:22 -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
Kweku Adams
71a9531806 Adding batterystats history to proto dump.
It will only print out a dump for userdebug or eng builds.

Bug: 77727638
Test: flash device and check output of incident proto and
'dumpsys batterystats -c --history'

Merged-In: Ib74d4c664f23a61e6fc33f700ba6a3c6fad32c74
Change-Id: Ia0c993d1281cc350d93f9c13f5540b349a4bfb84
2018-05-07 17:53:57 -07:00
Yangster-mac
4c7255fdf2 Use the non-chained interface for mobile/wifi power atoms.
Test: statsd test

BUG: b/78075513

Change-Id: Id5b00fdc9738be518aa1b6b4551d959a90443f93
2018-05-08 00:50:38 +00:00
android-build-team Robot
a96a951269 Merge "New FIELD_AUTOFILL_COMPAT_MODE field." into pi-dev
am: 88cc74cd6b

Change-Id: I5127646f7cc27dfc733c6b91ebe73aa367d033dc
2018-05-07 15:14:41 -07:00
Dianne Hackborn
c8e4fad862 Make android:cantSaveState an optional feature.
This doesn't make sense on things like watches and appliances,
so make this an optional feature that the device must enable.
If the feature is not set, then the system will ignore
the app's request.

Bug: 76213401
Test: atest CtsAppTestCases:ActivityManagerProcessStateTest
Change-Id: I91abf9d86ec14fa632e3bcc83c4a3febade5d2e4
2018-05-07 15:01:57 -07:00
android-build-team Robot
88cc74cd6b Merge "New FIELD_AUTOFILL_COMPAT_MODE field." into pi-dev 2018-05-07 21:59:24 +00:00