Commit Graph

253881 Commits

Author SHA1 Message Date
Chris Craik
807989facd Merge "Avoid throwing when 0 size layer requested" into nyc-dev 2016-07-13 22:49:20 +00:00
Justin Klaassen
137909005c Add Night display QSTile
Bug: 28615069
Bug: 29619615
Change-Id: Ie23bd1ed9266941682eceb5f2086201bf02af765
2016-07-13 15:47:39 -07:00
Android Build Merger (Role)
f90128c68d Merge "Merge \"docs: added placeholder redirect for New Class dialog AS 2.2 b/30045484\" into nyc-dev am: e820803172" into nyc-mr1-dev 2016-07-13 22:40:09 +00:00
Cheryl Potter
3f49ee98e4 Merge \"docs: added placeholder redirect for New Class dialog AS 2.2 b/30045484\" into nyc-dev
am: e820803172

Change-Id: I2f0c8e31b9a4e2427166e170f55c2e1c8729cd82
2016-07-13 22:39:46 +00:00
TreeHugger Robot
9f311f6827 Merge "Fix QS gear metrics" into nyc-mr1-dev 2016-07-13 22:39:35 +00:00
Jeff Sharkey
199d036df7 Preemptively add string for possible toast.
Bug: 30033319
Change-Id: I4daf4d35656514a835bed1b255dd48f3a0eeb845
2016-07-13 16:38:35 -06:00
TreeHugger Robot
0aee1b4163 Merge "Make Recents button work in demo mode" into nyc-mr1-dev 2016-07-13 22:37:33 +00:00
Ashutosh Joshi
54787a5f9f Add state for loading/unloading apps
Add state for loading/unloading nanoApps.
Pass on OS response to ContextHubService clients.
Fix Build Breakage due to uninitalized variables.

Bug: 29193948
Change-Id: Ibebecf704bb3ad2583e110f1fcf05400a53b1b4c
2016-07-13 15:28:16 -07:00
Ashutosh Joshi
ebc3c9ca3f Merge "Revert "Add state for loading/unloading apps"" into nyc-mr1-dev 2016-07-13 22:17:37 +00:00
Andrew Solovay
b1b8cadd40 docs: Added link to API diff between M and N
Removed links to download the reference docs bundle, now that the
API docs and the diff are available online.

See first comment for doc stage location.

bug: 29245751
Change-Id: I65f8661463cb03b6651391771abd2597d6e59a44
2016-07-13 15:17:10 -07:00
Ashutosh Joshi
f6029bbbcf Revert "Add state for loading/unloading apps"
This reverts commit 00b351aeef.

Change-Id: Iee229adff8fec4f2407aa895886e63953f0d7d32
2016-07-13 22:15:19 +00:00
Philip Cuadra
d9bd884d73 Call into ART to get the location of the odex/oat file to pin
Get the location of the odex / oat file to pin from ART instead of
trying to figure it out from location of the apk.

Bug 28251566

Change-Id: Ia2921f6e8df412c4ac5073cd36e57807c655a81d
2016-07-13 15:14:43 -07:00
Cheryl Potter
e820803172 Merge "docs: added placeholder redirect for New Class dialog AS 2.2 b/30045484" into nyc-dev 2016-07-13 22:13:51 +00:00
Adrian Roos
a4f9ec94ba Add ApplicationErrorReport tests
Tests that long stack traces and exception messages are
truncated to a reasonable size when a CrashReport is generated.

Bug: 29918978
Change-Id: I4d8202ddca850a72e0853e4064d5690965ff371c
2016-07-13 15:08:20 -07:00
Wei Jia
407fd1ea62 Merge "MediaPlayer: fix typo for OnInfoListener." into nyc-mr1-dev 2016-07-13 22:05:00 +00:00
TreeHugger Robot
55c7c9c2d4 Merge "Fix disabling lockscreen for demo users." into nyc-mr1-dev 2016-07-13 22:00:38 +00:00
Selim Cinek
8fc787534d Fixed a bug where the headsup would be stuck disappearing
Change-Id: I56d6be69f6e59c1bec647e7e70e50a36b793f895
Fixes: 30120962
2016-07-13 14:56:15 -07:00
Selim Cinek
06e9e1fe00 Changed the appearance of phone call notifications
Change-Id: Ibf8f9b266428fdd5374ee824ec4c2df10daeb9a7
Fixes:28269355
2016-07-13 14:56:05 -07:00
Ashutosh Joshi
a980cba4d8 Merge "Add state for loading/unloading apps" into nyc-mr1-dev 2016-07-13 21:51:32 +00:00
Jean-Michel Trivi
69c6166684 Merge "Optimize audio playback restriction check" into nyc-mr1-dev 2016-07-13 21:50:59 +00:00
Adrian Roos
a07af1ee35 Merge "ApplicationErrorReport: Sanitize stack trace" into nyc-mr1-dev 2016-07-13 21:34:19 +00:00
Phil Weaver
0aaf427550 Behave if the same view gets a11y focus twice.
In some corner cases, ViewRootImpl#setAccessibilityFocus
can be called twice for the same view. Make sure we're
actually changing views before clearing accessibility focus
to avoid inconsistent state.

Bug: 29637593
Change-Id: I5dc6f05bdeaec55c352417bfca92c11bd03c3c10
(cherry picked from commit da4692774c)
2016-07-13 21:26:16 +00:00
Daniel Nishi
8d9d0fecf2 Give the default storage manager access to the storage permissions.
Bug: 29793168
Change-Id: Iffeb2f7d86103a245b9bc36e637044633e81bef1
2016-07-13 14:24:31 -07:00
Raph Levien
3f01d81c9d Don't count zero width space in hasGlyph layout
For sequences that may form ligatures (ie not just a a base
character plus variation selector pair), hasGlyph requests a layout
and then counts the glyph. In some cases, when the source string
contains a variation selector, the layout contains space glyphs with
no associated width, which causes a "false" result. This patch
filters out such zero width spaces.

Bug: 30056285
Change-Id: I9b5db4aa5ad24bf43e237c98b610fd269f2b91c9
(cherry picked from commit 6141db3846)
2016-07-13 14:18:49 -07:00
Seigo Nonaka
3c7a0a0af4 Treat U+2695, U+2640, U+2642 as emoji characters.
Bug: 29885295
Change-Id: If187a08574b86ab775b0a4594d21bc9e26f84e2f
(cherry picked from commit beb21afc2e)
2016-07-13 21:10:56 +00:00
Fyodor Kupolov
4e416e9f0c Disallow safe boot when in demo mode
Bug: 30038636
Change-Id: I70624bff85f5fb012772422f0fff523dab6e9be1
2016-07-13 14:08:30 -07:00
Seigo Nonaka
f20ca2cb15 Delete gender-balanced emoji sequence by one backspace key event.
The gender-balanced emojis are made with ZWJ sequence and emoji
modifiers.  For example, U+1F469 U+1F3FD U+200D U+1F4BC should be
deleted at the same time by single backsapce key event.  Here, U+1F469
is WOMAN, U+1F3FD is EMOJI MODIFIER FITZPATRICK TYPE-4, U+200D is ZERO
WIDTH JOINER, U+1F4BC is BRIEFCASE.

This CL also renames the state name from STATE_BEFORE_ZWJ_EMOJI to
STATE_BEFORE_EMOJI since now all emoji can be a part of ZWJ sequence
after I572dad42ee108476962d4b3fe9f3a6019cb50098

BUG: 29728397
Change-Id: Ib114295db45c6592f1c65a0773ab236f8bf35209
(cherry picked from commit bba8d97c36)
2016-07-13 21:08:10 +00:00
Carlos Valdivia
98b5f9dafe Only broadcast LOGIN_ACCOUNTS_CHANGED when changes occur.
Bug: 30014605
Change-Id: I451a795494a9dcbfa5e6afa76d8716911e5dc3a5
2016-07-13 14:08:02 -07:00
Winson
4c3fecd31f Ensure we pass correct values into the next transition start bounds.
Bug: 30106779
Change-Id: I081beb1dc437516e0a6361fce2c4c4512f4d5f26
2016-07-13 21:06:49 +00:00
TreeHugger Robot
ad2bf54fda Merge "sync rich comments back from google3" into nyc-mr1-dev 2016-07-13 21:02:05 +00:00
TreeHugger Robot
7d4fc00aaa Merge "QS: Fix emergency calls only layout" into nyc-mr1-dev 2016-07-13 20:58:24 +00:00
Todd Kennedy
28c4e806ea Remove subtle dependencies
There was a very subtle dependency on the method used to allocate a session
id and how that session id was stored. If the session id wasn't stored
in the same synchronized block where the allocation method was called, it
could have been possible to duplicate session ids. Instead of requiring
callers of the allocation method to know that the value must be stored
in a particular way, maintain a separate set of allocated session ids
that is updated by the allocation method and prevents any potential race
conditions.

Change-Id: Ibd793b3851bf1a994e00d86f621180cac598b86e
Fixes: 30089638
2016-07-13 13:20:30 -07:00
TreeHugger Robot
0ce03e77bc Merge "Disallowing bluetooth config for demo users" into nyc-mr1-dev 2016-07-13 20:15:31 +00:00
Makoto Onuki
6eefe67b2c Merge "Revert "Revert "Revert "Handle package broadcasts before apps do"""" into nyc-mr1-dev 2016-07-13 20:13:53 +00:00
Jason Monk
484fd36dfa Fix QS gear metrics
Change-Id: If1eeefa3831010d1567861dd71af6f29833496b3
Fixes: 30117924
2016-07-13 16:07:28 -04:00
Andrew Sapperstein
418e09fc43 Use colorControlHighlight for print button ripple.
Instead of using #eeff41 (a random shade of yellow), use
the default color for ripples.

Change-Id: I32fc7e9a10a994deb2066941c96457ad8549dd11
Fixes: 30115080
2016-07-13 13:04:13 -07:00
Jason Monk
784252590b QS Detail: Remove up arrow
Change-Id: I5fb17dae78618f1d0fe520744d3b7cecce019568
Fixes: 27930924
2016-07-13 15:55:43 -04:00
Geoffrey Pitsch
a91a2d7375 Fixes delay when playing first sound in BootAnimation
audioplay is initialized with an example of the type of clip it
will play.
Also remove asserts and debug compile settings from BootAnimation.

BUG:24800792
Change-Id: Icb78489417aee0549c340c746b25e57ccdb3427e
2016-07-13 15:51:24 -04:00
Chong Zhang
185131442b Merge "Revert changes to force layout after insets changes" into nyc-mr1-dev 2016-07-13 19:39:08 +00:00
Adrian Roos
5753f05e85 Doze: Add config for fine grained proximity checks
Bug: 29619338
Change-Id: Ic9ff7fc78f47873858881c1a4ac14bc2b834ab84
2016-07-13 12:34:23 -07:00
Jean-Michel Trivi
1293c060c8 Optimize audio playback restriction check
Order the playback restriction checks from the most likely
  restriction to the least likely.

Bug 30073948

Change-Id: I6431d15a2ed8b5831f937eab8db940d942082b0e
2016-07-13 19:30:56 +00:00
Ashutosh Joshi
00b351aeef Add state for loading/unloading apps
Add state for loading/unloading nanoApps.
Pass on OS response to ContextHubService clients.

Bug: 29193948

Change-Id: I700f3bdbb8e84413455751dec02a812a639421b3
2016-07-13 12:29:19 -07:00
Chong Zhang
75eccbd0ff Revert changes to force layout after insets changes
Alternative fix for b/29391054 ag/1152795 sends an MOVE message to
client which also force a layout, so we no longer need to force
it after the insets change in the traversal.

Reverting the following two related fixes as it does more
measures than necessary.

bug: 29391054
bug: 29533997
bug: 29634368

Revert "Fix layout issue after insets changed"

This reverts commit 76fdbb72c9.

Revert "Do a forceLayout if pending insets is changed after relayout window"

This reverts commit 71f2c31469.
2016-07-13 19:24:04 +00:00
Doris Liu
98980cdfff Fix use-after-free in vector drawable animation
Added a strong pointer to hold reference to VD in the animation,
so that VD will not be released before animation is finished/destroyed.

BUG: 29438210
Change-Id: I311cd83043f988640de44f637cb474baada9b5ca
2016-07-13 19:09:25 +00:00
Ruben Brunk
0b4750165e Merge "Include all components in VR initialization." into nyc-mr1-dev 2016-07-13 19:02:26 +00:00
Amith Yamasani
6947636a58 Make Recents button work in demo mode
Create the UserSwitcherController object so that the broadcasts
are properly handled.

Change-Id: Iadf9588a4ddb7850f0d8ab2b49a0949fb4580893
Fixes: 30000641
2016-07-13 11:59:16 -07:00
Sudheer Shanka
b6ed667f04 Fix disabling lockscreen for demo users.
LockSettingsService cleans up data for an user on receiving
ACTION_USER_ADDED. As a result, the value set by the
RetailDemoModeService was getting lost.

Bug: 29912660
Change-Id: I2414a5586ab0187bc003cd6ee8b9f1645406235f
2016-07-13 11:58:37 -07:00
Chris Wren
38f988120c sync rich comments back from google3
Bug: 30116535
Change-Id: I6e43ffda3d15b331c18752b5ee15770c6cdbfe85
2016-07-13 14:45:55 -04:00
Jason Monk
f25e6a1bea QS: Fix emergency calls only layout
Change-Id: Ic66412b0c46f4436d63168a5e167d4adcad74283
Fixes: 29524397
2016-07-13 14:45:52 -04:00
Doug Felt
4970cdac7e Patch out part of the emoji tests.
This is temporary, until we have proper attribution for additional
emoji data.

Bug: 29939737
Change-Id: I5b97c8e055fa2ccf44b13bf801f681b860d47286
(cherry picked from commit f874a1949a)
2016-07-13 18:44:45 +00:00