148708 Commits

Author SHA1 Message Date
Aravind Akella
765c08fdd6 am 611dea81: Step Counter documentation fix.
* commit '611dea81a2f061e3d44841a5312ad7922e03ef63':
  Step Counter documentation fix.
2014-08-22 18:02:17 +00:00
Ronghua Wu
0e9e3b213e VideoView: unhide setVideoURI api and add document.
Bug: 16899444
Change-Id: I576a4b334d8b1fe89f93df3587386ac7f9455687
2014-08-22 10:56:36 -07:00
Yorke Lee
eda777592b Merge "Update normalized phone number for contact for successful call" into lmp-dev 2014-08-22 17:55:49 +00:00
Baligh Uddin
6791c92c24 Import translations. DO NOT MERGE
Change-Id: Id8a5ef2b9446e2e91942b8968d9dc53da21235b4
Auto-generated-cl: translation import
2014-08-22 10:50:15 -07:00
Adam Powell
a12aaa75df Add a missing condition when checking measurement for ActionBarContainer
It even said "non-tab" right there.

Bug 17202141

Change-Id: Iacc7ec9610d2639aab59dd57ba7194178fb6391f
2014-08-22 10:46:55 -07:00
Baligh Uddin
90a7cbba0e am d6c7fd28: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev
* commit 'd6c7fd28d0295dca2ed0bc92301a059a57386bd4':
  Import translations. DO NOT MERGE
2014-08-22 17:27:33 +00:00
Baligh Uddin
c60170b96f am b3024901: (-s ours) Import translations. DO NOT MERGE
* commit 'b3024901f1b5cb0b5c1b073307a72e1d24e63d35':
  Import translations. DO NOT MERGE
2014-08-22 17:27:29 +00:00
Baligh Uddin
d6c7fd28d0 Merge "Import translations. DO NOT MERGE" into klp-modular-dev 2014-08-22 17:17:28 +00:00
Tyler Gunn
705e9879fc Merge "Hiding Video telephony related APIs." into lmp-dev 2014-08-22 17:12:57 +00:00
Baligh Uddin
857006f666 Import translations. DO NOT MERGE
Change-Id: I90941399d722c7e9469e2219db3bb3eefb87357d
Auto-generated-cl: translation import
2014-08-22 10:09:14 -07:00
Baligh Uddin
b3024901f1 Import translations. DO NOT MERGE
Change-Id: I27195a84dc7991e76e8c45350db88e7e85025709
Auto-generated-cl: translation import
2014-08-22 10:05:53 -07:00
Brian Carlstrom
9a434ae00f Merge "Move SystemBackupAgent from services.jar to frameworks.jar" into lmp-dev 2014-08-22 17:03:49 +00:00
Jason Monk
2180d39407 Merge "Switch to proper networkcallback api" into lmp-dev 2014-08-22 16:56:44 +00:00
Jeff Davidson
717d95161a Merge "Allow NetworkRequest release from the system process." into lmp-dev 2014-08-22 16:52:33 +00:00
Baligh Uddin
a79cdd0485 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-08-22 16:50:08 +00:00
Baligh Uddin
84cd553454 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-08-22 16:41:28 +00:00
John Spurlock
2b0fea9b1a Merge "Zen: "Muted by <x>" indicator string." into lmp-dev 2014-08-22 16:06:06 +00:00
Youngsang Cho
e91f83c88e Merge "Send notification messages immediatelly" into lmp-dev 2014-08-22 15:54:12 +00:00
Youngsang Cho
9044be13dc Send notification messages immediatelly
Notification messages are posted through a handler with a main thread.
When a caller of TIS.notifyXXX runs also in a main thread, the notification
is delivered after the method including the caller is finished.
So we added runOnMainThread and made notification messages sent through
runOnMainThread.

Change-Id: Ieb2c5c04ff031e42a532acfc45e0174563265c6b
2014-08-23 00:53:31 +09:00
Selim Cinek
ece4a834e8 Merge "Fixed focusing order for the notification panel and QS" into lmp-dev 2014-08-22 15:35:54 +00:00
Jason Monk
92b5c8196b Switch to proper networkcallback api
This will listen properly for the connection of the VPNs.  It will
also listen for disconnects, but may catch them slightly delayed
as the connection may be held on to.

Bug: 16153201
Bug: 17164598
Change-Id: I0c522f7fb4007c3376153c4b2a0345391e0b724f
2014-08-22 11:26:32 -04:00
Selim Cinek
e32010ac61 Fixed focusing order for the notification panel and QS
Also fixed multiple bugs regarding focusability, where
some elements were focusable even though invisible.
The buttons, QS-tiles, QS-detail buttons, QS Header
icons and other elements now have the correct focusability
state.
The rect indicating accessibility focus is now also
correct for dual label tiles, instead of just the whole
button.
Also fixes an ordering issue where notifications were above
the camera circle when launching.
In addition the focus order of the notifications now work
correctly.

Bug: 15569922
Bug: 15682123
Bug: 17159249
Bug: 15690386
Change-Id: Ie9f7ae73397b41ce2e9a4060699301fdef3a0d01
2014-08-22 17:13:36 +02:00
John Spurlock
a34cb5e363 Zen: "Muted by <x>" indicator string.
Bug:16958514
Change-Id: Ic2b9cde74df29ce70f4991f64759544c91e9fac3
2014-08-22 10:52:55 -04:00
Jessica Hummel
f9220b3953 Merge "Final strings tweaks for work profile" into lmp-dev 2014-08-22 14:26:56 +00:00
Kenny Guy
91d065bcbf Merge "Fix notification badge when line 3 not shown." into lmp-dev 2014-08-22 14:20:31 +00:00
Christoph Studer
17cda4f80f Merge "SysUI: Fix NotificationData dump" into lmp-dev 2014-08-22 14:18:04 +00:00
Adrian Roos
076e72554d Merge "Only run TrustAgentServices for users with secure keyguards" into lmp-dev 2014-08-22 14:17:32 +00:00
Christoph Studer
11840cdca9 SysUI: Fix NotificationData dump
Inactive notification count and indices were off.

Change-Id: I6e8555fe7dcaf6e7f999f09fb4cda56622928b07
2014-08-22 16:06:49 +02:00
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