Commit Graph

102085 Commits

Author SHA1 Message Date
TreeHugger Robot
c901e419e3 Merge "Camera: Clarify multi-camera RAW and FOV behaviors" into qt-dev 2019-04-17 23:23:29 +00:00
TreeHugger Robot
5ed91dd1cd Merge "Revert "Add android.settings.ACTION_APP_BATTERY_SETTINGS to public API"" into qt-dev 2019-04-17 22:16:24 +00:00
Paul Scovanner
956bbb7e5d Revert "Pretend to be having the original background"
This reverts commit 1ab06de89f.
Bug: b/130586696

Reason for revert: b/130586696 This change causes a major breakage in Maps and blocks droidfood.

Change-Id: I50cde4865f48825b82f27087b8cac6e6527d6d95
2019-04-17 21:47:46 +00:00
Michael Wright
665fa7a8d6 Revert "Add android.settings.ACTION_APP_BATTERY_SETTINGS to public API"
This reverts commit c568477004.

Reason for revert: API concerns.
Bug: 129901520

Change-Id: I658de3933353ac93b13ce1f6f6616fd653663152
2019-04-17 20:32:44 +00:00
TreeHugger Robot
211ddf7040 Merge "Unhardcoded Augmented Autofill debug constants." into qt-dev 2019-04-17 19:40:08 +00:00
Svetoslav Ganov
d21ce79b30 Merge "Make storage a restricted permission - framework" into qt-dev 2019-04-17 18:27:06 +00:00
Mehdi Alizadeh
de005d26a6 Merge "Make deprecated AppTarget APIs visible" into qt-dev 2019-04-17 13:49:22 +00:00
Charles Chen
5a2e6040c2 Merge "Revert "Unify context in ViewRoot"" into qt-dev 2019-04-17 13:45:23 +00:00
Charles Chen
fd85036cc7 Revert "Unify context in ViewRoot"
This reverts commit 44f5215ee8.

Reason for revert: <Make Ime test in SystemDecorationTest failed>
Bug: 130715649

Change-Id: I9afb1d5ee7e7a4f1e7de6fa4c7c3ec5dcc336f08
2019-04-17 13:39:06 +00:00
TreeHugger Robot
c1a0fbcec5 Merge "Unregister ImeInsetsSourceConsumer when focus lost" into qt-dev 2019-04-17 13:03:28 +00:00
TreeHugger Robot
59ed9a7f27 Merge "Follow-up CL of ag/6935284, add entities to extras in generateLinks" into qt-dev 2019-04-17 10:11:18 +00:00
TreeHugger Robot
143c735ee6 Merge "Doing sublisting after deduplication" into qt-dev 2019-04-17 10:09:38 +00:00
Tony Mak
0bf14e4804 Merge "Split TextClassifierEvent into multiple subclasses" into qt-dev 2019-04-17 10:05:20 +00:00
TreeHugger Robot
30550e1f3e Merge "[PasspointV2] Clear feature flag settings_wifi_details_saved_screen" into qt-dev 2019-04-17 07:29:16 +00:00
TreeHugger Robot
1f14a727d6 Merge "Cache service component name in RoleControllerManager to avoid deadlock." into qt-dev 2019-04-17 05:51:16 +00:00
TreeHugger Robot
b45d24e35a Merge "Fix DnsResolver API could not bypass private DNS correctly" into qt-dev 2019-04-17 05:38:05 +00:00
TreeHugger Robot
2569d579a4 Merge "Unify context in ViewRoot" into qt-dev 2019-04-17 04:11:46 +00:00
Felipe Leme
17203cd88b Merge "Fixed AutofillOptions.isAugmentedAutofillEnabled to use the right client." into qt-dev 2019-04-17 03:43:59 +00:00
TreeHugger Robot
341ea09831 Merge "Gesture exclusion rects for Window" into qt-dev 2019-04-17 03:18:55 +00:00
Jacky Kao
fd9a858a40 Merge "Clarify documentation for View#setScreenReaderFocusable" into qt-dev 2019-04-17 02:11:52 +00:00
Shuzhen Wang
0fdc9358c6 Camera: Clarify multi-camera RAW and FOV behaviors
- RAW capability can exist for multi-camera even if physical cameras are
of different sizes/capabilities.
- FOV for all processes streams must be the same regardless of logical
or physical streams.

Test: Build and read docs
Bug: 118906351
Bug: 126220135
Change-Id: I14ab4844630a048e66a42ec3a776c87830565e49
2019-04-16 17:13:44 -07:00
TreeHugger Robot
cb86e128cf Merge "Sharesheet - Merge EXTRA_INITIAL_INTENTS + Ranked apps" into qt-dev 2019-04-16 21:53:27 +00:00
TreeHugger Robot
f636d3cde8 Merge "Grant access to device identifiers with READ_DEVICE_IDENTIFIERS appop" into qt-dev 2019-04-16 21:52:56 +00:00
Adam Powell
5a40b71cd9 Gesture exclusion rects for Window
Property methods to get/set gesture exclusion rects for a window.
This is useful for games or other frameworks that use Window#takeSurface
and do not have a view hierarchy, leaving the associated View methods
unavailable.

Bug: 130572780
Test: cts via "atest SystemGestureExclusionRectsTest"
Change-Id: I2704aef1d1950158fcabf7c91413bedee08b8971
2019-04-16 14:38:55 -07:00
Jeff Sharkey
ea9dd75ee0 Merge "Handle any exception when allowing failures." into qt-dev 2019-04-16 21:34:27 +00:00
Andrii Kulian
153f73cbcc Merge "Add unit tests for activity client state changes" into qt-dev 2019-04-16 21:18:18 +00:00
Andrii Kulian
008483c045 Merge "Fix extra onStop when finishing after onCreate" into qt-dev 2019-04-16 21:18:18 +00:00
TreeHugger Robot
45683e40f1 Merge "Added example for ContentCaptureService.SERVICE_META_DATA" into qt-dev 2019-04-16 21:13:44 +00:00
Chalard Jean
e7ef0a61f2 Merge "Move TrafficStats tags for the network stack constants" into qt-dev 2019-04-16 20:30:07 +00:00
Mehdi Alizadeh
a9f0294b0e Make deprecated AppTarget APIs visible
Some deprecated APIs are still in use and need to stay visible. The SDK
in google3 is 2 weeks behind and will not receive the replacement APIs
until then.

Bug: 130610898
Test: atest AppPredictionServiceTest
Test: Verified that predictions are being loaded in AllApps
Change-Id: Ib6277f9fc46f1fe55a2cec4fc563ecdc964ce8a7
2019-04-16 13:20:23 -07:00
Felipe Leme
e5aa5ebd60 Fixed AutofillOptions.isAugmentedAutofillEnabled to use the right client.
Also removed ContentCaptureClient, which is not used anymore (it probably became obsolete with the
ContentCaptureOptions optimization).

Fixes: 130585342
Test: atest CtsAutoFillServiceTestCases:android.autofillservice.cts.augmented.AugmentedLoginNotImportantForAutofillActivityTest
Test: manual verification with Dialer app

Change-Id: I041922874fac749f1f5d49793f1ad3e26cc345d6
2019-04-16 13:14:41 -07:00
Svet Ganov
d563e937f2 Make storage a restricted permission - framework
This change makes storage a soft restricted permission. When the
permission is whitelisted for an app then hodlding it allows the
app to access the full SD card as on a P device. If howerver, the
permisison is not whitelisted for an app then holding it allows
accessing the visual/aural collections in media store while the
app would run in its own isolated storage sandbox.

This change also connects the opt in/out application attribute
to how external storage is mounted remocing temporary code. The
attribute was renamed to convey that opting in legacy mode is
not somethung that is desirable or would be available in the long
run.

White at this also fix the default state of app ops for restricted
permissions to avoid allowing ops for non requested restricted
permissions to every UID as component access could skip permission
checks by cannot skip app op checks.

bug:130327036

atest CtsPermission2TestCases
atest CtsPermissionTestCases
atest CtsAppOpsTestCases
atest atest CtsAppSecurityHostTestCases:android.appsecurity.cts.ExternalStorageHostTest
atest CtsAppSecurityHostTestCases:android.appsecurity.cts.PermissionsHostTest

Change-Id: Ibb23cbb6a5c66d9c3823cc13562a1b903b391ffd
2019-04-16 12:34:49 -07:00
Jeff Sharkey
fcec9952fc Handle any exception when allowing failures.
Bug: 113518608
Test: atest --test-mapping packages/providers/MediaProvider
Change-Id: I2f67b8016e6057cfd022899bbfba32c3db3a12aa
2019-04-16 13:34:41 -06:00
Felipe Leme
dc868e04f9 Merge "Clarified format of ContentCaptureCondition.FLAG_IS_REGEX" into qt-dev 2019-04-16 19:34:37 +00:00
TreeHugger Robot
50a56879e5 Merge "Grant clipboard access to the Augmented Autofill service." into qt-dev 2019-04-16 19:19:37 +00:00
Matt Pietal
dadc0d1541 Sharesheet - Merge EXTRA_INITIAL_INTENTS + Ranked apps
Organize app-supplied EXTRA_INITIAL_INTENTS plus the highest ranked
apps into a single row (4 in portrait, 8 landscape)

Bug: 130429746
Test: Visual inspection
Change-Id: Icd0755d25b2801b42ea2c3a8c984e9e1f0c7987e
2019-04-16 15:15:22 -04:00
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
TreeHugger Robot
5851d67727 Merge "Sharesheet - Prevent duplicate direct share targets" into qt-dev 2019-04-16 17:05:03 +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
Luke Huang
d117c57ab7 Fix DnsResolver API could not bypass private DNS correctly
Bug: 130594022
Test: atest DnsResolverTest

Merged-In: Ic9e078f8acf7688850dfe31f15ed065739ad5281
(cherry picked from commit c21eb1fb31)

Change-Id: I1788157c784b0ec124bd7d78ba90278b5501d0d4
2019-04-16 12:41:02 +00:00
Abodunrinwa Toki
6d06337157 Split TextClassifierEvent into multiple subclasses
As per the suggestion from API council, we now have a subclass for event
of each category.

Bug: 129344540

Test: atest frameworks/base/core/tests/coretests/src/android/view/textclassifier/
Test: atest cts/tests/tests/view/src/android/view/textclassifier/cts/
Test: atest frameworks/base/packages/ExtServices/tests/src/android/ext/services/notification/SmartActionsHelperTest.java

Change-Id: Ic43b33c2176447c40e64bd0e410e906d5fb9c4cc
2019-04-16 13:22:25 +01: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