148486 Commits

Author SHA1 Message Date
Jeff Brown
7d82751530 Hide PowerManager methods that third-party apps can't use.
Change-Id: I9c4dbdef913f68939eb29f2c250c5fe3afc67399
2014-08-21 22:43:25 -07:00
Jeff Brown
0a57112354 Poke interactive hint from userActivity and add @SystemApi.
Previously we only poked the interactive hint for input events that
were dispatched through the regular input system.  However, when
using a car dock in projection mode input events are directly
delivered to apps by other system components, bypassing user activity.
So now we poke the interactive hint on all user activity.

Added an @SystemApi version of userActivity.

Added a new signature|system permission called USER_ACTIVITY
to allow system apps to poke userActivity.  For now it seems
prudent to keep DEVICE_POWER signature only.

Bug: 17043684
Change-Id: Ia84bd03083065b8938a9853c08901fbf71b2e56b
2014-08-21 22:36:45 -07:00
Jeff Brown
72671fbb20 Require DEVICE_POWER permission for DOZE_WAKE_LOCK.
This wake lock is only intended to be used internally.

Change-Id: I8d109c492605673616cf7f4f31f082a42fb1d912
2014-08-21 22:20:55 -07:00
Jeff Brown
a71f03c481 Unhide the proximity sensor wakelock.
Bug: 5354313
Change-Id: I59c6bfcd8ff2cebe264f69c49032737a45326373
2014-08-21 22:20:48 -07:00
Chet Haase
bc07081827 Merge "Fix docs for circular reveal" into lmp-dev 2014-08-22 04:12:50 +00:00
Stephen Hines
dc0800ddb6 Merge "Clean up RsFountainFbo_intermediates." into lmp-dev 2014-08-22 04:09:47 +00:00
Lorenzo Colitti
e258de6f9e Merge "Rework the per-network URL API." into lmp-dev 2014-08-22 03:07:28 +00:00
Jinsuk Kim
1bfc75fc04 Merge "CEC: Skip routing control/internal source selection conditionally" into lmp-dev 2014-08-22 02:14:06 +00:00
Lorenzo Colitti
9f1274b7e4 Rework the per-network URL API.
This addresses API council comments.

Bug: 17112978
Change-Id: I698b243b2b685d1f25414cee72450be3ae0c2bf0
2014-08-21 19:09:27 -07:00
Chet Haase
4c902fa56d Fix docs for circular reveal
Issue #17189634 API Review: reveal animation

Change-Id: Iffcec2669368fc95b50ddcba63d0f5c552f49231
2014-08-21 18:55:38 -07:00
Adam Powell
13c3d9622f Merge "Directly propagate Activity titles to action bars" into lmp-dev 2014-08-22 01:18:23 +00:00
Adam Powell
a557fdcfb8 Directly propagate Activity titles to action bars
Window decor action bars already inherit window title changes if no
explicit action bar title has been set but from an Activity's
perspective setting the activity title is a stronger signal. This is
especially relevant when the activity's action bar has been provided
by the application in the form of a Toolbar.

Bug 17138048

Change-Id: Ibf042cab6bbda3dc29590c09d1a0910b6ba78870
2014-08-21 18:05:53 -07:00
Alan Viverette
8bfd36167e Merge "Add private themes for dialogs spawned from Settings theme" into lmp-dev 2014-08-22 01:03:48 +00:00
Winson Chung
096f36b8db Minor tweaks to recents thumbnails.
- Reducing the size of the recents thumbnails
- Skip persisting if we never update the last thumbnail
- Don't bother loading the last thumbnail file descriptor if we have it in memory
- Fixing warning in getting drawable from resource

Change-Id: Ieddaeac75a5e5d80876a9b6b1d50f7cc84c7d6fd
2014-08-22 01:03:21 +00:00
Alan Viverette
87545c5a24 Merge "Clean up nullable listeners in date and time picker delegates" into lmp-dev 2014-08-22 01:02:02 +00:00
Jeff Sharkey
8e28c9c315 Merge "Guard against EOF when reading in FileBridge." into lmp-dev 2014-08-22 00:58:02 +00:00
Jeff Sharkey
5f1ed727e2 Guard against EOF when reading in FileBridge.
Bug: 17183379
Change-Id: I8856fc149915281093f83f46bad64f211d134322
2014-08-21 17:54:29 -07:00
Eino-Ville Talvala
2d9a18e02e Merge "Camera2: Fix return type of CaptureFailure#getFrameNumber" into lmp-dev 2014-08-22 00:46:41 +00:00
Jinsuk Kim
d530719b16 CEC: Skip routing control/internal source selection conditionally
This is necessary for TV woken up by <Text/Image View On> to override
initial TV source selection/routing control, since the input change
will immediately come from external device.

Bug: 17189114
Change-Id: I4aa1ac31bc7f6ab554e29a9e6065e534e15abd58
2014-08-22 09:46:37 +09:00
Yin-Chia Yeh
6fc6748ffb Merge "Camera2: add toString for two params classes" into lmp-dev 2014-08-22 00:20:06 +00:00
Jing Zhao
1b4771d7c5 Make mAutoAttachOnCreation in DcTracker configuable
Bug: 17131842
Change-Id: Iba63cff2f8f5b3ed28bde2aca42e91d3693cad54
2014-08-22 00:07:15 +00:00
Jorim Jaggi
048f0cf01c Merge "Content description for next alarm" into lmp-dev 2014-08-22 00:05:46 +00:00
Santos Cordon
0159ac0cfe Additional changes for Conference.
1) Connection.setConference() checked to see if the conference was valid
before setting it.  This prevented us from populating child connections
on a new conference until it was added.  Now we allow it but dont sent
the update unless the conference has already been sent.
2) removed unnecessary ArrayList<>() wrappers on CopyOnWriteLists.
3) Updated disconnect/hold/unhold so that they are sent to Conference
objects as well as Connection objects.
4) Added support for separating a child conference call.
5) Additional Logging

Bug: 15621105
Bug: 17136172
Change-Id: I939c36bc9694b9d81f0ff582e2fbe335006aa485
2014-08-21 23:40:35 +00:00
Stephen Hines
dabae759ce Clean up RsFountainFbo_intermediates.
Change-Id: I5c041bac357466d918d3dd209f36b505fd000852
2014-08-21 23:36:29 +00:00
Jorim Jaggi
321583d540 Content description for next alarm
Also fixes a bug where "status" was read out with TalkBack for no
good reason.

Bug: 15694080
Change-Id: Id295eb70af880d93ff928ebc337b09a8d679120d
2014-08-22 01:33:33 +02:00
Lajos Molnar
c54a76cbcd Merge "MediaCodec: expand documentation on flush/EOS handling and adaptive playback" into lmp-dev 2014-08-21 23:05:28 +00:00
George Mount
99db6030e1 Merge "Add Parent Change to ChangeTransform" into lmp-dev 2014-08-21 23:00:05 +00:00
Dake Gu
c94e2b393f Add Parent Change to ChangeTransform
Bug 16460123

Modified ChangeTransform to support any pivot changes.
Modified ChangeTransform to support changes between parents.

Change-Id: I6374890dab9f3d795f334b951bdb9d51d434b8ee
2014-08-21 15:50:17 -07:00
Igor Murashkin
b68654ce84 Merge "camera2: Enable configuration failure to call #onConfigureFailed" into lmp-dev 2014-08-21 22:33:29 +00:00
George Mount
7762e8e798 Merge "Allow Activities to opt into using Overlay for shared elements." into lmp-dev 2014-08-21 22:26:57 +00:00
Ronghua Wu
c90c7d257c Merge "MediaHTTPConnection: handles cross protocol redirects." into lmp-dev 2014-08-21 22:24:16 +00:00
Alan Viverette
5c88b3b1c7 Add private themes for dialogs spawned from Settings theme
BUG: 16778165
Change-Id: I19ecf735171c55d56dc1072622eeefcef5d233a0
2014-08-21 15:16:31 -07:00
Jing Zhao
e647a013a0 VoLTE incoming call number
Set incoming call number in OIR to be shown to user

Bug: 17032453
Change-Id: Iceadb0f537fb35f685cbcf8279ccef7d86036600
2014-08-21 22:05:04 +00:00
Adam Lesinski
d255aba093 Merge "Add better error message for AAPT file conflicts" into lmp-dev 2014-08-21 22:00:25 +00:00
Adam Lesinski
628f670a54 Merge "AAPT: mipmaps should not end up in Splits" into lmp-dev 2014-08-21 22:00:09 +00:00
Stephen Hines
b020563811 Merge "We need to specify a target SDK < 21 to use graphics RS." into lmp-dev 2014-08-21 21:48:18 +00:00
Dianne Hackborn
0104503c50 Merge "Work on issue #16683269: system_server still leaking memory" into lmp-dev 2014-08-21 21:34:09 +00:00
George Mount
b89d5cc2c6 Allow Activities to opt into using Overlay for shared elements.
Bug 17001227

Change-Id: Icc49a81357ee69abd2a15a1d1efcead298ab3fb7
2014-08-21 14:30:51 -07:00
Eino-Ville Talvala
edecaee1f2 Camera2: Fix return type of CaptureFailure#getFrameNumber
Should be long, not int.

Bug: 17188354
Change-Id: If90749f21cdf9dd493aa561769655211a70acf29
2014-08-21 14:28:50 -07:00
Elliott Hughes
105f6ceb0f Merge "Don't say "Arabic (Egypt)" in Settings." into lmp-dev 2014-08-21 21:24:44 +00:00
Robert Greenwalt
56a9ed858c Merge "Change the NetworkInfo for disconnected types." into lmp-dev 2014-08-21 21:02:19 +00:00
Adam Lesinski
27f69f4e06 AAPT: mipmaps should not end up in Splits
Mipmaps are never filtered, and so they will always
end up in the base APK. Make sure they get omitted from
any split.

Change-Id: Id24b082bc9bd2d3f031a58bd0de4d30b4f0de7e0
2014-08-21 13:59:46 -07:00
Alan Viverette
9468c6a28e Clean up nullable listeners in date and time picker delegates
Removes the NO_OP listener from TimePicker since we actually do null
checks everywhere already.

BUG: 17179502
Change-Id: I39a7d68253845c004027e31c59afc43be42195b7
2014-08-21 13:56:54 -07:00
Adam Lesinski
48f05d29f3 Add better error message for AAPT file conflicts
Some resource directories may be the same even though
their names are different. For instance, the
"smallest width" qualifier was added in API 13,
so the resource directory "values-sw600dp" and
"values-sw600dp-v13" are the same and cause
a conflict. The error reports that this might be the
case.

Change-Id: Ia35f1d670edd48265b3a7fe3d55656128421f612
2014-08-21 20:54:01 +00:00
Chris Craik
759f780af0 Merge "Enable scissor for rounded outline clips" into lmp-dev 2014-08-21 20:48:53 +00:00
Chris Craik
79d26c72aa Enable scissor for rounded outline clips
bug:17164074

Change-Id: I83ca428f4d7651c6774ab81ac390477fb90c5d38
2014-08-21 13:47:08 -07:00
Dianne Hackborn
b1a8a89697 Work on issue #16683269: system_server still leaking memory
Fix a small temporary leak of app crash dialogs, which weren't
removing their timeout message.

Change-Id: Iee90b5fa2be700e3006388f32145ce4b14baa2ec
2014-08-21 13:44:19 -07:00
Ronghua Wu
5b9305fe9b MediaHTTPConnection: handles cross protocol redirects.
Bug: 16899444
Bug: 17106630

Change-Id: I7e416447abffcae31c65fd469ee5f9fc867b4cdc
2014-08-21 13:42:00 -07:00
Adam Lesinski
bfecd904bf Merge "Update Split example with application icon" into lmp-dev 2014-08-21 20:39:27 +00:00
Adam Lesinski
b5136731b2 Merge "Report the right resource version in am get-config" into lmp-dev 2014-08-21 20:39:00 +00:00