Commit Graph

246497 Commits

Author SHA1 Message Date
Jorim Jaggi
7b3936977f Update visuals of force resizable
Bug: 27327287
Change-Id: I32d30a8044f683e2f6287035250126999f623e15
2016-04-09 01:14:48 +00:00
Jorim Jaggi
d06e606b98 Do not retry taking screenshots
We are holding the activity manager lock during a sleep() :-(, which
is a really really bad idea, and leads to delays in certain cases.

Bug: 28026841
Change-Id: I0855350ee429907e4597e5813c7e4fefd889319d
2016-04-09 01:13:29 +00:00
Jorim Jaggi
b2005a0217 Fix BackdropFrameRenderer leak
Make sure to stop the thread when the window gets detached. When dismissing
the docked/fullscreen stack with the divider, we stop the activity while
we are still in resizing mode.

Bug: 28054032
Change-Id: I2d5d0ffaa9bc47e4d5252414b9a045beaebb7a69
2016-04-09 01:07:34 +00:00
Amith Yamasani
0cc0381714 Merge "Improved javadoc for onLocalVoiceInteractionStopped" into nyc-dev 2016-04-09 00:47:23 +00:00
Steve McKay
4f89b6c6b8 Use writeStringList for selection parceling.
Bug: 27208679
Change-Id: Id0506e49254e0b3fcddb7d3f92717da0a95f2f6d
2016-04-08 17:36:25 -07:00
Steve McKay
c15528afa6 Don't enable new folder in downloads...
During copy operation.
Also, relay intent extras when opening copy destination picker.

Bug: 28081616
Change-Id: I3109eaf993da93239ba25db066beb5787a924196
2016-04-08 17:34:27 -07:00
Lajos Molnar
7a5a93b776 media: document MediaFormat.KEY_FRAME_RATE better
Bug: 27126548
Change-Id: I7e6a70bd192623d335816c1aa135448b7846aa92
2016-04-08 23:44:05 +00:00
Wyatt Riley
da9f52a795 Merge "Fixed the sign error in GnssClock" into nyc-dev 2016-04-08 23:41:18 +00:00
Zhijun He
b0fe2a9637 Merge "Camera2: update API per API council review" into nyc-dev 2016-04-08 23:30:41 +00:00
Mary Yanchar
98a02c0b9a Merge "Clarified how to regenerate debug.keystore" into mnc-mr-docs
am: 1452c87

* commit '1452c87b1acf496abe5ce8f90177ce635f955e16':
  Clarified how to regenerate debug.keystore

Change-Id: I1d1934b91e1030c80949459e1356e0a57e1d6b0f
2016-04-08 23:22:46 +00:00
Zhijun He
0034743236 Camera2: update API per API council review
Per API concil recommendation, made below API change:
* change method name from createCaptureSessionByOutputConfiguration to
createCaptureSessionByOutputConfigurations
* Change method name from
createReprocessableCaptureSessionWithConfigurations to
createReprocessableCaptureSessionByConfigurations

Bug: 27950067
Change-Id: I8346d384210556a40bc2544c3660cc4819f304a1
2016-04-08 23:21:06 +00:00
Mary Yanchar
1452c87b1a Merge "Clarified how to regenerate debug.keystore" into mnc-mr-docs 2016-04-08 23:17:47 +00:00
Aga Wronska
9870ad94ed Merge "Consolidate user actions metrics into one histogram." into nyc-dev 2016-04-08 22:40:46 +00:00
Phil Weaver
af93306a3d Merge "Reduce unnecessary accessibility cache clearing." into nyc-dev 2016-04-08 22:33:33 +00:00
Daniel Yu
e7a6e43905 Merge "docs: Updating PIP N preview docs for DP2" into mnc-mr-docs
am: f5b6b18

* commit 'f5b6b18a0c98d3fb04a985de4b701a7d83c505dd':
  docs: Updating PIP N preview docs for DP2

Change-Id: I8d9b691ca58f4a9544ac32db40d3a053bee5c8e5
2016-04-08 22:27:42 +00:00
Daniel Yu
d77a4db2e9 Merge "docs: Updating Scoped Directory Access preview docs for DP2" into mnc-mr-docs
am: bc90f38

* commit 'bc90f38e8fdc1eb9041b1dc0f725c3496cd6f0fd':
  docs: Updating Scoped Directory Access preview docs for DP2

Change-Id: I10cbf525e4247de7503085286d3fa7135c753813
2016-04-08 22:27:40 +00:00
Daniel Yu
3aa606f7af Merge "docs: Updating Direct Boot N preview docs for DP2" into mnc-mr-docs
am: 69f6e5b

* commit '69f6e5b0c708d3ae5b9a07c1424ef66ba6d08871':
  docs: Updating Direct Boot N preview docs for DP2

Change-Id: Id30101b832685f7fed5f36e5baf36aa50777fee7
2016-04-08 22:27:39 +00:00
Dan Yu
f5b6b18a0c Merge "docs: Updating PIP N preview docs for DP2" into mnc-mr-docs 2016-04-08 22:20:27 +00:00
Dan Yu
bc90f38e8f Merge "docs: Updating Scoped Directory Access preview docs for DP2" into mnc-mr-docs 2016-04-08 22:20:11 +00:00
Dan Yu
69f6e5b0c7 Merge "docs: Updating Direct Boot N preview docs for DP2" into mnc-mr-docs 2016-04-08 22:18:27 +00:00
Mary Yanchar
3164a7264f Clarified how to regenerate debug.keystore
Clarified that you must both build and run to regenerate a
missing/expired debug.keystore file (have tested that this fix works
on Linux and Mac), removed information about troubleshooting for
non-Gregorian calendars because the original issue has been marked as
outdated and is no longer a problem.
(https://code.google.com/p/android/issues/detail?id=834)

Bug: 18064192
Change-Id: I1235fa14044e388ccf578beebfc77349eb6205cf
2016-04-08 14:52:14 -07:00
Kevin Hufnagle
ecb81647d2 Merge "docs: Added section describing Launcher Shortcuts." into mnc-mr-docs
am: 9d4afa9

* commit '9d4afa9ce0330ea80462298e12dbbd3227465e21':
  docs: Added section describing Launcher Shortcuts.

Change-Id: I9e992397930b3624e688c618acabee3a7b7a4ba9
2016-04-08 21:38:04 +00:00
Eric Laurent
15ad24b514 Merge "audio service: fix volume burst on user switch" into nyc-dev 2016-04-08 21:36:12 +00:00
Fyodor Kupolov
35f680893d Allow deleting accounts when user is locked
removeAccountInternal now allows removing account regardless of lock state:
- If user is unlocked, the account is remove from both CE and DE tables
- If user is locked, it will only be removed from DE. syncDeCeAccounts will
  remove account data from CE once the user is unlocked.

Bug: 26279712
Change-Id: I734aa474d3d98a85459c9795def83c5dbaaa2536
2016-04-08 14:32:25 -07:00
Kevin Hufnagle
9d4afa9ce0 Merge "docs: Added section describing Launcher Shortcuts." into mnc-mr-docs 2016-04-08 21:28:30 +00:00
Adrian Roos
e211f57e2a Keep HUNs that have an active remote input
Fixes: 28043709
Change-Id: I6dc4d0baecf2d1f6fe64071ef7591d4024911524
2016-04-08 14:24:54 -07:00
Tenghui Zhu
3cb5ba75b7 Merge "Update the documentation on createCircularReveal" into nyc-dev 2016-04-08 21:24:04 +00:00
Julia Reynolds
93bd44300c Merge "Improve content descriptions for volume dialog icons." into nyc-dev 2016-04-08 21:22:42 +00:00
Aga Wronska
43df577ac4 Consolidate user actions metrics into one histogram.
Bug: 27301081
Change-Id: Ib2ac46dd268e492c576bc082dc349c4a6826897f
2016-04-08 14:16:40 -07:00
Julia Reynolds
ed783798c3 DND related restrictions
- Apps without dnd access cannot call adjuststeamvolume if that will
change the ringer mode
- DND muted streams cannot be unmuted when DND total silence is enabled.

Bug: 27624414
Bug: 25395278
Change-Id: Id10988c42fc6cb6407aa2abcf66cc5c384fe533a
2016-04-08 17:16:10 -04:00
Julia Reynolds
dfe0b4df7e Improve content descriptions for volume dialog icons.
Bug: 27971063
Change-Id: I9282083f68a5cd607fe0cb2893829675559acb6d
2016-04-08 17:16:09 -04:00
Joe Onorato
e93fecf9a3 Merge "This assert is triggering when it shouldn't be. Disable it for now." into nyc-dev 2016-04-08 21:12:06 +00:00
Anthony Chen
da62fdcd50 For Auto, display battery status as that of a connected device.
For Android Auto Embedded, we would like to display the battery status
of a device that is connected via Bluetooth and not the battery status
of the device itself (which would not make sense in Auto).

To accomplish this, introduce a new CarBatteryController that only
monitors the status of battery via Bluetooth. Note that AAE is not
explicitly handling the battery icon that appears in the quick settings
because this will be hidden for Auto.

This CarBatteryController implements a new BatteryController interface.
What used to be the BatteryController has been moved to the
BatteryControllerImpl class.

Bug: 28002775
Change-Id: I2285bcbd3d207cdcc1ac5a98ec3685d4fff0f0d9
2016-04-08 14:12:05 -07:00
Lifu Tang
e50607efab Fixed the sign error in GnssClock
Bug: 28068514
Change-Id: I71b68acb70d4139f94f3829bd4a280d926e251de
2016-04-08 14:10:42 -07:00
Bryce Lee
196a05724d Merge "Add granular control over disabled effects." into nyc-dev 2016-04-08 20:59:10 +00:00
Mark Renouf
44303087cc Merge "Customizes input extract edit view for Wear" into nyc-dev 2016-04-08 20:58:48 +00:00
Mark Renouf
880602eb64 Customizes input extract edit view for Wear
Provides an alternate presentation of the extract edit area
of an input method window, designed for sub 250dp width screens.

An icon is used on a round material style button in place of a text
action, providing more horizontal space for the editing area.

BUG: 22512982
Change-Id: I16226ce393f2d15065d08e66a36d008eb1a0c8a1
(cherry picked from commit fd71a6a5d99bad5d3ab32edc328fb5b026b66215)
2016-04-08 16:56:25 -04:00
Todd Kennedy
c289922bee Merge "Fix NPE for MATCH_FACTORY_ONLY" into nyc-dev 2016-04-08 20:55:04 +00:00
Kevin Hufnagle
93862ec308 docs: Added section describing Launcher Shortcuts.
The "Android N for Developers" page within the Android N preview
documentation now includes a section discussing the features and
workflow associated with Launcher Shortcuts.

Bug: 27753707
Change-Id: I43c17960f08a3c2a9e123ca5b5c411381afdfab8
2016-04-08 13:48:25 -07:00
Jason Monk
3212a4c759 Merge "Visual updates to battery screen" into nyc-dev 2016-04-08 20:47:17 +00:00
Todd Kennedy
421d8f5fab Fix NPE for MATCH_FACTORY_ONLY
Bug: 28087606
Change-Id: Ib86c5189aa9a9ca87504625dd19bdeab56fd4967
2016-04-08 13:45:49 -07:00
Eric Laurent
d9ac2be3e3 audio service: fix volume burst on user switch
Change the convention on use of default device volume with
audio policy manager: Now setting the default device volume on a stream does not
reset all specific device volumes. The default volume is just used by audio policy
manager if no specific device volume is present for a given selected device.

Bug: 27557733

Change-Id: I1edd9530ccafc615d9353b9b06489c688e21f719
2016-04-08 13:44:00 -07:00
Todd Kennedy
f7593344dd Don't allow userID changes on upgrade
Changing userID's on upgrade lead to all sorts of bad behaviour, so,
don't allow it.

Bug: 28075981
Change-Id: I4861603f4607d7bd85fa24951a62a00dadd6eeec
2016-04-08 13:33:37 -07:00
Adrian Roos
39eb1835b8 Merge "Fix early session termination in FalsingManager" into nyc-dev 2016-04-08 20:30:37 +00:00
Adrian Roos
f37c507619 Merge "Fix HUN Scrim" into nyc-dev 2016-04-08 20:29:17 +00:00
Makoto Onuki
abe8442951 Add UserHandle to ShortcutInfo, and simplify LauncherApps APIs.
- Also fixes the bitmap recycle bug in the service.

Fixes 28053541

Change-Id: I2b244feda0f85c60e2c15af427fcad95ad5e6da5
2016-04-08 13:28:18 -07:00
Andrii Kulian
10b0aa69d1 Merge "Fix invalid stack position when docked on right" into nyc-dev 2016-04-08 20:23:37 +00:00
Arunesh Mishra
78ab7cf301 SoundTriggerHelper re-design.
This CL redesigns and cleans up a lot of the core logic in STH.

Major changes include:
   - Adds Tron logging based counters.
   - Common startRecognition(), stopRecognition() and updateRecognition()
     routines that work on both Keyphrase and Generic sound models.
   - Common streamlined logic for when recognition is aborted, requested and
     paused due to phone call/power save etc, for both keyphrase and generic
     models.
   - Special handling of the singleton nature of keyphrase models in
     startRecognition().
   - Moves all Keyphrase model state to the common ModelData structure.
   - Adds Recognition pause/resume() for generic sound models so that they react
     to power save, call state, recognition aborted due to service unavailable
     etc.
Bug: 27972641

Change-Id: I96a7f567d2a4973facec556892a163ca74176bbf
2016-04-08 13:22:38 -07:00
Andrii Kulian
daea3572b3 Fix minimal size for tasks in right-hand pane
Minimal size adjustment was not applying correctly to right-hand pane.
Also when task with minimal size set was moved to docked stack on the
right, first configuration was calculated only for its visible part.

Bug: 27621228
Change-Id: I36bc5cdfe08056ee1aea8b0cc08fd28e87e578cc
2016-04-08 13:20:51 -07:00
Cheryl Potter
dd4cc3b5ea Merge "docs: Document test artifact preference setting b/24810371" into mnc-mr-docs
am: a6d7a32

* commit 'a6d7a32121c7571bd47ebd5c76154bd17b2f5fba':
  docs: Document test artifact preference setting b/24810371

Change-Id: Ia10c599e252429024572eebb43f4d04d1be76282
2016-04-08 20:14:40 +00:00