Commit Graph

17816 Commits

Author SHA1 Message Date
Hall Liu
1260acd215 Merge "Un-hide the MBMS streaming APIs" am: a50e17aea2 am: 8c4179e88c am: 7a83a8ac77 am: 76716535d9
am: 66299eb482

Change-Id: I490a8e1c83df38a292924d81fb6d0a5790f63365
2017-07-28 03:32:03 +00:00
Hall Liu
66299eb482 Merge "Un-hide the MBMS streaming APIs" am: a50e17aea2 am: 8c4179e88c am: 7a83a8ac77
am: 76716535d9

Change-Id: I8dd83d01a7511968ed51a80ad358a48e50c3d1e7
2017-07-28 03:11:49 +00:00
Hall Liu
76716535d9 Merge "Un-hide the MBMS streaming APIs" am: a50e17aea2 am: 8c4179e88c
am: 7a83a8ac77

Change-Id: Ia07b24d0b75d39144be8fb211ca6c2d84e24718a
2017-07-28 02:57:24 +00:00
Hall Liu
8c4179e88c Merge "Un-hide the MBMS streaming APIs"
am: a50e17aea2

Change-Id: Icd8ebf0e351914cdfb0f0c15343e2d2024706d6b
2017-07-28 02:40:20 +00:00
Shubang Lu
c281dbc673 Merge "Add permission check and @RequiresPermission annotation" 2017-07-28 01:39:57 +00:00
Hall Liu
2398921320 Un-hide the MBMS streaming APIs
Unhides the MBMS streaming APIs and modifies the vendor base classes to
no longer pass raw AIDLs to the vendor code.

Test: builds
Change-Id: I56030d646c2a1160277d85779c6ed431cda4efa7
2017-07-27 15:38:36 -07:00
Tima Vaisburd
07fa454431 Merge "Merge "Unhide get/setTextClassifier in WebView" into oc-mr1-dev am: 2ebddfc398" into oc-mr1-dev-plus-aosp
am: 6a6275a802

Change-Id: I46dab838a4c5a0150f6773dee482f75c9ecf237f
2017-07-27 02:02:35 +00:00
Tima Vaisburd
2ebddfc398 Merge "Unhide get/setTextClassifier in WebView" into oc-mr1-dev 2017-07-27 00:45:21 +00:00
Fyodor Kupolov
737553c942 Merge "Tests for lookaside configuration" into oc-mr1-dev am: 56bd583162
am: 84a094d89b

Change-Id: Idab6dc0a8b725111c8aac4ca30b24938612db7f8
2017-07-26 21:44:48 +00:00
Fyodor Kupolov
56bd583162 Merge "Tests for lookaside configuration" into oc-mr1-dev 2017-07-26 20:50:47 +00:00
Tomasz Wasilczyk
5d03e3c2fe Merge "Rename ACCESS_FM_RADIO to ACCESS_BROADCAST_RADIO permission." into oc-mr1-dev am: 68a0dafc13
am: 07f350bb65

Change-Id: I5d45a3ecd5f3f88e5495e14e9c7f3f4afb70ed82
2017-07-25 17:35:48 +00:00
Tomasz Wasilczyk
68a0dafc13 Merge "Rename ACCESS_FM_RADIO to ACCESS_BROADCAST_RADIO permission." into oc-mr1-dev 2017-07-25 17:18:50 +00:00
Andrei Stingaceanu
5eaaea421e Merge "Remove @hide from ViewGroup debug methods" 2017-07-25 17:07:04 +00:00
Todd Kennedy
782ac9dd37 Merge "Add API for virtual preloads" into oc-mr1-dev am: be74124264
am: f35abca9a0

Change-Id: I5afa4315ece4c045aef50195f312eb706be64d91
2017-07-25 16:28:48 +00:00
TreeHugger Robot
be74124264 Merge "Add API for virtual preloads" into oc-mr1-dev 2017-07-25 16:13:08 +00:00
Todd Kennedy
78a72501af Add API for virtual preloads
Virtual preloads are applications that aren't actually on the
/system partition, but, act as if they were. One such distinction
is that these apps receive Intent.ACTION_BOOT_COMPLETED and start
out of the stopped state.

Change-Id: I812d3e7008b9d87e84aa33dbc4b3d8e8b334533c
Fix: 34855677
Test: Manual
Test: Install an app with "--preload"
Test: See that it receives Intent.ACTION_BOOT_COMPLETED
2017-07-25 06:48:39 -07:00
Andrei Stingaceanu
1244815e8f Remove @hide from ViewGroup debug methods
Allow developers to easily add their own debugging info
when developing custom ViewGroups.

Bug: 30117235
Test: tests still pass
Change-Id: Ia83005b4dc727c7b959a50e7b0130582f6e89762
2017-07-25 10:00:21 +00:00
Fyodor Kupolov
b773312982 Tests for lookaside configuration
Test: android.database.sqlite.cts.SQLiteDatabaseTest
Test: android.database.sqlite.cts.SQLiteOpenHelperTest
Bug: 63998707
Change-Id: I2e84a6e98baf889001ef7537a290f7e2aa2d709a
2017-07-24 23:33:00 +00:00
Shubang
dd3ec0be11 Add permission check and @RequiresPermission annotation
Bug: 62347045
Test: make; flash; run
Change-Id: Icbd828fa5a4762cf335492a42d321e29c4e2ec5f
2017-07-24 14:39:33 -07:00
Andrii Kulian
bfa0ed5110 Merge "DO NOT MERGE Add permission to launch activities on VD" into oc-mr1-dev 2017-07-24 18:42:25 +00:00
Romain Guy
49345e6cb5 Merge "Expose shared buffer mode/auto refresh on Surface" into oc-mr1-dev am: 572cb5242d
am: 99a05a108d

Change-Id: Iafc5ad4561d432257c286932c5c8ce74910bbef0
2017-07-22 03:14:31 +00:00
TreeHugger Robot
572cb5242d Merge "Expose shared buffer mode/auto refresh on Surface" into oc-mr1-dev 2017-07-22 03:01:02 +00:00
Romain Guy
0bbf0b41cc Expose shared buffer mode/auto refresh on Surface
These features can be set on a surface to reduce perceived latency
at the expense of visible tearing.

Bug: 63858546
Test: Manual, CTS test coming

Change-Id: Ica3f480bd1cb8f77dff57218d2fa8783433d3396
2017-07-21 16:11:17 -07:00
Tomasz Wasilczyk
df77643cd8 Rename ACCESS_FM_RADIO to ACCESS_BROADCAST_RADIO permission.
This is a backwards incompatible change against System API,
but as there are no existing radio apps, nobody uses it.

Bug: b/63405337
Test: manual
Change-Id: Iaf6085914434be01e1c1e363609e5b0087ffe127
2017-07-21 14:22:05 -07:00
Android Build Merger (Role)
e7828c5751 Merge "Merge "Unhide invalidateColors API" into oc-mr1-dev am: a8d14a6ea0 am: 6ccce0c175" 2017-07-21 18:34:16 +00:00
Lucas Dupin
8c9a80e203 Merge "Unhide invalidateColors API" into oc-mr1-dev am: a8d14a6ea0
am: 6ccce0c175

Change-Id: Ie10774063dab4d36efa63a6f40445e3d752bac6c
2017-07-21 18:32:03 +00:00
Andrii Kulian
02689a7884 DO NOT MERGE Add permission to launch activities on VD
1. Added permission ACTIVITY_EMBEDDING which allows apps to launch
activities on virtual displays.
2. Allow owner of display to launch activities from same app without
permission check to owned display.
3. Added permission checks for launching on secondary displays to
more target task/stack resolution paths in ActivityStarter.

Bug: 63117330
Test: android.server.cts.ActivityManagerDisplayTests
Test: go/wm-smoke
Change-Id: If169a77fb56241e06f7de20168dc38c4b0a217f5
(cherry picked from commit 7158764983)
2017-07-21 18:31:20 +00:00
Android Build Merger (Role)
97099cacd4 Merge "Merge "Expose SubscriptionPlan API." into oc-mr1-dev am: 84c6684bba am: 6f1d451a3a" 2017-07-21 18:31:18 +00:00
Andrii Kulian
f7fe611e97 Merge "Add permission to launch activities on VD" 2017-07-21 18:29:09 +00:00
Jeff Sharkey
1eb8b3cf48 Merge "Expose SubscriptionPlan API." into oc-mr1-dev am: 84c6684bba
am: 6f1d451a3a

Change-Id: I10844e487ab51a121ecdbf51e7732c0bcc198ef6
2017-07-21 18:28:37 +00:00
Calin Juravle
b7a1be6051 Merge "Unhide DelegateLastClassLoader." into oc-mr1-dev 2017-07-21 17:58:49 +00:00
TreeHugger Robot
a8d14a6ea0 Merge "Unhide invalidateColors API" into oc-mr1-dev 2017-07-21 17:51:27 +00:00
Jeff Sharkey
84c6684bba Merge "Expose SubscriptionPlan API." into oc-mr1-dev 2017-07-21 17:14:30 +00:00
Narayan Kamath
0895a123ee Unhide DelegateLastClassLoader.
Tracks libcore change 0209ec7e3c608acc3f1b63413686a3391551dcd5.

Test: make update-api; make checkapi

Bug: 37966546
Change-Id: Idfc22eff5d8bb82690f99a73765dc58dc6fd99fe
(cherry picked from commit be0fc6e48e)
2017-07-21 15:20:07 +00:00
Narayan Kamath
9ecfd2cc44 Merge "Unhide DelegateLastClassLoader." 2017-07-21 15:10:40 +00:00
Etan Cohen
6a6093060f Merge "[P2P] Public API to clean-up resources of P2P" into oc-mr1-dev am: dde0e6ad21
am: ee58159419

Change-Id: I47058edb24ab179ccda4e12880b4c022cd33f563
2017-07-21 05:34:26 +00:00
Tima Vaisburd
e8c611f04d Unhide get/setTextClassifier in WebView
We can unhide the methods etTextClassifier and getTextClassifier since
the WebView M61 that is shipping with O-MR1 has the corresponding
implementation.

Bug: 63903071
Test: CTS test in a ceparate CL
Change-Id: I72df0d34a0fccd2c213ed10ca8993a7d786ff835
2017-07-20 16:05:26 -07:00
Lucas Dupin
98eabbd68a Unhide invalidateColors API
Live wallpapers should be able to report their colors
to have better integration with O-DR visual framework.

Test: make
Bug: 62490115
Change-Id: Id4a61245087a0c6530f56e474ce258ca9528becc
Fixes: 63585249
2017-07-20 21:39:15 +00:00
Jeff Sharkey
17bebd2fd7 Expose SubscriptionPlan API.
Clean up SubscriptionPlan, add docs, and expose as public API.

Deprecate older constants in CarrierConfigManager, and point users
towards new API.  (The goal of CarrierConfigManager is to express
key/value pairs that are identical for all users on a particular
carrier, not to configure details that vary between users.)

Since a CarrierService may itself not have access to the plan
details, allow them to "delegate" the capability to configure plans
to another package name.

Factor out new RecurrenceRule class which is used by both
NetworkPolicy and SubscriptionPlan internally.  Polish it to support
arbitrary periods, and continue to test it through NPMST.

Bug: 63391323
Test: bit FrameworksCoreTests:android.util.RecurrenceRuleTest
Test: bit FrameworksServicesTests:com.android.server.NetworkPolicyManagerServiceTest
Exempt-From-Owner-Approval: Bug 63673347
Change-Id: I93fae4a43e58e9e4c32f8bf345a257dcd607f088
2017-07-20 14:55:57 -06:00
Philip P. Moltmann
468300fd7d Merge "Better translatable msgs for permission requests" 2017-07-20 14:58:53 +00:00
Clara Bayarri
725e2924cc Merge "Make up/down movement of multilength lines remember position" 2017-07-20 14:15:30 +00:00
Etan Cohen
a1dff77196 [P2P] Public API to clean-up resources of P2P
1. Add public API to close a Channel and allow configuration to be
   cleaned-up. Actual clean-up will only happen when the last p2p
   client executes close or terminates (binder death is triggered
   for the service).
2. Add Close Guard to verify that API is called - issue warning
   otherwise. Note that to actually get the warning an app needs
   to use the StrictMode policy:

   StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder()
       .detectLeakedClosableObjects().build());

Bug: 37443149
Test: (new) unit tests, CtsVerifier, Settings/WFD app
Change-Id: I9590101ef7f7ba0a90812634ac1b931d1482fe72
2017-07-20 14:00:41 +00:00
Narayan Kamath
be0fc6e48e Unhide DelegateLastClassLoader.
Tracks libcore change 0209ec7e3c608acc3f1b63413686a3391551dcd5.

Test: make update-api; make checkapi

Bug: 37966546
Change-Id: Idfc22eff5d8bb82690f99a73765dc58dc6fd99fe
2017-07-20 14:09:19 +01:00
TreeHugger Robot
5a1f7ff0fe Merge "Rename vendorExtension fields to vendorInfo." 2017-07-20 03:42:13 +00:00
Jeff Sharkey
6d626c24e3 Merge "Let's get a constant for O_MR1." 2017-07-20 03:20:22 +00:00
Jeff Sharkey
7beabc264b Let's get a constant for O_MR1.
Test: none
Exempt-From-Owner-Approval: HULK SMASH!
Change-Id: I440ebae4d0891d9044bbbfb5beaaaa98639aea98
2017-07-20 03:19:33 +00:00
Andrii Kulian
7158764983 Add permission to launch activities on VD
1. Added permission ACTIVITY_EMBEDDING which allows apps to launch
activities on virtual displays.
2. Allow owner of display to launch activities from same app without
permission check to owned display.
3. Added permission checks for launching on secondary displays to
more target task/stack resolution paths in ActivityStarter.

Bug: 63117330
Test: android.server.cts.ActivityManagerDisplayTests
Test: go/wm-smoke
Change-Id: If169a77fb56241e06f7de20168dc38c4b0a217f5
2017-07-19 19:31:28 -07:00
TreeHugger Robot
bba76b2d09 Merge "Don't show a custom description if any transformation fail." 2017-07-20 01:55:46 +00:00
Ta-wei Yen
5263ad6f8a Merge "Make EXTRA_IS_REFRESH for voicemail notification public" 2017-07-20 00:19:37 +00:00
Lajos Molnar
ef8d73353a Merge "media: Add constants for CBP and CHP for AVC codecs" 2017-07-19 23:43:51 +00:00