156181 Commits

Author SHA1 Message Date
Jorim Jaggi
cfaec4862e Follow up to I495ce480c25de24b6433adebdfe923b637d98f66
Bug: 18146441
Change-Id: Ifaa7ca6b4a1c6f084112b7420f999b80b173604c
2014-10-29 14:30:16 +01:00
Geoff Mendal
c88fbd3cce Import translations. DO NOT MERGE
Change-Id: I1a12ef3a827f9012967fe871ba492647fb78eb60
Auto-generated-cl: translation import
2014-10-29 06:28:28 -07:00
Jorim Jaggi
81aef807d5 Merge "Improve doze transitions" into lmp-mr1-dev 2014-10-29 13:28:09 +00:00
Geoff Mendal
a8a2844a1d Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev 2014-10-29 13:24:19 +00:00
Jorim Jaggi
16423aa0c6 Improve doze transitions
This change animates the status bar and the bottom area when exiting
doze mode from touch. We also prevent all animations when exiting
from other means, i.e. usually when the power button is pressed, so
we don't have a distracting animation there. In addition, this also
optimizes the scrim animations a bit in terms of interpolation and
duration to make the experience smoother and cleans up some logic.

Bug: 18146441
Bug: 17717584
Change-Id: I495ce480c25de24b6433adebdfe923b637d98f66
2014-10-29 14:24:00 +01:00
Jorim Jaggi
6533c544cf Merge "Tune spacing in navigation bar for small and big devices" into lmp-mr1-dev 2014-10-29 13:22:24 +00:00
Calin Juravle
e11952ecd5 Use native brige only if we have a private data directory.
Bug: 18027433

(cherry picked from commit 6a4d2369e5493cea86817634eceb0be46ba7d7a6)

Change-Id: I08b4e7172cd66c9006c26f07e3399848999cd74d
2014-10-29 13:17:54 +00:00
Calin Juravle
e9d6743649 PreInitializeNativeBridge only if its Available
Also, assert that we always have a private application directory for non
system_server case.

Bug: 18027433

(cherry picked from commit 79ec4c15ab941419d21700a9734f5238b975c31a)

Change-Id: I9ce578949dbe522d5033465df7ca49fdd3aa3cbf
2014-10-29 13:16:44 +00:00
Jorim Jaggi
ca8c626feb Tune spacing in navigation bar for small and big devices
Bug: 18032228
Change-Id: Ia187fa3c108b93f4ca74e109d3fa76e625b711e3
2014-10-29 14:14:17 +01:00
Geoff Mendal
2ceaee6dea Import translations. DO NOT MERGE
Change-Id: I9ae72e34f8e819d5c8e8b3f5c96cd737d680bde0
Auto-generated-cl: translation import
2014-10-29 06:14:09 -07:00
Jorim Jaggi
b9e290c713 Cancel ripple animations when window is hidden
Bug: 17737340
Change-Id: I0acb4bb20365634875489269bc84ade5161ea3ac
2014-10-29 13:39:21 +01:00
Calin Juravle
d3a8c8aa53 Merge "Fix the length of a profiler system property" into lmp-mr1-dev 2014-10-29 11:19:23 +00:00
Wei Jin
5cfbcd3b9e Fix the length of a profiler system property
This patch changes the profiler system property
"dalvik.vm.profile.max-stack-depth" to "dalvik.vm.profile.stack-depth"
so that the length of the option is less than PROP_NAME_MAX.

Bug: 17294224

(cherry picked from commit 4d033e1c44c1b94ea5311713b8cc8bfb56bdcdd2)

Change-Id: I10dd0b3bfa46b836def437a3822f6c48538167dd
2014-10-29 11:17:42 +00:00
Chris Banes
1970cfd4ef Fix ActionMenuView vertical alignment of items
BUG: 18066203
Change-Id: I2a34f5b8b33e1e0f32c54acf79b281290fc047f1
2014-10-29 11:04:49 +00:00
Erik Kline
befe778c73 Treat optimistic addresses as global preferred.
If the kernel sends notification of an optimistic address then
treat is a useable address (isGlobalPreferred()).

Note that addresses flagged as IFA_F_OPTIMISTIC are
simultaneously flagged as IFA_F_TENTATIVE (when the tentative
state has cleared either DAD has succeeded or failed, and both
flags are cleared regardless).

Additionally: do not consider RFC 4193 ULA addresses sufficient
for "global preffered".  They are, by definition, of global scope
but not sufficient for global reachability.

Bug: 17769720
Change-Id: I759623b28fd52758f2d4d76d167f3cafd9319d6a
2014-10-29 19:11:58 +09:00
Jinsuk Kim
8be95fdde6 Merge "CEC: Use language code "chi" for Traditional Chinese" into lmp-mr1-dev 2014-10-29 06:44:36 +00:00
Anthony Lee
6727926a96 Added a function to clear accounts for a specified package.
Right now, clearAcounts() only clears the accounts
for the calling package. This new function will allow a class like
PhoneAccoutBroadcastReceiver to clear accounts for any package.

Bug: 17689845
Change-Id: I24db104268535e7e0e33e093e8fab63765df0b08
2014-10-28 22:39:58 -07:00
Lorenzo Colitti
def4cd4fa4 Merge "Support more than one clatd at a time." into lmp-mr1-dev 2014-10-29 03:43:04 +00:00
Wink Saville
f7543b40d2 Merge "Import translations. DO NOT MERGE" into lmp-sprout-dev 2014-10-29 02:49:36 +00:00
Jinsuk Kim
5fe3a6cbfc CEC: Use language code "chi" for Traditional Chinese
Android by default returns "zho" for all sorts of Chinese variants.
Use "chi" for traditional one used in Taiwan/Hong Kong/Macau
as required in CEC standard.

Bug: 18149804

Change-Id: I86ac7e2f0f1121641c52032a0d98a6405554457c
2014-10-29 11:48:19 +09:00
Deepanshu Gupta
617e809731 Add missing delegate for AnimatorInflater.
Change-Id: I96ef2b1085dadfae280df6740aebc10f57e3b949
2014-10-28 18:47:28 -07:00
Alan Viverette
05b2fedcb8 Merge "Inflate ActionMode items against the ActionBarContextView theme" into lmp-mr1-dev 2014-10-29 01:10:09 +00:00
Alan Viverette
f6a36e9cf3 Inflate ActionMode items against the ActionBarContextView theme
BUG: 18078900
Change-Id: I300a0268bacf7e1ebcd64eac3d79548e1c4a9606
2014-10-28 17:50:59 -07:00
Deepanshu Gupta
de4ee0f1be am 75bf1b1c: Merge "Skip loading animations." into lmp-dev
* commit '75bf1b1c6af0bc0d09b04292565915fab0e49a30':
  Skip loading animations.
2014-10-29 00:20:42 +00:00
Deepanshu Gupta
916d779650 am c55eb170: Merge "Fix multiple styles case in resource resolution." into lmp-dev
* commit 'c55eb170cccea10158cedaeccd991b4b97d0036c':
  Fix multiple styles case in resource resolution.
2014-10-29 00:15:56 +00:00
Deepanshu Gupta
6fb2fda85c am 92a52142: Merge "Use right theme for drawable inflation." into lmp-dev
* commit '92a52142fd988590aa61aedd54f48e9d249a2f53':
  Use right theme for drawable inflation.
2014-10-29 00:15:52 +00:00
Shishir Agrawal
c8787beca6 Merge "Undo erroneous delete done by I94eb65c62231b5831570bb0cbbbd9c916bee0a37" into lmp-mr1-dev 2014-10-29 00:15:51 +00:00
Deepanshu Gupta
75bf1b1c6a Merge "Skip loading animations." into lmp-dev 2014-10-29 00:13:54 +00:00
Deepanshu Gupta
c55eb170cc Merge "Fix multiple styles case in resource resolution." into lmp-dev 2014-10-29 00:07:59 +00:00
Deepanshu Gupta
92a52142fd Merge "Use right theme for drawable inflation." into lmp-dev 2014-10-29 00:07:42 +00:00
Ihab Awad
6c37f374b5 Merge "PhoneAccounts include literal icon bitmap (1/4)" into lmp-mr1-dev 2014-10-28 23:48:20 +00:00
Alan Viverette
85085343b3 Add content description to Toolbar collapse button
BUG: 17722111
Change-Id: If6caa8bc61b0d178648952c419591380f4edf4ba
2014-10-28 16:42:24 -07:00
David Friedman
0fa6edced7 Fixes linebreaks that had gotten altered during the run-up to 5.0 release.
Change-Id: I7be014d27ef85631b5e26ad2b3ab81d3a12d1813
2014-10-28 16:38:11 -07:00
Ihab Awad
074bf104c8 PhoneAccounts include literal icon bitmap (1/4)
Change-Id: I9110d983c0ca6610075bd24975f1e90d123ef9c1
2014-10-28 15:56:29 -07:00
Sanket Padawe
52f811ecda Merge "Remove checks to support new sim color selection." into lmp-mr1-dev 2014-10-28 22:47:09 +00:00
Alan Viverette
4bf9edfc1f Merge "Update drag-to-open menu close behavior" into lmp-mr1-dev 2014-10-28 22:45:33 +00:00
Wink Saville
78e652a5e4 Import translations. DO NOT MERGE
This is for lmp-sprout-dev only.

Hide SubscriptionManager and SubInfoRecord for lmp-sprout-dev branch

Change-Id: I5f299a7b200798ada9350bee2c1b26e6f74eaea1
2014-10-28 15:32:11 -07:00
Wale Ogunwale
c74b5723a4 Fix issue 6455374: Bad recent image on camera launch from lockscreen.
When transitioning from the lockscreen to the camera app,
the previous activity that was running before the screen was
locked is briefly resumed and then paused. During the pause
we take a screenshot of the activity for recents which ends up
being an image of the wallpaper, because the activity was
moved behind the wallpaper while the lockscreen is up. With
this change we no longer include the wallpaper layer in the
screenshot if it is layered on top of the window we are
targeting for the screenshot.

Bug: 6455374
Change-Id: I305950a32c176f55eeeb6358266746e32e848383
2014-10-28 15:13:16 -07:00
Yorke Lee
e398db4a45 Merge "Add comment to TelecomManager.getCallState" into lmp-mr1-dev 2014-10-28 22:08:51 +00:00
Deepanshu Gupta
0b42936d86 Skip loading animations.
This is a temporary fix until Path.approximate() is supported.

Bug: http://b.android.com/77865
Change-Id: I28739e58f51fabaaf1dcc1c9be61cd0b17e84eec
2014-10-28 15:07:25 -07:00
Kenny Guy
7005840d88 Listen for package changes for all users not just owner.
Listen for package changes for all users to cancel notifications
for secondary users and profiles when an app is uninstalled.

Bug: 18151696
Change-Id: I6921729e2878e1e5890411b173a56849eb2e0745
2014-10-28 21:32:21 +00:00
Yorke Lee
7c72c2d3c2 Add comment to TelecomManager.getCallState
Explain why READ_PHONE_STATE permission is not required so that
people don't try to add it in the future. Requiring the permission
causes stability crashes with legacy apps and system components
that don't have the permission.

Change-Id: Idf8766aa409d4a2c4ed3d6f81a398f4a0eb24615
2014-10-28 14:12:02 -07:00
Alan Viverette
632af84924 Ensure accessibility focus rect is drawn correctly
Reverts previous change that draws it as part of View.draw() and ensures
that the display is always redrawn if a view has accessibility focus.
Correctly removes focus from views with accessibility focused ancestors.

Also reverts the focus indicator to use a solid line since the dotted
line looked janky.

BUG: 17675993
Change-Id: I25718334cc1ae1c2cd19d3c23af1c18c6a67504c
2014-10-28 20:57:47 +00:00
Tyler Gunn
3bffcf78b5 Communicating participant changes to conference controller.
- Add new ConferenceParticipant parcelable class which represents a
single participant contained in the conference event package.
- Adding callbacks/listeners to Connection to handle changes to
participant state.

Bug: 18057361
Change-Id: Iadfebe84959f30f8e835f282aa994c0b92768aa6
2014-10-28 13:51:27 -07:00
Adrian Roos
579a7f9940 Merge "Close keyguard user switcher on tap outside" into lmp-mr1-dev 2014-10-28 20:27:41 +00:00
Sanket Padawe
d95198eb36 Remove checks to support new sim color selection.
Remove checks to support new sim color selection in multi-sim settings UI.

Change-Id: I26da0a79f5b1edf829fc5d46af2c0c23962226b8
2014-10-28 13:06:08 -07:00
John Spurlock
2896517ba1 Merge "Zen: Fix quantity format specifiers for quantity=1." into lmp-mr1-dev 2014-10-28 20:04:20 +00:00
Santos Cordon
ccbc3e5c66 Merge "Update javadocs for Telecom APIs." into lmp-mr1-dev 2014-10-28 20:01:01 +00:00
Jeff Davidson
f82b029c7c Merge "Check UID instead of package name when preparing VPN." into lmp-mr1-dev 2014-10-28 20:00:32 +00:00
Chris Wren
8326a8a945 Reveal notification listener settings APIs.
Fix the value of the ACTION_NOTIFICATION_LISTENER_SETTINGS constant
to be the actual value to which the settings app responds.

Bug: 10023397
Change-Id: I80a0ff76406a3b0b893793f9a63ffa563dae103b
2014-10-28 15:54:53 -04:00