Commit Graph

20401 Commits

Author SHA1 Message Date
Xiangyu/Malcolm Chen
9f4ddb067b Merge "Merge "Marking some hidden API as TestApi." into pi-dev am: 50c069f7c1" into pi-dev-plus-aosp
am: fd8ca1dbc4

Change-Id: I93d516f7a63bf2c3d8d2925bf287c4cba74b74f9
2018-04-06 12:16:51 -07:00
Andy Hung
165b66c23b Merge "Merge "Add TestApi annotation to AudioEffect, AudioFormat, VolumeShaper" into pi-dev am: 320c1ade67" into pi-dev-plus-aosp
am: 4568c4b9b8

Change-Id: I3b75a28876b8e9f4d110df2c7f9e6019a49d44b2
2018-04-06 12:08:39 -07:00
Fyodor Kupolov
8e75020431 Merge "Added dontSendToRestrictedApps broadcast option" into pi-dev am: 28faced973
am: 35ebfcac8c

Change-Id: I26d047e9ff7e6eaa4a2026a4ce0ad6aca0b30eee
2018-04-06 11:40:19 -07:00
Xiangyu/Malcolm Chen
50c069f7c1 Merge "Marking some hidden API as TestApi." into pi-dev 2018-04-06 18:32:12 +00:00
Andy Hung
320c1ade67 Merge "Add TestApi annotation to AudioEffect, AudioFormat, VolumeShaper" into pi-dev 2018-04-06 18:19:48 +00:00
Fyodor Kupolov
28faced973 Merge "Added dontSendToRestrictedApps broadcast option" into pi-dev 2018-04-06 17:57:10 +00:00
Nader Jawad
e6df368392 Merge "Removed call to setWillNotCacheDrawing and deprecated it as well as willNotCacheDrawing as intermediate caching layers are obsolete since hardware accelerated rendering was introduced in API 11" 2018-04-06 17:08:07 +00:00
TreeHugger Robot
88c5c482d3 Merge "Mark methods as @TestApi" 2018-04-06 17:07:56 +00:00
Selim Cinek
108ebd0c4d Merge "Migrated the Person class to its own file" into pi-dev am: cecec7bf5b
am: b1226660f6

Change-Id: I1066f90cf4a5a415dcf35abd9e27fea02073faf4
2018-04-06 09:37:58 -07:00
Selim Cinek
cecec7bf5b Merge "Migrated the Person class to its own file" into pi-dev 2018-04-06 15:59:34 +00:00
Jan Althaus
92556299ff Merge "Add deprecation notice to Linkify MAP_ADDRESSES" into pi-dev am: 28709538fe
am: 44249c227f

Change-Id: I778ae94b99cf88ec0f6d943195f0074bdbdca5b2
2018-04-06 08:11:06 -07:00
TreeHugger Robot
28709538fe Merge "Add deprecation notice to Linkify MAP_ADDRESSES" into pi-dev 2018-04-06 14:55:00 +00:00
Rubin Xu
e6402303c0 Merge "Tweak SystemUpdatePolicy APIs" into pi-dev am: 892ebd0285
am: 2171b32fff

Change-Id: Icbbeef7c835a1d685615bdf2bf19eb76adcbb68f
2018-04-06 06:20:55 -07:00
Gustav Sennton
afc4b118a4 Merge "Remove WebView.getLooper()." into pi-dev am: fffec6ea9d
am: 46256efbec

Change-Id: I8c612d4ed2990a886c7703e530d9c8de5e8a098a
2018-04-06 06:02:24 -07:00
Rubin Xu
892ebd0285 Merge "Tweak SystemUpdatePolicy APIs" into pi-dev 2018-04-06 12:54:24 +00:00
Robert Berry
f92405ac09 Merge "Revert "Remove deprecated RecoveryController API."" into pi-dev am: 4147a83ae5
am: 1ddd044e30

Change-Id: I493e7c21a1593066598687a4b403b15d67449c4e
2018-04-06 05:48:36 -07:00
TreeHugger Robot
fffec6ea9d Merge "Remove WebView.getLooper()." into pi-dev 2018-04-06 12:37:19 +00:00
TreeHugger Robot
4147a83ae5 Merge "Revert "Remove deprecated RecoveryController API."" into pi-dev 2018-04-06 12:28:09 +00:00
Robert Berry
c157e21249 Revert "Remove deprecated RecoveryController API."
This reverts commit 0d55aa387a.

Reason for revert: aps_sidecar binary is still using some of these @removed APIs. Although HEAD of auth_folsom is fixed, aps_sidecar burned in framework is old.

Bug: 77629807
Change-Id: I2f03c7d12de30cc2eebd91bb65646caaa00fcd1d
2018-04-06 10:30:44 +00:00
Andy Hung
3ce023b02e Add TestApi annotation to AudioEffect, AudioFormat, VolumeShaper
Test: AudioEffectTest
Test: AudioRecordTest
Test: AudioTrackTest
Test: AudioTrackSurroundTest
Test: AudioTrack_ListenerTest
Test: BassBoostTest
Test: EnvReverbTest
Test: EqualizerTest
Test: LoudnessEnhancerTest
Test: PresetReverbTest
Test: VirtualizerTest
Test: VisualizerTest
Test: VolumeShaperTest
Bug: 77652246
Bug: 77651563
Bug: 77652497
Change-Id: I3a95cb6834fac0cd0cb88ea3ed0ba028aeddb3f2
2018-04-05 20:28:33 -07:00
Malcolm Chen
4d28aea671 Merge "Unhide constructors of DataService and NetworkService." into pi-dev am: 271ba383b6
am: 5477297519

Change-Id: Ie05cc9d8b4f086a297eef2107d472d4859056403
2018-04-05 18:14:03 -07:00
TreeHugger Robot
271ba383b6 Merge "Unhide constructors of DataService and NetworkService." into pi-dev 2018-04-06 00:52:32 +00:00
Benedict Wong
ffa4d3fd9d Merge "Update IpSecManager to use InetAddress and prefixLen" into pi-dev am: b172d5b437
am: c96c65c6ca

Change-Id: I99400a09c15868058fdd4af67c85ace48b33c3bc
2018-04-05 17:48:00 -07:00
TreeHugger Robot
b172d5b437 Merge "Update IpSecManager to use InetAddress and prefixLen" into pi-dev 2018-04-06 00:23:52 +00:00
Selim Cinek
9acd673c0d Migrated the Person class to its own file
Because we are expecting usage of Person across
other surfaces, we migrate the class out
of he Notification class which is already incredibly
huge.

Test: Migrated existing cts test
Change-Id: Ia487ae7965b5ca2b016245d21faa63e3b4628344
Fixes: 75980526
2018-04-05 17:21:11 -07:00
Nader Jawad
2ac86880d6 Removed call to setWillNotCacheDrawing and deprecated it as well as
willNotCacheDrawing as intermediate caching layers are obsolete since
hardware accelerated rendering was introduced in API 11

ImageView's current implementation of setScaleType would manually
disable it's cache if the ScaleType provided was CENTER. This was end up
not drawing the ImageView if View.LAYER_TYPE_SOFTWARE was configured on
the ImageView as the cache no longer existed. Removed the logic to
conditionally disable the drawing cache and marked
setWillNotCacheDrawing/willNotCacheDrawing as hardware accelerated
rendering makes these facilities obsolete

Fixes: 77653694
Fixes: 72139649
Test: Created a test application with an ImageView and manually set a
ScaleType of CENTER and forced the ImageView to render in a software
layer to confirm that it would render properly with a drawable of the
test application's launcher icon

Change-Id: Ie73b1e0708a265e3cc2cc74ed13539f4219dbd7d
2018-04-05 16:47:21 -07:00
Vishwath Mohan
57f3ccd838 Merge "Rename BiometricDialog to BiometricPrompt." into pi-dev am: 5ab3cf8bec
am: f2f7495f49

Change-Id: If1aa1ab2da564d84a9d56b2ac4ee1386297afed4
2018-04-05 15:07:41 -07:00
Malcolm Chen
83f59c61dd Unhide constructors of DataService and NetworkService.
DataService and NetworkService are System level classes. We shouldn't
hide their constructors otherwise their System level sub-class
can't be instantiated properly.

Test: gts
Bug: 77531655
Change-Id: I1a58b4857dbcf939ac124e20eb0a801ad5a9b597
2018-04-05 15:02:17 -07:00
Suprabh Shukla
acdfc1df62 Merge "Activity interceptor dialog for suspended apps" into pi-dev am: 822ce4f3aa
am: fce7bf015e

Change-Id: I20ef2001636ee1a75bcf5d9d7b097848bb15c710
2018-04-05 14:41:00 -07:00
Leon Scroggins III
fc7f4c89ed Merge "Rename set/get-ConserveMemory" into pi-dev am: d2c218f78a
am: 844ecb325a

Change-Id: Ieb7c02b42c77230173688e493e3e2b5549279de1
2018-04-05 14:24:49 -07:00
Vishwath Mohan
5ab3cf8bec Merge "Rename BiometricDialog to BiometricPrompt." into pi-dev 2018-04-05 21:23:32 +00:00
Marco Nelissen
ed611e913f Merge "Add @TestApi for field needed for test" into pi-dev am: d8a6f0cd94
am: 6f71d5f9e7

Change-Id: Idd27147d0e9a5bce573bca9dc607cbf97125b0bd
2018-04-05 14:16:35 -07:00
TreeHugger Robot
822ce4f3aa Merge "Activity interceptor dialog for suspended apps" into pi-dev 2018-04-05 21:15:19 +00:00
TreeHugger Robot
d2c218f78a Merge "Rename set/get-ConserveMemory" into pi-dev 2018-04-05 20:44:58 +00:00
TreeHugger Robot
d8a6f0cd94 Merge "Add @TestApi for field needed for test" into pi-dev 2018-04-05 20:41:24 +00:00
David Zeuthen
c1abc90acf Merge "ConfirmationPrompt: Update for API review." into pi-dev am: ae938f5437
am: fd25bbeb02

Change-Id: If95b232037febb1a615a8b49e9e6d4ba6938d756
2018-04-05 12:55:57 -07:00
Hall Liu
579a40c421 Merge "Move RTT system setting to Settings.Secure" into pi-dev am: fe85e4589b
am: a13852d071

Change-Id: Iff208054f685b6592d8f9bf6cdca080a667e65ea
2018-04-05 12:10:28 -07:00
TreeHugger Robot
ae938f5437 Merge "ConfirmationPrompt: Update for API review." into pi-dev 2018-04-05 18:50:35 +00:00
Hall Liu
fe85e4589b Merge "Move RTT system setting to Settings.Secure" into pi-dev 2018-04-05 18:15:37 +00:00
Jan Althaus
ac272dcc4c Merge "Makes TCS methods non-abstract" into pi-dev am: 37317e1668
am: d5cc6a8289

Change-Id: I954f9bd4c150027fbaec036fa9dc1892c9a0daba
2018-04-05 11:03:54 -07:00
Vishwath Mohan
ecf00cedb6 Rename BiometricDialog to BiometricPrompt.
Renamed to BiometricPrompt per API-council feedback.

Bug: 77494933
Test: m -j70
Change-Id: Ifed2b8f3439a7e671e0ce46d3a7db9f24871b16a
2018-04-05 10:41:19 -07:00
Benedict Wong
3f2c54b782 Update IpSecManager to use InetAddress and prefixLen
LinkAddress constructors are currently @hide; this change updates
IpSecManager to use InetAddress and prefixLen, and then construct a
LinkAddress internally. LinkAddress is used over the binder interface to
IpSecService to ensure validity.

Bug: 77528639
Test: CTS, Java unit tests ran on walleye
Change-Id: I19e124adef6d9f4992d8293db3190bcf74c95848
2018-04-05 17:41:11 +00:00
Jan Althaus
003889a275 Add deprecation notice to Linkify MAP_ADDRESSES
Bug: 22362008
Test: N/A
Change-Id: Ib70e0cbdd8c454a96e5e75b906ace7b6f1e21cba
2018-04-05 19:04:26 +02:00
Jan Althaus
37317e1668 Merge "Makes TCS methods non-abstract" into pi-dev 2018-04-05 16:53:17 +00:00
Marco Nelissen
a7de449356 Add @TestApi for field needed for test
Also update truncated comment.
Bug: 13249737
Bug: 77485791
Test: CTS

Change-Id: I1351a6ef28dfd7e881f32830c436315ffdbfffaa
2018-04-05 16:43:06 +00:00
Jan Althaus
39ccc7e388 Makes TCS methods non-abstract
This only affects System API

Bug: 77563695
Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest
Test: bit CtsViewTestCases:android.view.textclassifier.cts.TextClassificationManagerTest
Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest
Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest
Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationTest
Test: bit FrameworksCoreTests:android.view.textclassifier.TextSelectionTest
Test: bit FrameworksCoreTests:android.view.textclassifier.TextLinksTestBug:
Change-Id: Ie927ffe3a4678b7a622c139a5431b89e8f22c6e4
2018-04-05 17:26:03 +02:00
TreeHugger Robot
c8f5480981 Merge "StrictMode: Add support for warning on non SDK API usage." into pi-dev 2018-04-05 13:41:17 +00:00
Rubin Xu
1b2f374018 Tweak SystemUpdatePolicy APIs
* Introduce a FreezePeriod class that represents a single freeze period
  and is defined by two MonthDay instances.
* Add ERROR_UNKNOWN to ValidationFailedException
* Make SystemUpdatePolicy final
* Document SystemUpdatePolicy.InstallationOption and add IntDef to getType()

Test: runtest frameworks-services -c com.android.server.devicepolicy.SystemUpdatePolicyTest
Test: cts-tradefed run cts-dev -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.DeviceOwnerTest#testSystemUpdatePolicy
Test: gts-tradefed run gts-dev --module GtsGmscoreHostTestCases --test com.google.android.gts.devicepolicy.DeviceOwnerTest#testSystemUpdatePolicy
Bug: 74976911
Change-Id: I85cf636c3a98c97bd03b7b296c3130028051a791
2018-04-05 14:26:52 +01:00
Android Build Merger (Role)
8825133bd1 Merge "Merge "Device ID attestation: Add feature flag." into pi-dev am: 73961397e5 am: 1352861682" 2018-04-05 10:15:04 +00:00
Rubin Xu
354cb645fa Merge "Device ID attestation: Add feature flag." into pi-dev am: 73961397e5
am: 1352861682

Change-Id: I564a99552bd1292dcc0dc85add1b836de028f85f
2018-04-05 03:13:25 -07:00