156073 Commits

Author SHA1 Message Date
Yigit Boyar
fe6d57c366 Move all actionbar related methods to DecorToolbar
Bug: 17999561

Change-Id: I36af443cf245aedd64a079726c1a2e6f6068f221
2014-10-29 17:34:45 +00:00
Andre Eisenbach
db41880dd3 Merge "Fix exception in AudioService when no BT Headset is connected." into lmp-mr1-dev 2014-10-29 17:24:05 +00:00
Andre Eisenbach
570cc5302a Fix exception in AudioService when no BT Headset is connected.
If AudioManager.startBluetoothSco() is invoked with no Bluetooth Headset
connected, a NullPointerException will ensue.

Added check to make sure mBluetoothHeadsetDevice is set before accessing
it.

Bug: 17601845
Change-Id: Ia00bfffbea5484230b11a74787fe3309c18f824d
2014-10-29 09:56:41 -07:00
Geoff Mendal
ba9836d972 Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev 2014-10-29 16:19:47 +00:00
Calin Juravle
ef0a7e8fdb Merge "Use native brige only if we have a private data directory." into lmp-mr1-dev 2014-10-29 15:48:12 +00:00
Calin Juravle
5b0f193d25 Merge "PreInitializeNativeBridge only if its Available" into lmp-mr1-dev 2014-10-29 15:47:55 +00:00
John Spurlock
f9824b91f3 Merge "PowerUI: Suppress warning on incremental drops." into lmp-mr1-dev 2014-10-29 15:40:56 +00:00
Jason Monk
5d80f19c14 Merge "QS: Only hide grid if there is detail to show" into lmp-mr1-dev 2014-10-29 15:38:58 +00:00
Geoff Mendal
3c8b334d02 Import translations. DO NOT MERGE
Change-Id: I63c0b33a09334fbb50cd62d6eccb43edee751e45
Auto-generated-cl: translation import
2014-10-29 08:37:57 -07:00
John Spurlock
42bfc9ab00 PowerUI: Suppress warning on incremental drops.
If the user explicitly dismisses the warning notification,
don't update the notification until the next threshold value.

Bug: 17691122
Change-Id: I840f33f787f1dd6f217de543a291bc9f65b1b046
2014-10-29 11:13:01 -04:00
Kenny Guy
8cfb3f1e4d Merge "Listen for package changes for all users not just owner." into lmp-mr1-dev 2014-10-29 15:05:02 +00:00
Jason Monk
98fa70c98f QS: Only hide grid if there is detail to show
If the animation ends at the 'same' time as handleShowDetail is
running it is possible for the grid content to get cleared by the
animation callback just after it is shown in handleShowDetail.
This checks mDetailRecord to avoid that chance.

Bug: 18009138
Change-Id: Ia2951f44b5a1470321bf6580daf33917bbcb1ffd
2014-10-29 11:03:41 -04:00
Chris Wren
402152d673 Merge "Reveal notification listener settings APIs." into lmp-mr1-dev 2014-10-29 14:54:18 +00:00
John Reck
141823ec63 Merge "Be more conservative about current buffer" into lmp-mr1-dev 2014-10-29 14:40:02 +00: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
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
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
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
Shishir Agrawal
c8787beca6 Merge "Undo erroneous delete done by I94eb65c62231b5831570bb0cbbbd9c916bee0a37" into lmp-mr1-dev 2014-10-29 00:15:51 +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
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
Yorke Lee
e398db4a45 Merge "Add comment to TelecomManager.getCallState" into lmp-mr1-dev 2014-10-28 22:08:51 +00: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
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
John Spurlock
9c4b060e41 Zen: Fix quantity format specifiers for quantity=1.
Bug: 16824863
Change-Id: I3c7fc5961cd65b0b8291b7d9aef6110e6dfe85f1
2014-10-28 15:49:25 -04:00
Joe Fernandez
9513604cdc am 5c0ed74b: am 40bf63e0: Merge "docs: Update timing of Android Wear app review" into lmp-docs
automerge: 56a8cb7

* commit '56a8cb7fd1eff26da30c4ebcb58eae71b9774b81':
  docs: Update timing of Android Wear app review
2014-10-28 19:28:36 +00:00
David Friedman
79c332a694 am b2d582d9: am 3c00bc01: Merge "Updates Notifications screenshot for Android 5.0." into lmp-docs
automerge: b648cab

* commit 'b648cabadfd73bcd3fa8b88db48007f58739300e':
  Updates Notifications screenshot for Android 5.0.
2014-10-28 19:27:37 +00:00
Eric Gilmore
3fc61015f5 am 9a6aa0ff: am d126294a: Docs: Adding Android Studio instructions for adding IAB service.
automerge: 77760e7

* commit '77760e753eb9a6c533eb2b52f228149e49356f64':
  Docs: Adding Android Studio instructions for adding IAB service.
2014-10-28 19:26:43 +00:00