241923 Commits

Author SHA1 Message Date
Elliot Waite
988248daab Change custom_link_attributes to path_attributes format.
Change-Id: I24439d6f9226ace37eab875e8b1bb634a9e52074
2016-04-27 20:07:57 -07:00
Jorim Jaggi
cd13d33ee5 Show forced resizable based on top activity
Also don't show it for noDisplay activities.

Bug: 28223489
Change-Id: Idb555b019b5cebdcf16a0cfaa19d64263874735f
2016-04-27 19:26:04 -07:00
Lorenzo Colitti
c5be12e7ac Make isCaptivePortal perform both HTTP and HTTPS probes.
Also a couple of minor cleanups and logging tweaks.

Bug: 26075613
Change-Id: I67b09e96d72764179339b616072bb2ce06aabf33
2016-04-28 11:23:10 +09:00
Jorim Jaggi
c875ae74ba Don't move forced resizable info activity to the front
If we start the forced resizable activity with an existing task,
avoid moving that task to the front. This can cause that a previous
task that was moved to the back gets moved to the front again just
because we started that activity. That's not good.

Bug: 28223489
Change-Id: If8acf31b8be98b82665de1015d5621331c37fb64
2016-04-27 19:19:04 -07:00
TreeHugger Robot
74610328f3 Merge "Fix contrast enforcement for RemoteInputView" into nyc-dev 2016-04-28 01:33:43 +00:00
Jeff Hao
9f013fe71e Merge "Some cleanup for <uses-library> change." into nyc-dev 2016-04-28 01:31:17 +00:00
Chong Zhang
824b6dcb55 Don't wait for visible if there is no running activity left.
We could run into this situation on some devices (eg. clockworks),
the next activity doesn't get launched until we destroy this one.

allResumedActivitiesVisible() will return false if there is no other
activity running at all. Check top running activity and it's visibility
instead.

bug: 28400334
Change-Id: Ib8957e499580a10206fdd4e27da19fbc2bdb5843
2016-04-28 01:28:29 +00:00
Peng Xu
a96986745f Merge "Fix docs build by adding include <endian.h>" into nyc-dev 2016-04-28 01:13:45 +00:00
Dianne Hackborn
1a2f993ba5 Merge "Fix issue #28431297: Crash in system process" into nyc-dev 2016-04-28 01:07:26 +00:00
TreeHugger Robot
c4e70467f7 Merge "Fixed a crash when the transformed view was updated while dragging" into nyc-dev 2016-04-28 01:05:26 +00:00
Chris Tate
bee2d3dfe4 Merge "Apply restored wallpaper via API rather than rename-into-place" into nyc-dev 2016-04-28 00:56:02 +00:00
Chris Tate
07318065b2 Merge "Make sure FIRST_LAUNCH is after PACKAGE_ADDED" into nyc-dev 2016-04-28 00:41:02 +00:00
Chong Zhang
b8bd069eac Do not add duplicates to mWaitingVisibleActivities
processStoppingActivitiesLocked() only removes one record each time, so
instead of stopping on the next window visible (or next idle), it now
requires two such calls to move the app to destroyed, if there's only
one report, the app never gets removed.

bug: 28417200

Change-Id: I7c5eac240074ed0434a72643a8d52f1726ab906c
2016-04-27 17:35:13 -07:00
Felipe Leme
1d0fbedf45 Whitelist Downloads Manager for Data Saver.
BUG: 28431507

Change-Id: I0478ff48865951a7ebac94434f48ad0e272e0901
2016-04-27 17:11:37 -07:00
Jaewan Kim
cc3cb5a009 Merge "Fix NPE when WindowManagerDebugConfig.DEBUG_SCREENSHOT is true" into nyc-dev 2016-04-28 00:11:04 +00:00
Adrian Roos
25ea5b8586 Fix contrast enforcement for RemoteInputView
Previously, the disabled color was used for the contrast
calculations, which resulted in too dark RemoteInputView
backgrounds.

Change-Id: I99e8b2fa64a22a59fdc5d1be8a6aff5af3523a27
Fixes: 28429720
2016-04-28 00:08:21 +00:00
TreeHugger Robot
e5bbff846e Merge "Add a security warning to PdfRenderer doc." into nyc-dev 2016-04-28 00:06:04 +00:00
Dianne Hackborn
e761777323 Fix issue #28431297: Crash in system process
Don't allow null URIs to get put into the notification path.

Change-Id: I4f68f438960c8a90c7b417feaa2e19968a3a200a
2016-04-27 17:03:52 -07:00
Adrian Roos
7ce11e7c23 Merge "RemoteInput: add logging and metrics" into nyc-dev 2016-04-28 00:03:03 +00:00
Adrian Roos
39d60bace6 Merge "Prevent dismissal on RemoteInputView" into nyc-dev 2016-04-28 00:02:46 +00:00
Hugo Benichi
9710859b51 Merge "Fixes 2 race conditions in MetricsLoggerService" into nyc-dev 2016-04-27 23:50:47 +00:00
Andrew Solovay
06ba3db938 docs: Updated support library overview
Per feedback from the support library team, updated the support
library overview page to better explain what the libraries are
and what they're for. This is the beginning of a big overhaul of the
support library docs.

The "overview" section has been rewritten and expanded in this CL.
The "revisions" section hasn't been touched, except that the heading
was changed to "Support Library Revision History". (I'd like to
move "Revision History" to a separate page, but I'll do it in a
follow-on CL.)

See first comment for doc stage location.

bug: 27274455
Change-Id: I12ce21c948421e1bd0be5d3151845f900750e7b1
2016-04-27 16:40:49 -07:00
Dimitry Ivanov
32c1169ab3 Merge "zygote: Remove NativeLoader initialization step" into nyc-dev 2016-04-27 23:37:13 +00:00
Badhri Jagan Sridharan
5149abe73e Merge "Add low power stats to batteryhistory" into nyc-dev 2016-04-27 23:32:19 +00:00
Michael Wright
b082890149 Properly parcel HdrCapabilities.
Since the field might be null, we can't just read and write the
object directly. Use Parcel's convenience methods to do so safely
instead.

Bug: 28427070
Change-Id: I6460c9cb43dc6da97d5fd9edeaa78bdaaf105446
2016-04-27 19:28:29 -04:00
Selim Cinek
589fd3e47f Fixed a crash when the transformed view was updated while dragging
The transformed view could get updated during the transition
leading to a crash sometimes. We're now handling this better and
make sure the correct values are set.

Change-Id: I1a311cb7c108afeec0fc1c92eb3359c622db7b87
Fixes: 27922191
2016-04-27 16:24:48 -07:00
Adrian Roos
5aa8e7d1f1 Merge "Fix MessagingStyle HUNs" into nyc-dev 2016-04-27 23:17:08 +00:00
Christopher Tate
61f2d63889 Apply restored wallpaper via API rather than rename-into-place
This plays nicer with SELinux and generally means we can be more robust
about file security policies.

Bug 28403975

Change-Id: I857ee7073c0090c7515421f41c9334025e25bc79
2016-04-27 16:05:03 -07:00
Keun-young Park
3279050c25 Merge "fix recursion for config change" into nyc-dev 2016-04-27 23:04:51 +00:00
Adrian Roos
a3760a4713 Show lockscreen wallpaper on SIM screens
Also fixes a bug where the lockscreen wallpaper was
showing in occluded mode and where the regular wallpaper
was flashing when going back from occluded mode.

Change-Id: Ibe6404acc4ed5db8807b3ef223b149e841730c8f
Fixes: 28271756
2016-04-27 16:03:15 -07:00
Fyodor Kupolov
ccb83c0aa5 Merge "Broadcast USER_INITIALIZE after user is unlocked" into nyc-dev 2016-04-27 23:02:10 +00:00
Selim Cinek
7faf756322 Fixed translations so that they become translatable
Change-Id: I0b97327b44ca5a09dd925ad34e99684eeed59639
Fixes: 28375835
2016-04-27 23:01:43 +00:00
Selim Cinek
477af0d4ea Merge "Fixed a bug where the media template wasn't transforming right" into nyc-dev 2016-04-27 23:00:09 +00:00
Selim Cinek
8f4f2a9bfc Merge "Fixed a crash where the overflow number wasn't initialized" into nyc-dev 2016-04-27 22:59:42 +00:00
Selim Cinek
1689203d5c Merge "Handle empty bigTexts more gracefully" into nyc-dev 2016-04-27 22:59:03 +00:00
Phil Weaver
1f70f0b7d6 Merge "Fix several accessibility magnification issues." into nyc-dev 2016-04-27 22:50:37 +00:00
Jeff Hao
bd784e961c Some cleanup for <uses-library> change.
Addresses comments made in:
https://googleplex-android-review.git.corp.google.com/#/c/976512

Bug: 26880306
Change-Id: I382fb39f3bb5de5a03506f5526d909cf55530542
2016-04-27 15:50:16 -07:00
Peng Xu
d5ec5f919d Fix docs build by adding include <endian.h>
Added endian.h into include list to avoid build error in "docs".
The function "htobe64" in endian.h is used.

Change-Id: Ic76dab25d34c56b58b97849dfa7b103963392568
2016-04-27 15:50:05 -07:00
Keun-young Park
e3dd9f8c71 fix recursion for config change
- update mTempConfig from mCurConfig first to decide if
  config is changed or not. This fixes recursion of putting
  new config again from reconfigureDisplay
- ignore setNewConfiguration if there is no change in configuration
  This fixes another recursion due to config change -> app restart
  loop

bug: 28381048

Change-Id: I4c2e6072b269baf9fa11d4b8073f0800c0e0d28d
2016-04-27 15:42:17 -07:00
TreeHugger Robot
0db93cea0f Merge "Tethering and Data Saver: There Can Be Only One!" into nyc-dev 2016-04-27 22:41:13 +00:00
Joe Fernandez
3af8dd2127 docs: N Preview 2 - new fugu system images
b/28197487
b/28376467

Change-Id: Idde4a9cf66659867926f03acec09ed92fb70a9ee
2016-04-27 15:39:24 -07:00
Selim Cinek
42a0cb3188 Merge "Fixed that notifications didn't fade away when brightness changed" into nyc-dev 2016-04-27 22:38:38 +00:00
TreeHugger Robot
8ff7d162c6 Merge "Don't lose content change during rollback for loader already started" into nyc-dev 2016-04-27 22:25:38 +00:00
TreeHugger Robot
1a101dbc81 Merge "Fix remote input view clobbering" into nyc-dev 2016-04-27 22:17:33 +00:00
Christopher Tate
5cf5578a45 Make sure FIRST_LAUNCH is after PACKAGE_ADDED
If an app undergoes restore during install, it is considered 'started'
and the FIRST_LAUNCH broadcast needs to go out.  However, this must not
take place until after the restore operation has fully completed, in
order to avoid publishing the app's existence while it may still be in
an incoherent state.  We now make this broadcast part of POST_INSTALL
in the restore case.

Bundled apps are in the 'started' state regardless, so no FIRST_LAUNCH
broadcast is ever sent for them -- this CL does not change that
existing behavior even in the case of setup-time data restore of
factory-installed packages.

Bug 28173625

Change-Id: Ibcc3758576662dc447b75476173a0d008a9fe4da
2016-04-27 15:07:26 -07:00
Philip P. Moltmann
3d0d141710 Add a security warning to PdfRenderer doc.
Change-Id: Ia714d312665179366adae8e1923e4b9c339ebb59
2016-04-27 15:03:22 -07:00
Alan Viverette
fab88eab31 Merge "Always account for divider height when calculating list height" into nyc-dev 2016-04-27 21:50:48 +00:00
TreeHugger Robot
d803d73331 Merge "Support zero-length paths for a11y gestures." into nyc-dev 2016-04-27 21:48:08 +00:00
Jean-Michel Trivi
81c909760a Additional alarm sounds for N
All file have "ANDROID_LOOP=true" and "TITLE" set.

Bug 27880181

Change-Id: Ia2289b53f6b928e0d49a49281ff96cc5690863e5
2016-04-27 14:47:33 -07:00
TreeHugger Robot
e6500d592e Merge "Add a 1st-time dialog for Data Saver title." into nyc-dev 2016-04-27 21:42:06 +00:00