Commit Graph

22760 Commits

Author SHA1 Message Date
Alex Salo
ef79062cba Merge "Add INTELLIGENCE_ATTENTION experiment namespace" 2019-01-24 07:09:47 +00:00
Junyu Lai
0affe5dad2 Merge changes from topic "ka05" am: b3656c7b1b am: 14e51c8a84
am: 3dea854998

Change-Id: Ie56c431a6d934c752d1de30fc4bf98a7e557e5b2
2019-01-23 22:24:41 -08:00
TreeHugger Robot
945be95b6a Merge "Add IntEnumMapping" 2019-01-24 06:08:52 +00:00
TreeHugger Robot
e6af411b09 Merge "Deprecate InputMethodManager#setCurrentInputMethodSubtype()" 2019-01-24 05:58:06 +00:00
Scott Randolph
025bd52d01 Merge "Implementation of Remote-SIM." am: 9f7bc7d616 am: 0fd63d542d
am: 6133800a58

Change-Id: Ic3c43594d4648f2942bec62cfd418e0d1d0c8f29
2019-01-23 21:50:17 -08:00
Junyu Lai
3dea854998 Merge changes from topic "ka05" am: b3656c7b1b
am: 14e51c8a84

Change-Id: I08979872a03c52e933daa39730fd71e998272613
2019-01-23 21:44:11 -08:00
Brad Ebinger
d1619e86c6 Merge "Add FEATURE_TELEPHONY_IMS definition" am: ad075a3837 am: 86999554ea
am: 93dd117ee6

Change-Id: Icb40054aaeab8921bc371129528b851e1af78e29
2019-01-23 21:42:08 -08:00
Scott Randolph
6133800a58 Merge "Implementation of Remote-SIM." am: 9f7bc7d616
am: 0fd63d542d

Change-Id: Ie4c28658f6384df624bf8b1d4c1b7b9bed555611
2019-01-23 21:28:45 -08:00
Leland Miller
6d2e9b8cae Merge "Add part ID reuse to API contract" am: d49a6c86f4 am: ea65fcc98a
am: c5ceebba02

Change-Id: Ide0ff27e0de513dd2687e3fc30e177cd1d5fd45c
2019-01-23 21:21:14 -08:00
Brad Ebinger
93dd117ee6 Merge "Add FEATURE_TELEPHONY_IMS definition" am: ad075a3837
am: 86999554ea

Change-Id: Ie28a6a11a97dcff35f26dd003d495c14ceb67242
2019-01-23 21:17:22 -08:00
Junyu Lai
b3656c7b1b Merge changes from topic "ka05"
* changes:
  [KA05] Export keepalive offload api for IpSec Nat-T file descriptor
  [KA01] export SocketKeepalive API for NAT-T keepalive
2019-01-24 05:06:39 +00:00
Scott Randolph
9f7bc7d616 Merge "Implementation of Remote-SIM." 2019-01-24 05:01:05 +00:00
Leland Miller
c5ceebba02 Merge "Add part ID reuse to API contract" am: d49a6c86f4
am: ea65fcc98a

Change-Id: I4e6546a02cd3614b8c28a8e0b7c1cc6501b1bd93
2019-01-23 21:00:25 -08:00
TreeHugger Robot
4e03b575b1 Merge "Wifi usability: Add @SystemApi to send Wifi usability stats" 2019-01-24 04:54:45 +00:00
Treehugger Robot
ad075a3837 Merge "Add FEATURE_TELEPHONY_IMS definition" 2019-01-24 04:50:18 +00:00
Treehugger Robot
d49a6c86f4 Merge "Add part ID reuse to API contract" 2019-01-24 04:29:10 +00:00
Alex Salo
cbd05e6b56 Add INTELLIGENCE_ATTENTION experiment namespace
Test: m update-api
Bug: 111939367
Change-Id: Ia1476c678efcb4045ed928eeda4b4c4f55bcd753
2019-01-23 19:45:10 -08:00
TreeHugger Robot
c8c1a25637 Merge "New ContentCapture API: ContentCatpureContext.action" 2019-01-24 03:34:26 +00:00
Stanley Tng
38acb197cf Merge "Add Android APIs for Hearing Aids Profile" am: a53fc20213 am: 62a2308550
am: 31b70c2868

Change-Id: Iac7fe414ddc1fbc04e8bbe3c2e96d3d57d364995
2019-01-23 19:10:10 -08:00
Robert Shih
05875d3e98 Merge "MediaPlayer2: callback based DRM APIs implementation" 2019-01-24 03:01:40 +00:00
Stanley Tng
31b70c2868 Merge "Add Android APIs for Hearing Aids Profile" am: a53fc20213
am: 62a2308550

Change-Id: Id9eccff5eb088f8c2638f242ff1ec6260093c1d4
2019-01-23 18:46:08 -08:00
Shuzhen Wang
ac1c15821c Merge "Camera: Add support for dynamic physical camera switch" 2019-01-24 01:55:20 +00:00
Treehugger Robot
a53fc20213 Merge "Add Android APIs for Hearing Aids Profile" 2019-01-24 01:37:05 +00:00
Brad Ebinger
4e65f803a3 Add FEATURE_TELEPHONY_IMS definition
Bug: 118823723
Test: manual
Change-Id: Ic1e65cfba8ecb117199db6ebd636e0d39007b6c6
2019-01-23 23:52:26 +00:00
Yohei Yukawa
ff42b1b685 Deprecate InputMethodManager#setCurrentInputMethodSubtype()
InputMethodManager#setCurrentInputMethodSubtype(), which was
introduced in Android 4.0 ICS [1], was probably mistakenly exposed as
a public API, because it has required WRITE_SECURE_SETTINGS that
typical applications cannot have.

This CL marks InputMethodManager#setCurrentInputMethodSubtype()
deprecated.  There is no actual implementation change at this moment,
but developers should avoid relying on this API in general not only on
futuer versions of Android but also on existing devices.

 [1]: I55daa19ba924999def544bf841f00bf54852f3e1
      b66d287e30

Fix: 123249820
Test: make -j checkbuild
Change-Id: Ia31df87ad2182484d7335503c5d87cb93540fd17
2019-01-23 15:47:35 -08:00
Jeff Sharkey
6474100f22 Merge "Migrate to single sanely-sized thumbnails." 2019-01-23 23:47:19 +00:00
TreeHugger Robot
62ab6f0a62 Merge "Deprecate InputMethodManager#setAdditionalInputMethodSubtypes()" 2019-01-23 23:36:05 +00:00
Leland Miller
6c753558c3 Add part ID reuse to API contract
This make explicit that part IDs should not be reused to point to new
parts as this may cause issues in applications that expect pars to
remain consistent.

Test: Documentation change, will follow up with a CTS test
Change-Id: I990aa5848f59cc85c76d129701cba1ca27c78894
2019-01-23 22:44:06 +00:00
Hyunyoung Song
d41cd56850 Merge "Add Setting.Secure for theme customization." 2019-01-23 22:41:07 +00:00
TreeHugger Robot
ac3f33c5b2 Merge "Change the old experiment setup to use the new API" 2019-01-23 22:37:05 +00:00
Vasu Nori
aea0391cf6 Implementation of Remote-SIM.
Design doc http://shortn/_GG690j15js

1. Modified SmsManager to send message thru Bluetooth if the subscription
   is for a Remote-SIM.
2. Added new column 'subscriptionType' to SubscriptionInfo.
3. SubscriptionManager:
  a. Added new constants for Local SIM and Remote SIM
  b. Added hidden APIs to add/remove Remote SIM subscriptions

Bug: 112321331
Test: tested manually and w/ unittests
Change-Id: Ib15553a806691a258fc00f7aaf812b8a9d49c2e9
2019-01-23 14:25:32 -08:00
Tyler Gunn
e2a693b746 Merge "Add nuisance call reporting API to Telecom." 2019-01-23 21:50:49 +00:00
TreeHugger Robot
cccdccd084 Merge "Create DeviceDefault.DocumentUI theme." 2019-01-23 21:46:56 +00:00
TreeHugger Robot
a68b803912 Merge "New APIs for Augmented Autofill whitelisting, plus some spring cleaning..." 2019-01-23 21:22:12 +00:00
Robert Shih
3e26412fe4 MediaPlayer2: callback based DRM APIs implementation
Bug: 112549021
Test: MediaPlayer2DrmTest
Change-Id: I4b9b5447e59b122dc985d9abfdd40b8c24a230a1
2019-01-23 12:45:22 -08:00
Ashley Rose
a61e7cd00d Add IntEnumMapping
It's just a wapper for SparseArray, but the builder makes it easier to
work with in code-gen, and provide an immutability guarantee.

Test: atest android.view.inspector.cts
Bug: 123295401
Change-Id: I479d7d3c5ebf4f7e3d82aa05f4e566db844d43ba
2019-01-23 15:20:42 -05:00
TreeHugger Robot
e0b050e1c3 Merge "Changed the virtual ids on ContentCapture to be long." 2019-01-23 20:04:51 +00:00
Haoyu Zhang
d2bea320bc Merge "Rename isHorizontallyScrolling to isHorizontallyScrollable" 2019-01-23 19:37:18 +00:00
Sungsoo Lim
070aba8e54 Merge "Handle remaining hidden API usages" 2019-01-23 19:22:20 +00:00
Jeff Tinker
2150acb817 Merge "Add securityLevel to MediaDrm isCryptoSchemeSupported API" 2019-01-23 19:01:52 +00:00
Mingguang Xu
8683314997 Wifi usability: Add @SystemApi to send Wifi usability stats
Add system API to allow framework to send Wifi usability stats to
system APK.
Also add a new permission to protect this API from being
used by unauthorized applications.
In addition, add a few more entries in Wifi.proto.

Bug: 113262380
Test: Unit tests for Wifi: frameworks/base/wifi/tests/runtests.sh

Change-Id: I5432419d6da3db96ecc6ff8e1c3197121ca7afbc
Signed-off-by: Mingguang Xu <mingguangxu@google.com>
2019-01-23 10:54:45 -08:00
Android Build Merger (Role)
3f7e640844 Merge "Merge "Deprecate Duplicate SignalStrength Methods" am: a3ab270ce1 am: e880dcb9ea am: 20cbf841d9" 2019-01-23 18:21:13 +00:00
Nathan Harold
16174eeb2a Merge "Deprecate Duplicate SignalStrength Methods" am: a3ab270ce1 am: e880dcb9ea
am: 20cbf841d9

Change-Id: I80cf1ea3bc62aa3e7a5428a3b6b501519148f746
2019-01-23 10:20:45 -08:00
Chen Xu
7d17bf7d9b Merge "new SystemAPI to getSimLocale" 2019-01-23 18:19:41 +00:00
Victor Hsieh
293595faa2 Change the old experiment setup to use the new API
Vendors can still set the default behavior by pm.dexopt.priv-app-oob*
system properties, but still the experiment flag can override the
behavior.

This change also removes the audit log because the setting provider is
not ready.  The old code works because we use the default system property
(which may be inconsistent to settings).

Test: cmd package compile -m speed -f com.google.android.dialer
      am start com.google.android.dialer
      cat /proc/`pidof com.google.android.dialer`/maps |grep oat |grep /data
      # Compiled code IS mapped as executable
Test: device_config put fsi_boot oob_enabled true
      pkill com.google.android.dialer; am start ...
      # Compiled code is NOT mapped as executable
Test: device_config put fsi_boot oob_enabled false
      # Compiled code IS mapped as executable
Test: device_config put fsi_boot oob_enabled true
      device_config put fsi_boot oob_whitelist com.android.vending,com.example
      # Compiled code is NOT mapped as executable
Test: device_config put fsi_boot oob_enabled true
      device_config put fsi_boot oob_whitelist com.android.vending,com.google.android.dialer
      # Compiled code IS mapped as executable
Test: device_config reset untrusted_clear
      # Compiled code IS mapped as executable
Test: atest DexManagerTests
Bug: 120793002
Change-Id: I67f29ac593bd2c33dc8c75ce2135cf9ec5490650
2019-01-23 10:17:51 -08:00
Nathan Harold
20cbf841d9 Merge "Deprecate Duplicate SignalStrength Methods" am: a3ab270ce1
am: e880dcb9ea

Change-Id: Ic7b763122addc84a5fad86cf8a8dceb69896800e
2019-01-23 10:08:56 -08:00
Jeff Sharkey
36ee36238c Migrate to single sanely-sized thumbnails.
Instead of generating only a handful of thumbnail "kinds", none of
which scale with display density, shift to generating only a single
thumbnail whose dimensions are limited to half the smallest screen
width of the device.

This change also shifts to storing thumbnails on the relevant volume
where the source data actually came from.  This solves the problem
of having to GC thumbnails for a storage device that we haven't seen
in a long time.

Bug: 119887587
Test: atest cts/tests/tests/provider/src/android/provider/cts/MediaStore*
Change-Id: I2ce6c5051b7058d2f1bba523c077e84a1f0b46e9
2019-01-23 11:03:53 -07:00
Michael Wachenschwanz
b9877a0137 Merge "Add Task Root package info to UsageEvent" 2019-01-23 18:03:40 +00:00
John Reck
99f46cae08 Merge "Add continuous SKP capture test api" 2019-01-23 17:57:42 +00:00
Nathan Harold
a3ab270ce1 Merge "Deprecate Duplicate SignalStrength Methods" 2019-01-23 17:37:03 +00:00