Commit Graph

41280 Commits

Author SHA1 Message Date
Robert Greenwalt
8283f8802d Remove dead code.
Also adds a TYPE_VPN so the VPN can be strongly typed.

Change-Id: Ibf39450c480f16ce5ab4c25b47965691b844fb92
2014-07-07 17:09:01 -07:00
Robert Greenwalt
620a5466ce Merge "Remove unused api." 2014-07-02 18:55:10 +00:00
Nick Kralevich
118f04bd9a Fix "Clone" override
The function should be named "clone", not "Clone".

Also add @Override so that this error can be detected at
compile time.

Change-Id: I976723978a5e3eafbfbc599bac95b8646d18d5ca
2014-07-07 15:26:28 +00:00
Robert Greenwalt
17c3e0fbfc Remove unused api.
bug:15595155
Change-Id: Ifd79365bd45f20f531782244f471a4cfc32a4135
2014-07-02 13:50:33 -07:00
Glenn Kasten
30d5195fc1 Fix build
Change-Id: I7d0787e4a1f778008c979c4174ef445a950c4250
2014-07-07 07:12:29 -07:00
Paul Jensen
d2e2f0fb30 Merge "Add captive portal sign-in actions." 2014-07-02 20:06:33 +00:00
Jinsuk Kim
fca826de37 Merge "Update HdmiControlService.deviceSelect()" 2014-07-02 20:35:42 +00:00
Jinsuk Kim
b38cd68b24 Update HdmiControlService.deviceSelect()
The device selection action should have stopped if
TV's own power goes to standby in the middle. This CL
implements the right behavior.

Some TODO's about OSD banner were removed as they
can be handled in caller (TV app) when invoking the API
or upon receiving the callback based on the result. One
more callback result constant was added accordingly.

Bug: 15843137
Bug: 15844312
Bug: 15845651

Change-Id: Ib118fd6e80e9abdfb531e3f321d8db1c9cec45bd
2014-07-07 16:03:40 +09:00
Jinsuk Kim
4ab7606f32 Merge "Removed class HdmiCec" 2014-07-02 19:52:36 +00:00
Jinsuk Kim
c0c20d0522 Removed class HdmiCec
Most of the constants in HdmiCec are internal use only. Moved them
to service, and dispersed the rest to other relevant classes.

Also moved HdmiCecMessage class to service as it doesn't need to be
open ouside the service.

Change-Id: I7b2ce3bf465330aa4d7fcd05f9aefa1e6c8b056a
2014-07-04 17:19:31 +09:00
Jinsuk Kim
0f94217e90 Merge "Add API setProhibitMode in HdmiControlService" 2014-07-02 19:52:36 +00:00
Jinsuk Kim
4d43d93743 Add API setProhibitMode in HdmiControlService
setProhibitMode sets a flag inside the service that indicates if
input switch request will be processed or not. Sets to true when
TV is doing something for which TV display should be fixed, like
channel scan, software update - collectively called 'prohibit mode'.

Change-Id: I8ac623023210b58b684b9af3ac475a5fe0d09435
2014-07-04 12:36:38 +09:00
Jinsuk Kim
09b36e2347 Fix broken build
Added the missing file

Change-Id: I96a918b6e8a368b44eb3d51cd8bfd567dbc8de94
2014-07-04 11:43:36 +09:00
Jinsuk Kim
9c37e1f53e Implement some apis for TV Input Framework and HdmiControlService
- setInputChangeListener()
- getInputDevices()

Change-Id: I6f7d6d9c7094018e2b6b5ba37f63c8ee5df00e37
2014-07-04 11:22:51 +09:00
Zhijun He
9810f39717 Merge "Camera2: update spec for RAW10" 2014-07-02 18:22:50 +00:00
Zhijun He
ea1727c9e1 Camera2: update spec for RAW10
Bug: 15989722
Change-Id: Ia94e7b3080eb0d4ac088e0d4fc297f513ab2cf3a
2014-07-04 10:03:53 -07:00
Kenny Guy
c13053bf1c Add package state to block uninstall.
Add package state to allow profile or device
owners to block uninstall of packages.
Add API to DevicePolicyManager to set/get the
state.

Bug: 14127299
Change-Id: I03528819850b42df7bafa7747bb9e4558d20c4e6
2014-07-04 11:35:17 +00:00
Przemyslaw Szczepaniak
fb2f7d60a3 Merge "Add support for voices in TTS API." 2014-07-02 19:56:47 +00:00
Narayan Kamath
1359908de6 am 0cf2e65d: am 5ae312fb: am 759e0d6a: Merge "Fix LocalePicker locale filtering."
* commit '0cf2e65dc00e12c5a5e0d01fe9fd93b6712f366f':
  Fix LocalePicker locale filtering.
2014-07-04 10:34:18 +00:00
Przemyslaw Szczepaniak
ad6df74ada Add support for voices in TTS API.
Voices allow to expose multiple backends/voice packs for a single
Locale. This is an attempt to port this feature from V2 API.

Bug: 15834470
Change-Id: I0117de238cfcf028bcec5344b8d65c960b96b98c
2014-07-04 11:28:06 +01:00
Narayan Kamath
0cf2e65dc0 am 5ae312fb: am 759e0d6a: Merge "Fix LocalePicker locale filtering."
* commit '5ae312fb5b601d2c60e197f94c6a292700776140':
  Fix LocalePicker locale filtering.
2014-07-04 09:22:57 +00:00
Narayan Kamath
5ae312fb5b am 759e0d6a: Merge "Fix LocalePicker locale filtering."
* commit '759e0d6a7a258dbc34a38a7db320827eb9144487':
  Fix LocalePicker locale filtering.
2014-07-04 08:48:58 +00:00
Narayan Kamath
759e0d6a7a Merge "Fix LocalePicker locale filtering." 2014-07-04 08:02:36 +00:00
Narayan Kamath
80b574199c Fix LocalePicker locale filtering.
This was broken by commit b27c137087 which
removed a badly phrased check. Prior to that commit,
there was a check that excluded locales whose toString()
length was not 5.

This change reinstates that check in a less roundabout
way, by excluding BCP-47 tags that don't have a country
subtag.

bug: 16038949

Change-Id: Ic24b1df87b2e2ce47d9ae04c7759088721f27b4f
2014-07-03 13:31:42 +01:00
Brian Duff
51d70ce9b8 am c542745e: am a6e9dd3f: Merge "Fix a typo in NumberPicker javadoc."
* commit 'c542745e23fe9d2e71c1f607d66f5570f585133d':
  Fix a typo in NumberPicker javadoc.
2014-07-03 09:43:56 +00:00
Brian Duff
c542745e23 am a6e9dd3f: Merge "Fix a typo in NumberPicker javadoc."
* commit 'a6e9dd3f9a2d966faf2d1710d2189127b968dc52':
  Fix a typo in NumberPicker javadoc.
2014-07-03 06:45:04 +00:00
Brian Duff
a6e9dd3f9a Merge "Fix a typo in NumberPicker javadoc." 2014-07-02 20:51:20 +00:00
Jessica Hummel
ea9bdd7c50 Merge "Remove unused action from DevicePolicyManager." 2014-07-02 19:56:47 +00:00
Marcin Kosiba
7482a8d08e Preload the WebView package into all applications.
This is a temporary workaround to allow the WebView to move into
an APK.

BUG: 11505352
Change-Id: I0c446d44c3f94f70bced7f471ae6fb74f65d5ff9
2014-07-03 12:25:14 +00:00
Jessica Hummel
edb7ae704b Remove unused action from DevicePolicyManager.
This is part of a simplification to cut out one communication with mdm apps.

Change-Id: I7d0067928c20387dca8fcc45a7bc48d9d158fa2c
2014-07-03 11:14:33 +01:00
Brian Duff
f8d4602c9b am 51d70ce9: am c542745e: am a6e9dd3f: Merge "Fix a typo in NumberPicker javadoc."
* commit '51d70ce9b8dbbcb7f354c87b722efe84b2a62a28':
  Fix a typo in NumberPicker javadoc.
2014-07-03 09:49:24 +00:00
Jeff Sharkey
df972232c7 Merge "Teach DCS about cluster packages." 2014-07-03 01:26:58 +00:00
Jeff Sharkey
be520fba1e Teach DCS about cluster packages.
For the time being, DCS is going to still be doing heavy lifting for
some install tasks, so it need to know how to handle both monolithic
and cluster packages.  This change is mostly plumbing work to
eventually handle any various splits APKs that we may encounter.

Bug: 14975160
Change-Id: I39848d5666f9083cb4eca493e5cdaa868f3f99fb
2014-07-05 19:16:53 -07:00
Jeff Sharkey
0c54798aac Start removing ContainerEncryptionParams.
The new PackageInstallerSession APIs will allow installers to deliver
bits directly into system protected storage, so we no longer need
encrypted containers.

Change-Id: I8b598cb149b7dfd1d41e6626c1359610a573edf1
2014-07-05 15:49:07 -07:00
Jeff Sharkey
73767b9d60 Extract native code from split APKs.
In the new split APK world, multiple APKs work together to define a
single package.  This means that native code may be split among those
APKs.  To handle this, extend NativeLibraryHelper to examine all
APKs in a package ordered by splitName.

A package has valid native code as long as one matching ABI is found
inside.  The "best" ABI found across all APKs is picked for the
entire package.  No attempt is made to ensure that every native
library defined is available for the picked ABI; that's the
responsibility of the installer.

Re-introduce PackageLite to represent a lightweight parsing of an
entire package, which may be a single monolithic APK or a cluster
of one or more APKs.

Remove native code extraction from InstallerSession, since it'll be
handled inside PMS for this release.

Bug: 14975160
Change-Id: I4f4db0f82e88a46101c7777499ebc0a11fd911f9
2014-07-04 21:00:33 -07:00
Adam Powell
3f2cfb2d67 Merge "ResolverActivity revisions, phase 1" 2014-07-05 02:59:43 +00:00
Adam Powell
e9414d922d ResolverActivity revisions, phase 1
* Switch to grid formatting for items to choose from.

* Format the grid at the bottom of the screen instead of in a formal
  dialog.

* Move to newer theming.

Change-Id: Ie1b23800b3a521570f9f62e4cdef620d3fb491d8
2014-07-05 18:28:24 -07:00
Nick Kralevich
61dcb08c85 am 6b26ded8: am d05a0743: am a347ece5: Merge "Fix typo in comment of FragmentTransaction"
* commit '6b26ded8ce7b3cfa79fb5cda388283e2336c396b':
  Fix typo in comment of FragmentTransaction
2014-07-05 17:23:19 +00:00
Nick Kralevich
6b26ded8ce am d05a0743: am a347ece5: Merge "Fix typo in comment of FragmentTransaction"
* commit 'd05a0743484da59d341792749a3cf35f18a7e11c':
  Fix typo in comment of FragmentTransaction
2014-07-05 17:17:40 +00:00
Nick Kralevich
d05a074348 am a347ece5: Merge "Fix typo in comment of FragmentTransaction"
* commit 'a347ece5a77d4b695af6255d751d98dbb519ad74':
  Fix typo in comment of FragmentTransaction
2014-07-05 17:11:42 +00:00
Nick Kralevich
7f7bd3c705 am 89c9c67a: am d92ab153: am a6336747: Merge "Fix a copy/paste typo in ViewPropertyAnimator"
* commit '89c9c67a33abd2f9ef9f160c6fae73364e2b8c4f':
  Fix a copy/paste typo in ViewPropertyAnimator
2014-07-05 17:03:31 +00:00
Nick Kralevich
194f7d7a07 am 3d24150d: am 23219098: am b70888d4: Merge "Fix a typo in a javadoc comment"
* commit '3d24150dbb58231a7dd6aef7e541cd21870f2ebf':
  Fix a typo in a javadoc comment
2014-07-05 16:56:53 +00:00
Nick Kralevich
89c9c67a33 am d92ab153: am a6336747: Merge "Fix a copy/paste typo in ViewPropertyAnimator"
* commit 'd92ab153a3a33dcd1304661a9929112ab0b40d5a':
  Fix a copy/paste typo in ViewPropertyAnimator
2014-07-05 16:56:47 +00:00
Nick Kralevich
98acdc8007 am 3cdc06bb: am dbb32da8: am c9eff23b: Merge "Fix typo in DevicePolicyManager documentation"
* commit '3cdc06bb370a2f29d334e6916969e954875d51fe':
  Fix typo in DevicePolicyManager documentation
2014-07-05 16:56:47 +00:00
Nick Kralevich
d92ab153a3 am a6336747: Merge "Fix a copy/paste typo in ViewPropertyAnimator"
* commit 'a6336747a42fa5b64f82b7fe57ddf614d1fda9b2':
  Fix a copy/paste typo in ViewPropertyAnimator
2014-07-05 16:52:11 +00:00
Nick Kralevich
3d24150dbb am 23219098: am b70888d4: Merge "Fix a typo in a javadoc comment"
* commit '23219098a6d623cf1825d8fd9a8d200cdc06aab9':
  Fix a typo in a javadoc comment
2014-07-05 16:51:38 +00:00
Nick Kralevich
3cdc06bb37 am dbb32da8: am c9eff23b: Merge "Fix typo in DevicePolicyManager documentation"
* commit 'dbb32da844cf8ed65d0b5005276a86aad7c81853':
  Fix typo in DevicePolicyManager documentation
2014-07-05 16:51:32 +00:00
Nick Kralevich
1a20216bb2 am 3e5f0229: am 58005ec5: am 3b345a6f: Merge "Fix javadoc typo in Message.java: "arg1" -> "arg2""
* commit '3e5f0229e10be4179f763efd6119b63bcea6d162':
  Fix javadoc typo in Message.java: "arg1" -> "arg2"
2014-07-05 16:46:11 +00:00
Nick Kralevich
23219098a6 am b70888d4: Merge "Fix a typo in a javadoc comment"
* commit 'b70888d45573c015fbb9d584df575bf78f5e9684':
  Fix a typo in a javadoc comment
2014-07-05 16:45:31 +00:00
Nick Kralevich
dbb32da844 am c9eff23b: Merge "Fix typo in DevicePolicyManager documentation"
* commit 'c9eff23b443f26fb8c4873a6ecb61eded0564163':
  Fix typo in DevicePolicyManager documentation
2014-07-05 16:45:26 +00:00