Age | Commit message (Collapse) | Author |
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/providers/TvProvider/+/11759348
Change-Id: I5aa4ec6b88d505ca0fcaa369417fb4909e6fe872
|
|
TV channel use cases were completely broken and disappeared after reboot
even if the client targets SDK < 30. See deleteRowsOfUninstalledPackages
in the BootCompletedReceiver.
Test: Manual (for now- enable BootCompletedReceiver.DEBUG)
Test: adb logcat | grep deleteRowsOfUninstalledPackages
Bug: 157232863
Change-Id: I8b6f11560446e37f4cd92574d8f0d0d578ea97fe
|
|
With b/150232615, we will need an explicit value set for the exported
flag when intent filters are present, as the default behavior is
changing for S+. This change adds the value reflecting the previous
default to the manifest.
These changes were made using an automated tool, the xml file may be
reformatted slightly creating a larger diff. The only "real" change is
the addition of "android:exported" to activities, services, and
receivers that have one or more intent-filters.
Bug: 150232615
Test: TH
Exempt-From-Owner-Approval: mechanical refactoring
Change-Id: If15df0615725c762c279de6d54584fb855ba2d80
|
|
Bug: 69059948
Test: make TvProvider -j30; adb push to priv-app; adb install;
and tested with local device.
Change-Id: Ie16835582f2e1d57230b7b3af77a850dd22e3008
|
|
This reverts commit d67e9bd5d597847f9dad049c5da35918caac52fc.
Test: build. manually tested device boots well in the upgrade case.
Bug: 36849902
Change-Id: Ieea288205d5f25febb8a74afbed1d6d69648a0e7
|
|
Test: cts-tradefed run cts -m CtsTvTestCases
Bug: 36395259
Change-Id: I97c7f6348b92587df0e97c821f13480f9b2e5523
|
|
Data element of intent filter is required to receive broadcasts
with data.
Test: adb shell cmd package query-receivers -a android.intent.action.PACKAGE_FULLY_REMOVED -d package:foo
Bug: 34809881
Change-Id: Ie9255c459a74a3fc096e6e74346839536f1a4680
|
|
Test: runtest --path packages/providers/TvProvider/tests/
Bug: 34884862
Change-Id: Iee2006c0aa19ae616665b3719cfc6aaf2f1b7bba
|
|
Implementation background: DB operation should be done in onCreate
to prevent possible ANR per its documentation. Also, onCreate is
usually called when the TvProvider is firstly used, so the actual
benefit is low even we can do so.
Test: passes newly added test cases
Bug: 34160270
Change-Id: I41f0488662b74e645dc17e1a852266eb6e691c9b
|
|
am: b187bdb636
Change-Id: I5128ab325463232d96212c005bb4db11ff0b39cc
|
|
- Run the DB upgrade on PRE_BOOT_COMPLETED like other system providers.
(e.g. ag/52589, ag/129329)
- Do not run DB operation, which may trigger upgrade, in TvProvider.onCreate.
Bug: 27615817
Change-Id: I5a034ce20e5c01fc89539eac1f76dd4a3d5a3103
|
|
Change-Id: I8330357d0060ce9a60605500f59089a041012100
|
|
Permission protection level changed from signature|system,
which is deprecated to signature|privileged.
Change-Id: Ifda465f3a83af779ff027d1657c665674e0bc3d1
Signed-off-by: Yury Zhauniarovich <y.zhalnerovich@gmail.com>
|
|
There is still concern about not enforcing permission for writing EPG
data because malicious apps can silently insert spammy channels into the
database without letting the user know. This change addresses such
concern by reviving the previously removed EPG write permission.
Now, instead of requiring individual TV input apps to request runtime
permission, the system TV viewer app grants permission for writing EPG
data to the TV input apps that have been approved by the user.
Bug: 20124415
Change-Id: I0f785515ca39161f8c4647a09dcbd8e7fc5a5747
|
|
Remove both READ_EPG_DATA and WRITE_EPG_DATA permissions that have not
been used effectively and instead add a new READ_TV_LISTINGS permission
that allows EPG apps to access the TV listings from all channel sources.
Bug: 20124415
Change-Id: Ic83ad99664dfcecf0dde33a34f2c79d953deac77
|
|
Also turned off debugging and set the retention period for wached
programs data to 90 days.
Bug: 17512367
Change-Id: I4c9653c0b05d5a3ee3e373d7938af0bc6aa0b061
|
|
Bug: 16955875
Change-Id: I019603addee0e9205a1aa810e77b2ee84dbacf38
|
|
Bug: 14903289
Change-Id: I3f2b04c7f6e46fc172c055abab7be3ca98536a55
|
|
Also incremented the version number to purge the old columns.
Change-Id: I89422f49ecb98816b90c504aa852ccab09e70408
|
|
Implemented the very first version of TvProvider (ContentProvider for
TV) that manages access to TV channel/program data as well as the user’s
TV watch log. The contract between this provider and applications is
defined in android.provider.TvContract.
Change-Id: I7c04a952983ae28287398c720c945da0d7d4726b
|