Commit Graph

107928 Commits

Author SHA1 Message Date
Ivan Chiang
3bc64a128b Merge "Update java doc for correct rotation of thumbnail from Q" 2019-10-31 09:57:14 +00:00
Phil Weaver
22c2c46b88 Merge "a11y: don't crash the system when illegal component name encounted" am: f4d1789b81 am: 411b523373
am: 015fe4ff3e

Change-Id: Id23f04ae4bd5c3c622e64525a89303bb79ba24ec
2019-10-30 19:07:09 -07:00
Phil Weaver
015fe4ff3e Merge "a11y: don't crash the system when illegal component name encounted" am: f4d1789b81
am: 411b523373

Change-Id: Idb8ffd83b4d8b89ebba52ad6fe5e7037ac61b4b7
2019-10-30 18:59:00 -07:00
Phil Weaver
f4d1789b81 Merge "a11y: don't crash the system when illegal component name encounted" 2019-10-31 01:29:30 +00:00
TreeHugger Robot
639701e8cb Merge "Fix for race condition when loading fonts from font provider" 2019-10-30 23:04:07 +00:00
Yinglei Wang
6adfce55c2 Merge "remove accessibility event throttling in Progressbar" 2019-10-30 18:57:29 +00:00
Jeff Sharkey
2cbafa9c8d Merge "Reconcile MediaStore with MediaMetadataRetriever." 2019-10-30 18:50:01 +00:00
TreeHugger Robot
3e74ce33de Merge "Add @TestApi to SystemApis in SystemProperties Test: build and flash Android Bug: 143620678" 2019-10-30 18:13:33 +00:00
Sasha Kuznetsov
3a81af1c4f Add @TestApi to SystemApis in SystemProperties
Test: build and flash Android
Bug: 143620678

This is needed because these APIs are used by CTS tests.
2019-10-30 18:13:14 +00:00
Torne (Richard Coles)
c1661db644 Merge "Clarify CookieManager RFC reference." into qt-dev am: 7186df9e6f am: 45a9d4bc79 am: 04be94e23e
am: c1c1a5e7d7

Change-Id: I4dcb73c107e1c1a8e4f8c3fa68dc529f634df9ef
2019-10-30 10:11:11 -07:00
Torne (Richard Coles)
c1c1a5e7d7 Merge "Clarify CookieManager RFC reference." into qt-dev am: 7186df9e6f am: 45a9d4bc79
am: 04be94e23e

Change-Id: I4b40d40281753e10408d41114490794734002d72
2019-10-30 10:03:58 -07:00
Torne (Richard Coles)
04be94e23e Merge "Clarify CookieManager RFC reference." into qt-dev am: 7186df9e6f
am: 45a9d4bc79

Change-Id: I9a3ea8dcbece844051fd8383deea6a00ae92fe07
2019-10-30 09:57:39 -07:00
Torne (Richard Coles)
45a9d4bc79 Merge "Clarify CookieManager RFC reference." into qt-dev
am: 7186df9e6f

Change-Id: I91a6a53d029b8ec2567eaac93056c91642b5177e
2019-10-30 09:51:40 -07:00
TreeHugger Robot
7186df9e6f Merge "Clarify CookieManager RFC reference." into qt-dev 2019-10-30 16:31:03 +00:00
Matt Pape
33f91f59fb Merge "Move namespace/prefix logic to Settings.Config." 2019-10-30 14:36:38 +00:00
Wale Ogunwale
ed38d4f967 Merge "Revert "Remove native calls to HWUI from Surface and use the public API instead"" 2019-10-30 13:33:31 +00:00
Derek Sollenberger
a320e92c56 Revert "Remove native calls to HWUI from Surface and use the public API instead"
This reverts commit 79201b16f1.

Reason for revert: breaks wm-presubmit

Change-Id: I3245e202f88b16d30b924e229cbc05fca37a3759
2019-10-30 13:17:41 +00:00
TreeHugger Robot
94cc0ba959 Merge "Add Tap Gesture for Aware Settings" 2019-10-30 10:17:13 +00:00
Ivan Chiang
c5c74e61be Update java doc for correct rotation of thumbnail from Q
Before Q, the thumbnail has wrong rotation, the developers need
to rotate it to correct rotation manually. As of Q, we provide
the correct rotation of the thumbnail.

Test: m -j
Bug: 142601201
Change-Id: I9c472f47b2bd0c3191ff55d1eb8d21303437dedd
2019-10-30 15:10:32 +08:00
Tony Huang
40d8da39d2 Merge "Prevent return giant size thumbnail" 2019-10-30 06:39:53 +00:00
Edgar Wang
32af83b2cb Add Tap Gesture for Aware Settings
- Add new settings provider key for tap gesture.

Bug: 142702985
Test: atest & manual
Change-Id: Ib76327b37a415512145a150a4b0e176a6cb114d7
2019-10-30 13:12:32 +08:00
Derek Sollenberger
2db814af51 Merge "Remove native calls to HWUI from Surface and use the public API instead" 2019-10-30 03:11:06 +00:00
Philip P. Moltmann
57344c24c3 Merge "Note with featureId from ContentProvider" 2019-10-30 02:21:51 +00:00
TreeHugger Robot
2bbe7de417 Merge "Remove StartInputFlags.FIRST_WINDOW_FOCUS_GAIN" 2019-10-29 23:51:56 +00:00
Philip P. Moltmann
128b70364e Note with featureId from ContentProvider
This takes the Context#getFeatureId from the calling context and pipes
it all way through to the noteOp calls done by the content provider.

Bug: 136595429
Test: atest CtsAppOpsTestCases (new test added to capture this case)
            TelecomUnitTests:CallLogManagerTest
	    ContentProviderClientTest
	    TelecomUnitTests:MissedCallNotifierImplTest
	    TelecomUnitTests:BasicCallTests
	    MediaInserterTest
	    PreferencesHelperTest
	    RankingHelperTest
	    PinnedSliceStateTest
	    FrameworksCoreTests:ContentResolverTest
Change-Id: I53b1035626229c920b353509a5bece157b52fb51
2019-10-29 15:41:28 -07:00
Jeff Sharkey
7b75fe5257 Reconcile MediaStore with MediaMetadataRetriever.
Over the last year we've been converging on saying that MediaProvider
is an indexed view of values that developers can obtain directly from
MediaMetadataRetriever.  This change starts indexing several fields
of interest to bring these two surfaces into sync.

Since we're going to be asking MediaMetadataRetriever about audio,
video, and image files, it could return any metadata values for any
of those file types, so we're adding and promoting fields up to the
MediaColumns level.

Bring back APIs related to "trashing" media items; they had been in
place for the last release, but were hidden until we had firm
requests to add them, and partners have now requested them.  Also
add APIs for marking media items as "favorite", as requested by
partners.

Bug: 135343128, 142478744, 122025511, 142498573
Test: atest --test-mapping packages/providers/MediaProvider
Change-Id: Ie839ec1b2eed621786d0d10f35a061cbc52f192b
2019-10-29 16:03:20 -06:00
Matt Pape
c600153ae3 Move namespace/prefix logic to Settings.Config.
Previously DeviceConfig, Settings.Config, and SettingsProvider needed to
understand how to append "/" to a namespace to create the prefix for key
names before saving them in SettingsProvider. This removes that
duplication and lets all of the compositing and decompositing happen in
Settings.Config.

Test: atest FrameworksCoreTests:DeviceConfigTest
      atest FrameworksCoreTests:SettingsProviderTest
      atest SettingsProviderTest:DeviceConfigServiceTest
Bug: 136135417

Change-Id: I126155594f3e764e149a4928d1b3708da68c97f4
2019-10-29 14:17:53 -07:00
Anthony Hugh
a7f66b7ee8 Merge "Update getUserSwitchability() to handle different user ids and Auto" 2019-10-29 21:08:08 +00:00
TreeHugger Robot
bc056fcb73 Merge "Fix mistake in SurfaceView lifetime refactoring." 2019-10-29 18:04:53 +00:00
Steven Moreland
a462b8b6b9 Merge "ServiceManagerProxy: implement new method" am: 2a6f6ed94b am: 9ab8a0713f am: 1574e4fd4e
am: 156230b3bf

Change-Id: Id21faff58a559d052dfc6da049f6cd445964852d
2019-10-29 09:47:16 -07:00
TreeHugger Robot
026adc430c Merge "Separate adapter logic from ChooserActivity and ResolverActivity" 2019-10-29 16:43:38 +00:00
Steven Moreland
156230b3bf Merge "ServiceManagerProxy: implement new method" am: 2a6f6ed94b am: 9ab8a0713f
am: 1574e4fd4e

Change-Id: I3018e9922154e7a33dd3aa4814d5f80e4118a77a
2019-10-29 09:36:18 -07:00
Steven Moreland
1574e4fd4e Merge "ServiceManagerProxy: implement new method" am: 2a6f6ed94b
am: 9ab8a0713f

Change-Id: I5af655cba2bb416ed517ba722f0f5ec46610c9bc
2019-10-29 09:26:57 -07:00
Steven Moreland
2a6f6ed94b Merge "ServiceManagerProxy: implement new method" 2019-10-29 15:45:43 +00:00
Julia Reynolds
07e10e3a96 Merge "Add ability to write and read Notification history." 2019-10-29 15:34:00 +00:00
arangelov
b0802dc1fc Separate adapter logic from ChooserActivity and ResolverActivity
Test: atest com.android.internal.app.ChooserActivityTest
Test: atest com.android.internal.app.ResolverActivityTest
Bug: 142537267
Bug: 142538125
Change-Id: Ia4a61e3dc7cbac5c31e0d5b126e033a043c81d90
2019-10-29 14:48:59 +00:00
Julia Reynolds
e261db3fce Add ability to write and read Notification history.
Bug: 137396965
Test: atest
Change-Id: I6bfdd0f6906dcf9c58b592e03bef335c4920d94d
2019-10-29 09:50:06 -04:00
lumark
847a7d97e9 Remove StartInputFlags.FIRST_WINDOW_FOCUS_GAIN
Since this flag does not do any check during start input,
Remove this flag and the related parameter for IMM#onPostWindowFocus
to keep the logic simpler (included removing
ViewRootImpl#mHasHadWindowFocus).

This is refector CL and does not impact any behavior change.

Bug: 141738570
Test: Refector CL, make sure all existing test passed.
Change-Id: I9119f4846cbbd2b15246dea9a3b1fc5845dce951
2019-10-29 21:40:45 +08:00
Ivan Podogov
e09d37bcb3 Add AOSP intent for Work Policy Info
Bug: 134391103
Test: make, GTS
Change-Id: Ib51a00a40b04bcdd6db8f8c1ae8662d850c54713
2019-10-29 10:02:04 +00:00
Nate Fischer
502711d460 WebView: clarify docs for onShowCustomView am: aaaa660a44 am: 3ea1a6d6ff am: b2bc8ddcfb
am: a906395b9e

Change-Id: I3285728d0692fb16d611d6b18fc826c3ce87f238
2019-10-29 00:47:07 -07:00
Nate Fischer
a906395b9e WebView: clarify docs for onShowCustomView am: aaaa660a44 am: 3ea1a6d6ff
am: b2bc8ddcfb

Change-Id: I28eb0e3ffcef7256d3419dbde5bb9bcce2614172
2019-10-29 00:39:55 -07:00
Nate Fischer
7baf85ccaf WebView: clarify docs for onShowCustomView am: aaaa660a44
am: 3ea1a6d6ff

Change-Id: I9cf9fd9b8cecb266d2cc2aa2cacf5e9fc2339ede
2019-10-29 00:32:55 -07:00
Nate Fischer
b2bc8ddcfb WebView: clarify docs for onShowCustomView am: aaaa660a44
am: 3ea1a6d6ff

Change-Id: Id1a2fc32030f8a5aed8af4dfd6c7046a65d51a6e
2019-10-29 00:32:55 -07:00
Nate Fischer
3ea1a6d6ff WebView: clarify docs for onShowCustomView
am: aaaa660a44

Change-Id: Idaa495f908c914057ac785bfeca1f2f15a0a5fd8
2019-10-29 00:26:23 -07:00
TreeHugger Robot
4218fd8ffa Merge "Add CDM API to filter by BSSID bitmask" 2019-10-29 05:36:35 +00:00
TreeHugger Robot
447cc7c9f9 Merge "Link to CDM guide from CDM javadoc" 2019-10-29 02:08:57 +00:00
Joanne Chung
f1533e7294 Merge "Add callbacks when TextClassifierService connection status change" 2019-10-29 02:06:51 +00:00
Anthony Hugh
6acda5ef07 Update getUserSwitchability() to handle different user ids and Auto
User switcher is in SystemUI which runs in User 0.
UserManager.getUserSwitchability() currently checks for the
DISALLOW_USER_SWITCH only on the process's user id rather than the
foreground user's id. This is causing a bug where we're using the wrong
user to check for user restrictions.

This CL updates getUserSwitchability to handle different user ids and
updates UserSwitcherController to use the new API.

This also introduces Headless System User support which only runs a
subset of the logic.

Fixes: 143298605
Test: [1] Enable multi-user
[2] Create a new secondary user
[3] Switch to new secondary user (assume to be user 10)
[4] adb root && adb shell pm set-user-restriction --user 10 no_user_switch 1
[5] Can't user switch
[6] adb root && adb shell pm set-user-restriction --user 10 no_user_switch 0
[7] Can user switch

Change-Id: Id039e2afd01a53116700c08177eb4e599a871946
2019-10-28 16:27:40 -07:00
Peter Wang
20c679d182 Merge "Fixed java doc for EuiccService#eraseSubscriptions" am: 10d6f20bc9 am: 4dd1013a04
am: 8f6945f47b

Change-Id: Id4b990a8107da649f2e59efb62ea9431e1e4179a
2019-10-28 16:19:04 -07:00
Peter Wang
8f6945f47b Merge "Fixed java doc for EuiccService#eraseSubscriptions" am: 10d6f20bc9
am: 4dd1013a04

Change-Id: Idbdcc5b47bddaa577113843c4fde7f0115428935
2019-10-28 16:06:02 -07:00