148730 Commits

Author SHA1 Message Date
Jessica Hummel
36b4e35a00 Final strings tweaks for work profile
Change-Id: I29ea13d522d867f847e72f5c43170a526e4e7f07
bug:15744182
2014-08-22 15:00:15 +01:00
Paul Jensen
a68d213502 Remove captive portal sign-in actions.
This reverts commit e0101cd and removes the related NetworkMonitor code.
The thinking is the broadcasts are not robust enough as they rely on apps
working together and are not sufficiently tested.

bug:17115050
Change-Id: I433032867cc4fea7191a1b13842b16825dc74df4
2014-08-22 09:42:56 -04:00
John Spurlock
2cd26fa48a Merge "QS: Repoint Wifi + BT dual tile labels to settings." into lmp-dev 2014-08-22 13:27:47 +00:00
John Spurlock
bd60d7f568 Merge "Don't do ambient display when in power-conservation mode." into lmp-dev 2014-08-22 13:27:29 +00:00
Jorim Jaggi
414b152856 Merge "Content description for padlock icon depending on state" into lmp-dev 2014-08-22 13:21:46 +00:00
John Spurlock
d96179e02d Don't do ambient display when in power-conservation mode.
Finish SystemUI's doze dream early when we enter saver mode.

Bug:17164834
Change-Id: I79153be34da8c4b6447acf5dc9f93364906b2bab
2014-08-22 09:02:58 -04:00
John Spurlock
394fd61115 Merge "Doze: Improve icon treatment when dozing." into lmp-dev 2014-08-22 12:59:16 +00:00
Kenny Guy
98193ea54f Fix notification badge when line 3 not shown.
Ongoing notifications from chrome and drive
don't have content in line 3 so profile badge
wasn't shown.
Add profile badge to large notifications which
hide line 3.

Bug: 16366324
Change-Id: Ib4f1e888674743aa8ef93b7eaceae72602d8df4d
2014-08-22 13:30:58 +01:00
Narayan Kamath
31fe102d57 Remove a line that was accidentally committed.
Prevents the APK from being installed.

bug: 17153971

Change-Id: Ic53c94dc6f0583371965d5edb0b12248c915214e
2014-08-22 11:37:20 +00:00
Jeff Brown
8864415e2a Fix matrix multiply in accessiblity display adjustments.
Fixed a bug caused by a missing temporary when swapping two
matrices.  This could produce undefined results in the case where
both display inversion and the greyscale daltonizer were enabled
simultaneously.

Tightened up the code a little to make this kind of error
less likely by removing redundant state.

Removed the native prefix on some methods since they are not
native at all.

Change-Id: I716ffc8fbe76a304c60d45870074340c0121059f
2014-08-22 03:52:01 -07:00
Jeff Brown
1bfd0f463e Improve adaptive brightness in very dark rooms.
Added config_screenBrightnessDark to configure the minimum value
that will be used for auto-brightness adjustment.  This value is
expected to be less than unadjusted minimum auto-brightness level
to provide some range for the user to make the screen dimmer
in dark rooms.

This configuration value is set to the lowest possible level
by default (1).  Individual devices may need to override this value
in their framework resource overlay depending on their backlight
characteristics.

Change-Id: I9bd3a2355c65f894dff89aeaf7661cdf38f4a6ee
2014-08-22 02:17:41 -07:00
Jungshik Jang
f67113f7ab Use common language code in hdmi service.
Bug: 15844859
Change-Id: I12945f743730ee234b25a40543ea44345abf43fa
2014-08-22 17:17:09 +09:00
Yohei Yukawa
a277db28e9 Remove CursorAnchorInfoRequest and related stuff
This CL removes CursorAnchorInfoRequest and related stuff
in favor of InputConnection.requestUpdateCursorAnchorInfo,
which is more easy to understand. This CL also deprecates
InputMethodManager#updateCursor and related stuff.

Rationale:
1. The spec of #updateCursor says that it provides the cursor
   position in local coordinates, while the input method
   requires it in the screen coordinates.
2. #updateCursor has never been enabled in AOSP, because
   InputMethodManager#isWatchingCursor always returned false.
3. There has been no way to let
   InputMethodManager#isWatchingCursor return true.
4. In L, InputMethodManager#updateCursorAnchorInfo is
   introduced to address all the issues above.

Given that we no longer need to support #updateCursor,
CursorAnchorInfoRequest is overkill when we need to convey
just a couple of parameters.

BUG: 17185263
BUG: 17182367

Change-Id: I4a577bfd02b37b9e56c80b8b41bb25afa95dd8ef
2014-08-22 00:55:06 -07:00
Narayan Kamath
97a50adde5 Merge "Fix service tests." into lmp-dev 2014-08-22 07:47:38 +00:00
Jungshik Jang
dbe6b45545 Add spam-safe logger.
This change introduces a new helper class, HdmiLogger,
which prevents spammy log for same error message.

Bug: 17179667
Change-Id: Ia55808408e0a92b0370cd627361f80754b2f1018
2014-08-22 15:30:04 +09:00
Brian Carlstrom
8def5cbb3a Move SystemBackupAgent from services.jar to frameworks.jar
Bug: 17168017
Change-Id: I89b98ca839a78eeb7fb43930e0699ee235deafad
2014-08-21 23:15:13 -07:00
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
Jungshik Jang
6385953604 Merge "Implement interfaces for MHL scratchpad command" into lmp-dev 2014-08-22 05:22:47 +00: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
Matthew Williams
9ae3dbeefc JobScheduler only run jobs for started users.
BUG: 12876556
Minor changes to test app to make persisting an option.
Change-Id: I1b40347878ec5ca44cd717ebfeb544f6c58473b5
2014-08-21 20:28:12 -07:00
Lorenzo Colitti
e258de6f9e Merge "Rework the per-network URL API." into lmp-dev 2014-08-22 03:07:28 +00:00
Jungshik Jang
f424932cfb Implement interfaces for MHL scratchpad command
1. Add sendScratchpadCommand to IHdmiControlService interface,
which is used to send scratchpad command.

2. Add IHdmiMhlScratchpadCommandListener to handle incoming
MHL scratchpad command.

Bug: 17146522

Change-Id: I8e8e743dc08a18c80867be470997ce79d3292c15
2014-08-22 11:45:50 +09: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
Michael Wright
dc63f7b91c Add Voice Assist key.
The action taken is dependent on whether the device is in an
interactive state, allowing for interactions to work even when the
device isn't actively being used

Bug: 16292420
Change-Id: I897f4383e7e4766c0bcb6246b41514b46e03a9ac
2014-08-21 19:05:21 -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
Robert Greenwalt
bb42274e87 Add config settings for ethernet/wifi tcp buffers
Replaces the old system properties.

bug:16549611
Change-Id: Id9b238888a6e31cf99ca72b10bd9c57f1589c04d
2014-08-21 18:01:58 -07: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
Dianne Hackborn
6f4d61ff2e Work on issue #17011123: Hit Back/Recents button when in Recents...
...without interacting with any of the Recents items should not bring
Home back to top

Up navigation needs to be smarter about multi-document and in the case
of being at the root of a document know to re-construct a task for
the app.

Change-Id: Ief874e46e9a9897379dda1010bcce4c5b03d82f1
2014-08-21 17:50:42 -07:00
Aravind Akella
611dea81a2 Step Counter documentation fix.
Change-Id: I04921ca2bdfd10581f5582a025de617a506035b7
(cherry picked from commit 2ba8057d92d490a2492c528d857a9e9fc521e317)
2014-08-22 00:49:03 +00:00
Yigit Boyar
d719539f91 Fix RTL bug for actionbar tooltips
Bug: 12570378
Change-Id: I13ba94c8b736a3a80a8d79e95bd18b93a1157303
2014-08-21 17:48:58 -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
Michael Wright
61c4675ff4 Remove Meta-Tab shortcut for Recents.
Bug: 16904053
Change-Id: I45e87c655738fece1d3899ec68bc3813700831bb
2014-08-21 16:57:33 -07: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
Tyler Gunn
27d1e257f3 Hiding Video telephony related APIs.
Bug: 17188135
Change-Id: I2d4111dbad2430968a458f8f3bf4f2ca1becbbdd
2014-08-21 16:38:40 -07:00
Stephen Hines
dabae759ce Clean up RsFountainFbo_intermediates.
Change-Id: I5c041bac357466d918d3dd209f36b505fd000852
2014-08-21 23:36:29 +00:00