Commit Graph

92750 Commits

Author SHA1 Message Date
TreeHugger Robot
f4fc729acd Merge "Add custom title for settings dialogs" into qt-dev 2019-04-16 18:16:54 +00:00
Mehdi Alizadeh
cc33160f6a Merge "Check before closing the CloseGuard if not closed yet" into qt-dev 2019-04-16 18:01:33 +00:00
Salvador Martinez
bca4564516 Add custom title for settings dialogs
This is a generic version of the custom title that will
be used in settings dialogs soon. Adding it to settings
lib since others will need to make use of it as well.

Test: robotests pass
Bug: 130251804
Change-Id: I48f8e24a2b2a117e5a8054c5bc0b240ba68fe1ad
2019-04-16 09:42:01 -07:00
TreeHugger Robot
4bf8532689 Merge "Add more documentation for ACTION_MANAGE_MORE_DEFAULT_APPS_SETTINGS." into qt-dev 2019-04-16 16:41:03 +00:00
TreeHugger Robot
ef2e036f96 Merge "Fix VR-related system APIs" into qt-dev 2019-04-16 15:49:33 +00:00
TreeHugger Robot
b6abb2c59c Merge "make onGetSupportedVoiceActions return @NonNull and return empty set by default" into qt-dev 2019-04-16 15:28:22 +00:00
TreeHugger Robot
083190633a Merge "ActivityThread: Preserve windows when relaunching all activities" into qt-dev 2019-04-16 11:20:45 +00:00
Tarandeep Singh
77d354efa1 Merge "Allow MSIME to set inactive when window loses focus." into qt-dev 2019-04-16 07:37:06 +00:00
TreeHugger Robot
e6b9bdf4d0 Merge "Defer top process state for VM" into qt-dev 2019-04-16 06:37:50 +00:00
Sean Stout
a0d852907d Merge "Add android.settings.ACTION_APP_BATTERY_SETTINGS to public API" into qt-dev 2019-04-16 05:50:30 +00:00
Hai Zhang
770a29bf72 Add more documentation for ACTION_MANAGE_MORE_DEFAULT_APPS_SETTINGS.
Bug: 130351486
Test: build
Change-Id: If15aa04a3a3ebe717718ae99157e845acbccf6ae
2019-04-16 13:16:16 +08:00
Kevin Chyn
12154d85a4 Merge "Cache and log enrollment settings" into qt-dev 2019-04-16 04:43:32 +00:00
jiayuzhou
5422f30c14 make onGetSupportedVoiceActions return @NonNull and return empty set by default
Test: make
Fix: 124302147

Change-Id: Ie91184310a1709cd62cd7d89911beda5c4e2d513
2019-04-15 20:43:48 -07:00
Jeff Sharkey
977f63a3d3 Merge "Allow failures of applyBatch() operations." into qt-dev 2019-04-16 03:26:18 +00:00
TreeHugger Robot
805c739ada Merge "Ui should be UI in the javadoc" into qt-dev 2019-04-16 01:20:05 +00:00
Jeff Sharkey
295ddbae78 Allow failures of applyBatch() operations.
In some cases, the supplier of ContentProviderOperation is okay
if certain operations fail, and they'd like ContentProviderResult
to tell them about the failures instead of aborting the remainder
of the transaction.

Start using this for ModernMediaScanner, where we probably raced
with someone when building an UPSERT-style operation.  We'll
pick up any changes to those files during the next scan.

Bug: 128494336
Test: atest --test-mapping packages/providers/MediaProvider
Change-Id: Ida8230ff2bbb3bab56eb83928e49e7097bfbc9fd
2019-04-15 18:55:00 -06:00
Mehdi Alizadeh
9ac588b0dd Check before closing the CloseGuard if not closed yet
Bug: 130435945
Test: atest AppPredictionServiceTest
Change-Id: I19d866d54e6b7e74e0399e2910ab9c9c71d13f51
2019-04-16 00:50:03 +00:00
TreeHugger Robot
575022f7d1 Merge "Remove the disableSelf() api" into qt-dev 2019-04-16 00:49:21 +00:00
Matt Pape
75d75ce38c Merge "Annotate single property listener from DeviceConfig as removed. Will remove entirely after all references (esp. Play Services) are cleaned up." into qt-dev 2019-04-16 00:34:31 +00:00
Mehdi Alizadeh
6164eb6a8d Merge "Add new constructors for mandatory fields in AppTarget.Builder" into qt-dev 2019-04-16 00:34:13 +00:00
TreeHugger Robot
786714e526 Merge "Add missing set/getExtras to ConversationActions.Request." into qt-dev 2019-04-16 00:17:10 +00:00
Sean Stout
c568477004 Add android.settings.ACTION_APP_BATTERY_SETTINGS to public API
Test: cts-tradefed run cts -m CtsSystemIntentTestCases -t \
android.systemintents.cts.TestSystemIntents
Bug: 129901520

Change-Id: I710867f6d6fffb86d7f3991f39bde4bf9d62e5f7
2019-04-15 17:15:44 -07:00
Winson Chung
4b118856db Merge "Add nullable annotations" into qt-dev 2019-04-15 23:57:01 +00:00
TreeHugger Robot
11141109f4 Merge "DO NOT MERGE - Removed ContentCapture support from standard SDK toolkit." into qt-dev 2019-04-15 23:42:14 +00:00
Pat Plunkett
27ad774fd6 Fix VR-related system APIs
This adds necessary nullness conditions on method arguments, and makes
a Builder class final.

Bug: 126700268
Bug: 126701891
Bug: 126701662
Test: Compiles
Change-Id: I4e825057b413fe22d1c2ebd228a5b76641b04868
2019-04-15 23:13:42 +00:00
jiayuzhou
21cbc63602 Ui should be UI in the javadoc
Fixes: 124883615.
Test: pre-submit.
Change-Id: I4cdc6353a3d4382a53a8e6d7c65a447acb90ee2c
2019-04-15 16:04:31 -07:00
Alex Salo
2b7dbe85a2 Remove the disableSelf() api
No longer needed, the logic will be handled in AttentionDetector which
implements the feature. Settings app makes sure to grey out the setting
if does not have sufficient permissions.

Bug: 130350903, 130246574
Test: manually confirmed, atest AttentionDetectorTests, make RunSettingsRoboTests
Change-Id: I324223af01b5198e3af0b84d47120f307f3aa71a
2019-04-15 16:02:41 -07:00
Matt Pape
1220c347a2 Annotate single property listener from DeviceConfig as removed.
Will remove entirely after all references (esp. Play Services) are cleaned up.

Test: atest FrameworksCoreTests:DeviceConfigTest
Bug: 128902955
Change-Id: I1ab11fa2a2bbdb673841364c36b87a7356ba1e28
2019-04-15 21:52:26 +00:00
Mehdi Alizadeh
08c5083da3 Add new constructors for mandatory fields in AppTarget.Builder
Test: it builds
Test: atest AppPredictionServiceTest
Bug: 129901111
Change-Id: Ifacf5b86d5f436b02191af58541a403198840f18
2019-04-15 14:44:56 -07:00
Harry Slatyer
e4eb7b4c1b Add DENSITY_140, DENSITY_180, DENSITY_200, DENSITY_220
This gives supported densities every 20dpi at the low end of densities,
which is where all current automotive screens sit.

BUG: 127714569
Test: None, just adding constants.

Change-Id: I6dd96493bf4474a55f22ce4ddbe27566d4ab9deb
2019-04-15 21:43:56 +00:00
Kevin Chyn
c78071f29a Cache and log enrollment settings
Bug: 130370995

Test: Builds
Change-Id: Id23b6befe62cf5ea3a4468169f36da191ae97cc9
2019-04-15 14:34:30 -07:00
Jiuyu Sun
b5b7312195 Merge "Address comments from API review." into qt-dev 2019-04-15 21:02:42 +00:00
TreeHugger Robot
472893443d Merge "Fix for unexpected scale factors in ScaleGestureDetector" into qt-dev 2019-04-15 21:02:19 +00:00
Tony Mak
170f35bc59 Add missing set/getExtras to ConversationActions.Request.
All requests / result objects from TextClassifier have get/setRequest,
so ConversationActions.Request should have them as well.

BUG: 130529981

Test: atest cts/tests/tests/view/src/android/view/textclassifier/cts/ConversationActionsTest.java

Change-Id: I19719b009d4f34df8650c669cc24cb304293407a
2019-04-15 20:11:36 +00:00
Winson Chung
ad43a5039d Add nullable annotations
Bug: 126700764
Test: None
Change-Id: If0a8904033bc8c7204450b058a307be9b51b2605
2019-04-15 12:46:35 -07:00
TreeHugger Robot
f98ada2290 Merge "Bluetooth: Make ScanRecord.getServiceSolicitationUuids NonNull" into qt-dev 2019-04-15 18:38:14 +00:00
Amy Zhang
64b51f91ff Merge "Resolve CEC related API requests from API Council" into qt-dev 2019-04-15 17:46:49 +00:00
Holly Jiuyu Sun
c67c86c7e3 Address comments from API review.
1) The newly added onDownloadSubscription should not be abstract.
2) The old onDownloadSubscription should not throw exception.

Bug: 124325362
Test: on phone
Change-Id: Ic905b5d317e10aefe5dca013948cd7d340149368
2019-04-15 10:18:24 -07:00
Felipe Leme
ef1c0b36ab DO NOT MERGE - Removed ContentCapture support from standard SDK toolkit.
Test: atest CtsContentCaptureServiceTestCases
Test: m update-api
Test: make ds-docs

Fixes: 129982633

Change-Id: I5a0fa4231d0222638830c1abd8015d9f2635996a
2019-04-15 09:36:25 -07:00
TreeHugger Robot
59b8b82e74 Merge "Reduce transactions for acquiring and releasing provider" into qt-dev 2019-04-15 12:18:30 +00:00
Riddle Hsu
50e3400931 Defer top process state for VM
The top state will make JIT compilation easier to be triggered.
To reduce the impact of startup time, if there is launching activity,
the top state will be deferred to apply until idle or 1s timeout.
The cold launch time of Contacts, Phone, Calculator are reduced ~15ms.

Test: AppLaunchTest
Bug: 123043091
Change-Id: I8a235e18ea6b508c9aa192445c9ea22d9d12f177
2019-04-15 14:05:51 +08:00
Dianne Hackborn
91ada88e84 Merge "Add "identifier" concept to Intent." into qt-dev 2019-04-14 21:17:58 +00:00
Sudheer Shanka
f54654945d Merge "Deprecate MediaStore.DownloadColumns.DESCRIPTION." into qt-dev 2019-04-13 20:01:10 +00:00
TreeHugger Robot
62c6f21dac Merge "Remove appops debug logic" into qt-dev 2019-04-13 06:06:40 +00:00
Joe Onorato
fbd637a1c1 Expose APIs for the experiment ids back from statsd.
Bug: 129099771
Test: treehugger
Change-Id: I8689a06ae5667a146064bc870be8b5a4e92fb9b7
2019-04-12 19:23:43 -07:00
TreeHugger Robot
9b948e0ba3 Merge "Cleans up PackageInstaller.Session docs" into qt-dev 2019-04-13 01:54:23 +00:00
Sudheer Shanka
3c60d28729 Deprecate MediaStore.DownloadColumns.DESCRIPTION.
Bug: 130226648
Test: manual
Change-Id: I020d681e988eaa37871994860bea5ae2ab81d10e
2019-04-12 15:29:05 -07:00
Michael Wright
b0241bd88a Merge "Add class docs for InputMonitor." into qt-dev 2019-04-12 21:39:51 +00:00
Kevin Chyn
9b92030ad5 Merge "Authenticate with the correct user from KeyguardUpdateMonitor" into qt-dev 2019-04-12 21:10:23 +00:00
Jeff Sharkey
7de292aaf0 Merge "Promote generic columns up to MediaColumns." into qt-dev 2019-04-12 20:24:15 +00:00