Commit Graph

38196 Commits

Author SHA1 Message Date
George Mount
700db2a325 Fix converting to opaque when "back" hit quickly after entering.
Bug 16044696

Also ensured that there were no memory leaks.

Change-Id: I9b32592a5b57b496903b2c5ede6d742e86ab5fa7
2014-07-08 16:56:29 +00:00
Robert Greenwalt
9eb38a6ffa Merge "Remove dead code." 2014-07-06 02:28:07 +00:00
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
George Mount
114c68cec4 Merge "Prevent exit transition when a new task was started." 2014-07-06 02:28:07 +00:00
George Mount
ff243289d3 Prevent exit transition when a new task was started.
Bug 15543793

Change-Id: Id9705009e16da82fe2068f16e167c9cd07696889
2014-07-07 16:42:44 -07:00
Christoph Studer
0c69a3e5e8 Remove unused Notification.EXTRA_SCORE_MODIFIED
Change-Id: I195204e384fc4818ae5980d978518c0e6403f3fb
2014-07-08 15:48:27 +00:00
John Reck
8360153891 Revert "Fix destroyHardwareResources"
This reverts commit bac48c4d0c6f71f67074a430cd365ea2e15924b8.

Change-Id: Iba8b729d5e91ca31976fc2bdf9c1dd5fdb19de9a
2014-07-08 15:44:41 +00: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
Ruben Brunk
4b0a7ab6a5 Merge "camera2: Update LEGACY mode video handling." 2014-07-02 18:55:10 +00:00
Ruben Brunk
7f2372bd85 camera2: Update LEGACY mode video handling.
Bug: 15116722

- Change FPS preview setting handling for video modes.

Change-Id: Idba2162979db93a0483480ea256cbab85c1bd182
2014-07-07 22:55:40 +00:00
Alan Viverette
8e5e11b99f Handle configuration changes in drawable attributes
Adds themeable attribute support to InsetDrawable, adds support
for attribute configuration changes to all themable drawables.

BUG: 16045735
Change-Id: I3dc62d28801760ac69d303be81b6c78bb9bb5aca
2014-07-07 22:54:22 +00:00
John Spurlock
5a19b1c753 Merge "Implement new volume UI design." 2014-07-02 20:00:08 +00:00
John Spurlock
ae641c9ccd Implement new volume UI design.
- Add segmented zen-mode picker to the rocker UI.
- Add a new "no interruptions" value to the zen setting.
- Implement expandable condition subpanel on the rocker UI.
- Remove the old circle&slash icons.
- Suppress alarm sounds if in "no interruptions" mode.
- Add warning re: alarms to the condition UI.
- Allow rocker UI to display over the keyguard.
- Remove Notifications QS tile.
- Realign volume rocker to the top of the screen.
- Add support for new "days" sleepMode.
- New icon policy rules for "volume" slot.
- New important icon (star).

Associated Settings change:
  I6ed56791784968adfbd684f490dbbebed285a2dd

Bug:15831713
Change-Id: I35afe38646f04d2ba0dbac11c2c6356120a33694
2014-07-07 18:48:25 -04:00
Adam Powell
aab726c53e Fix consistency in nested pre-scroll with ScrollView for AbsListView
Keep sign consistency for nested pre-scroll dispatch in AbsListView
with ScrollView. Also correctly invoke nested flings.

Bug 16015770

Change-Id: Ia8a82667ea548aafda66f04e32046c3b0a5c2314
2014-07-07 15:29:13 -07:00
George Mount
468f7da797 Merge "Introduce onNewActivityOptions for return activity" 2014-07-06 02:28:07 +00:00
Craig Mautner
eb8abf7207 Introduce onNewActivityOptions for return activity
When an activity that is already translucent returns to the
previous activity using a scene transition the receiving activity
did not receive its ActivityOptions for its side of the animation.
The new method onNewActivityOptions() delivers those options.

Fixes bug 14869070.

Change-Id: I09b136b3213aae5d3521894e17a7500ac793f3d2
2014-07-07 12:48:50 -07:00
Niels Egberts
4143bc5f09 Merge "Add TtsSpan class." 2014-07-02 19:53:18 +00:00
Niels Egberts
4f4ead4812 Add TtsSpan class.
The TtsSpan can be used to provide addtional data for  TTS engines.

For now it only includes the types text and cardinals, but more will follow.

Change-Id: I31392dd413c0902ba4ce702fa3307253c90c618f
2014-07-07 20:25:44 +00:00
Fabrice Di Meglio
f9499b36e6 Add PreferenceFragment styling
- add the capability to specify a specific layout for PreferenceFragment

Change-Id: I2fa36b8fa8110e6cbc8006e1d000dc90ae6a5f0b
2014-07-07 20:08:27 +00:00
Jeff Sharkey
d746057f24 Change new file installs to be cluster-based!
Now that all the other pieces are in place, we're ready to start
installing new file-based packages as a cluster (the new unified
directory-based layout).  This greatly simplifies the renaming
process.

Also add helper methods to ApplicationInfo to give a much clearer
mapping between it and internal field names, since we can't change
the public API.

Add recursive restorecon().

Bug: 14975160
Change-Id: I72a63c5ddbc594c2fec4a91dd59f73ef253fbfd7
2014-07-08 00:38:57 -07:00
Dianne Hackborn
904a1045ce Merge "Fix cleanup of voice sessions." 2014-07-07 17:47:39 +00:00
Brian Carlstrom
e2dd396cef Remove
Change-Id: Ia2fa4ebae090838c2bf7bc96edc38a85fe3059dd
2014-07-07 11:30:16 -07:00
Dianne Hackborn
6ea0d0a259 Fix cleanup of voice sessions.
They would leave active voice activities lingering around.

Change-Id: I5b6716ab303636ebdf2f13c3172552a73dae3bb1
2014-07-07 11:28:29 -07:00
Craig Stout
f209ef9c3a Fix TextView drawing issue.
The predraw listener was lost because the view was detached and reattached
after layout but before the first draw.

b/15376022

Change-Id: Idf38f7373df3c457f54b6e3f995b00256914f775
2014-07-07 17:43:52 +00:00
Jinsuk Kim
c7eba0f1db Intent definition for HdmiControlService for OSD display
Intent action/extra for TV app to show a message on screen about events
HdmiControlService need to report for user's attention. The app
needs system permission HDMI_CEC to receive the intent.

Change-Id: I4fbe4621efa20a17ca64a3ca8f2df64bee03c51b
2014-07-08 14:02:38 +09:00
Jinsuk Kim
119160a681 Add vendor-specific command API for HdmiControl
Vendor-specific commands are not handled by the service. This CL
opens an API for vendors to implement customized handling of
CEC commands specific to their needs.

Change-Id: I8bfa3b891bd7994a903b3b41d7c2b27464167afa
2014-07-08 04:46:05 +00:00
Chris Craik
7f87e8acbb Merge "Query outline on background size change" 2014-07-05 02:59:43 +00:00
Chris Craik
0f632046dd Query outline on background size change
Background bounds are updated out of sync with View bounds, so query
as they change.

Change-Id: I9c94df17bac42dfcd4bb93b31903b59ebb58204b
2014-07-07 19:52:58 -07:00
Winson Chung
88085ad05b Merge "Refactoring to support groups." 2014-07-07 17:47:39 +00:00
Winson Chung
ffa2ec6644 Refactoring to support groups.
- Removing RecentService, determining animations just in time
- Fixing a few issues with animations of newly picked up tasks from the pool
- Moving helper classes into sub package

Change-Id: Ie10385d1f9ca79eea918b16932f56b60e2802304
2014-07-07 17:33:31 -07:00
Craig Stout
9eef3f4fb9 NumberPicker fixes for Android TV.
Fixed stuck dpad navigation when end of range is reached.
Adds theme attribute 'hideWheelUntilFocused'.

b/15194230

Change-Id: I9a77c6ad29a1fd930a8920d9944ad1eb15ca6b96
2014-07-08 00:10:05 +00:00
Adam Powell
032fb0a2a2 Merge "Avoid texture path drawing for EdgeEffect" 2014-07-02 18:55:10 +00:00
Adam Powell
ccb2466b5d Avoid texture path drawing for EdgeEffect
Make sure we stay on tesselated geometry code paths instead of texture
generation.

Bug 16131698

Change-Id: I6b934e718e1d3c5164a8ede71b1240ce761eaf71
2014-07-07 16:24:13 -07:00
Craig Stout
59c7b4b04f TimePickerDialog does not force new ui on TV.
Add support for done button in LegacyTimePickerDelegate.
Provide leanback themed legacy time picker layout with buttons
on the side.

b/15194230

Change-Id: Ie05c1cf45b334e9642095d63c682aba314ff3c6b
2014-07-07 23:08:11 +00:00
Alan Viverette
fccbff5f02 Add API on AccessibilityNodeInfo for retrieving TextView error
BUG: 11155198
Change-Id: Ie01b92e1071ff584b360cfa3ece4320ad05e4aae
2014-07-07 15:06:14 -07:00
Craig Mautner
0e73e53296 Merge "Add Activity.isTopOfTask() method" 2014-07-02 18:50:12 +00:00
Craig Mautner
d61dc20de1 Add Activity.isTopOfTask() method
Used by scene transition to determine if an activity has launched the
next activity into its own task or into another task.

Fixes bug 15771895.

Change-Id: I6d350350dcf27509296d55d7b75be90a01694ac9
2014-07-07 15:44:47 -07:00
John Reck
ec0c925480 Fix destroyHardwareResources
The UI thread needs to know whether or not the display list is
 valid, so bring back View.destroyHardwareResources and instead
 have the native side assert that View did the right thing

Change-Id: I4f8dee6e9c13ec7ab520becdc5cfe20e92a76f8f
2014-07-07 23:37:40 +00: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