Commit Graph

246497 Commits

Author SHA1 Message Date
Bert McMeen
6cb2cf7151 docs: Refinements for testing
Bug: 28964312
Change-Id: Ie98b74860659046199f8ee920d1cd4899a9c7ce6
2016-05-26 15:32:22 -07:00
Jorim Jaggi
cf984c56ad Fix toast with accessibility and app pinning
Bug: 28912468
Change-Id: Ica33ba691bbcb921c5d3e953890498c04bb624e3
2016-05-26 22:22:18 +00:00
sreevanis
ee44b14cd4 Updated link to material design page.
am: ff05383baf

* commit 'ff05383baf0027dbb04cfa588a80f5d8806bf8aa':
  Updated link to material design page.

Change-Id: Ic56e38ad1b18c324577586a979364c8e1d0edf3a
2016-05-26 22:21:29 +00:00
George Mount
bd34103c5d Merge "Fix Activity Transition mess-up." into nyc-dev 2016-05-26 22:15:32 +00:00
sreevanis
ff05383baf Updated link to material design page.
Bug:28983647
Change-Id: Ic4ca199ca71d3cbfc3ffde477b423aebbf626ac1
2016-05-26 15:06:13 -07:00
Wyatt Riley
793ac34219 Merge "Prevent use of a null sCallbackObj by Hardware FLP" into nyc-dev 2016-05-26 22:03:26 +00:00
Hemal Patel
17fb049a97 Docs: Removed note in "Platform Versions" section
Bug: 27768014

Removed note that explained why Android versions older than 2.2 do not appear in the dashboard

Change-Id: I108d37cd4885fb4f2418b85d0e8c0a6e9a0b0fd0
2016-05-26 15:02:21 -07:00
Kevin Hufnagle
397ae7a2e6 resolve merge conflicts of 7f7eec3 to nyc-dev
Change-Id: I35b5b7103b89e0e12e21e809a3d3952738c9a668
2016-05-26 14:57:15 -07:00
Mark Goldstein
9f2dba71c5 Doc change: Fix broken link.
The href must include the page containing
the anchor "#dynamic-interfaces".

Change-Id: Ie6503584aff0104d11dcafed4fd03ce447ef4c59
2016-05-26 14:43:47 -07:00
Wale Ogunwale
ca2af9e38c Only make Recents activity invisible if not focused on TV devices.
Change was introduced in b/28246419 to fix Recents activity visibility
issues on TV, but was causing other issues on phones. So, only apply
rule on TV devices.

Bug: 28246419
Bug: 28943853
Change-Id: Icd19eae4ffa5e0a798bc9f63bc7a6c9a60422236
2016-05-26 14:43:19 -07:00
John Reck
2ccaf6a448 Change overdraw test to use windowbackground
Bug: 28786023

Fixes an issue where the first couple frames would
be extremely slow due to the simpleness of HWUI's
overdraw rejection optimization.

Change-Id: I1fe3d83f7e2e0eb3299124b00b9f877c2c3aebf9
2016-05-26 14:36:42 -07:00
Robert Carr
fed1007420 Ensure surfaces only resize during relayout.
For clients which use an indeterminate measure spec in their
layout params (MATCH_PARENT). We could try and change their window size
due to a stack resize, before the client calls relayout. This isn't
safe as the client never had an opportunity to pause rendering, so it
could be in the middle of producing a frame for the old size to suddenly
find the buffer size change underneath it.

Bug: 28559097
Change-Id: I3982936fdf85c22def2f9c754d5508e029e4a84d
2016-05-26 14:33:44 -07:00
Chris Wren
6abeeb9119 add metrics for gestural notification expansions
Bug: 28146482
Change-Id: If202846c0d235830c7b41d76b55bdcc21d0ab90d
2016-05-26 17:20:33 -04:00
Alan Viverette
0f1ae5fa0f Merge "Prevent callbacks during DrawableContainer child initialization" into nyc-dev 2016-05-26 21:20:02 +00:00
Kevin Hufnagle
7f7eec31f8 Merge "Cherry pick: docs: Edited "Features Reference" section in "<uses-feature>" page." into mnc-io-docs
am: f23477385e

* commit 'f23477385edbf1e8ecc8c280867fb39698da4b8d':
  Cherry pick: docs: Edited "Features Reference" section in "<uses-feature>" page.

Change-Id: I59ebda20856fd90f50968f9a341b8f87ce2bd9c1
2016-05-26 20:59:57 +00:00
Kevin Hufnagle
f23477385e Merge "Cherry pick: docs: Edited "Features Reference" section in "<uses-feature>" page." into mnc-io-docs 2016-05-26 20:55:56 +00:00
Alan Viverette
2b561f1c35 Prevent callbacks during DrawableContainer child initialization
Bug: 28900939
Change-Id: I9c6c8af1665c2dc0bfa8bc8fc773c81e14f6aab1
2016-05-26 16:49:29 -04:00
Winson Chung
814358a24f Merge "Fixing crash in SysUI due to invalid group." into nyc-dev 2016-05-26 20:39:28 +00:00
Christine Hallstrom
995c90aa18 Properly check if BT is off when shutting down radios
Use BluetoothAdapter#getState() instead of
BluetoothAdapter#isEnabled() when checking if Bluetooth has turned
off, as isEnabled() is set to false early in the shutdown process
and getState() provides a better indication of the state of BT.

Bug: 27354612
Change-Id: Ic7828f0726491d49c9a14ba5d654b24f66743662
2016-05-26 13:20:56 -07:00
Adrian Roos
b1f427c7c4 Fix bad one-line MessagingStyle
The one-line non-group version of MessagingStyle causes
a bug with the action bar and generally looks bad because
it is too short. To fix, show this variant like a BigText
notification.

Change-Id: I8af9e9da8286599b81ccb7c4637471ac01795366
Fixes: 28767094
2016-05-26 13:13:47 -07:00
Daniel Sandler
45caebe035 Merge "Time to #NameAndroidN!" into nyc-dev 2016-05-26 20:07:09 +00:00
Jeff Sharkey
d6ee899397 Merge "Delay PACKAGE_RESTARTED until after data cleared." into nyc-dev 2016-05-26 20:04:16 +00:00
Jeff Sharkey
678dba737b Merge "Careful process validation for unaware providers." into nyc-dev 2016-05-26 20:03:41 +00:00
Winson
8a3ef375ee Fixing crash in SysUI due to invalid group.
- Adding a null check for tasks that have already been removed, but may
  be launched.

Bug: 28890599
Change-Id: Idde322c737a5543e639e693fbe7615e720a12c1e
2016-05-26 19:57:44 +00:00
Winson
6c8217ab30 Defer calling the stack task removed callbacks.
- When updating a TaskStack, defer calling any callbacks until the stack
  is updated.  Otherwise, the handler may incorrectly check the size of
  the stack to be empty, which triggers Recents to go home.
- This CL also removes an erroneous double call to onStackTaskRemoved()
  when updating, one explicit call and the call that is made internally
  in removeTask().

Bug: 28941269
  

Change-Id: I37b93bd959a625096925a16a426269a0c79de4e7
2016-05-26 19:57:34 +00:00
Danny Epstein
8b4d90f297 Top and bottom padding for watch preferences.
BUG: 27779149
Change-Id: I4a2a79e249d30c58d7729876adf58935b81015e4
2016-05-26 12:56:27 -07:00
Jeff Sharkey
a39d888651 Merge "Suppress unlock notifications on non-FBE devices." into nyc-dev 2016-05-26 19:53:17 +00:00
Adam Cohen
b3d4ad2205 Merge "Replace caribou wallpaper without the stars b/28339724" into nyc-dev 2016-05-26 19:44:26 +00:00
Eric Schmidt
28bdf2907a Merge "docs: Removing CLI steps in getting started docs" into mnc-io-docs am: 8e08dbe8f8
am: 400aed3556

* commit '400aed3556d837e746252e1be03dd1ac54a383e5':
  docs: Removing CLI steps in getting started docs

Change-Id: Id585f59925373bda46a34c9bd6811603ea5ee66a
2016-05-26 19:35:13 +00:00
Eric Schmidt
400aed3556 Merge "docs: Removing CLI steps in getting started docs" into mnc-io-docs
am: 8e08dbe8f8

* commit '8e08dbe8f825e2de9cd79bf155a255543efb4c6c':
  docs: Removing CLI steps in getting started docs

Change-Id: If7ce2cdf3f9b27dd8f7ab36a83fe38d26a70e7ca
2016-05-26 19:30:14 +00:00
Eric Schmidt
8e08dbe8f8 Merge "docs: Removing CLI steps in getting started docs" into mnc-io-docs 2016-05-26 19:26:32 +00:00
Wale Ogunwale
d6ac76284d Protect against NPE while to updating service connection activities.
Bug: 28972558
Change-Id: I83f6e33248bb5b5c6ed34a3590d594bf82463a96
2016-05-26 12:07:21 -07:00
Adrian Roos
bb73e9c65a Notification: Fix bug with sliding action list
Fixes a bug where the action bar was not where it
was supposed to be if the expanded notification
was smaller than the collapsed + action height.

Bug: 28767094
Change-Id: I30c0ae430d4d5f9e88a02f5143094e90cf31b620
2016-05-26 12:06:46 -07:00
Eric Schmidt
18e457900b docs: Removing CLI steps in getting started docs
Bug: 22875456
Bug: 21026809
Change-Id: I8f4fcca73c779407aac0b96299c60f8d6adae214
2016-05-26 18:50:51 +00:00
Julia Reynolds
d9599faf6b Merge "Unlocked access of mServices is bad." into nyc-dev 2016-05-26 18:46:39 +00:00
Julia Reynolds
d52a81eeae Merge "Reset slider animator on density change" into nyc-dev 2016-05-26 18:46:10 +00:00
Lajos Molnar
0d8337c314 media: avoid NPE in CodecCapabilities.createFromProfileLevel
Bug: 28980577
Change-Id: Id020ed350e2a16b7772e05bd6a10235481903b40
2016-05-26 11:45:16 -07:00
Jonathan Basseri
04c35e78db resolve merge conflicts of 4c04097 to nyc-mr1-dev
Change-Id: I256514588af20985108f72a5e204811904f87c9c
2016-05-26 11:41:17 -07:00
Fyodor Kupolov
a4dbdaf5e9 Merge "Remove ActivityManager calls with PM.mInstallLock held" into nyc-dev 2016-05-26 18:20:36 +00:00
Ruchi Kandoi
c45908d196 PowerManager: Adds Documentation to
isSustainedPerformanceModeSupported()

Bug: 28775592
Change-Id: Iea4f77d2508141ac0748165f68e6e1ca235ab804
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
2016-05-26 11:18:52 -07:00
smain@google.com
5d3ca78d3f add redirect for Espresso Test Recorder doc that will soon be on TAC site. am: 8f60544180
am: e1bd7e15c5

* commit 'e1bd7e15c5958769025ba5c8bbf0d18d8e9bfb20':
  add redirect for Espresso Test Recorder doc that will soon be on TAC site.

Change-Id: I9a5f32d1828970a96dea0a31e62e1b80f564fed4
2016-05-26 18:05:08 +00:00
Jeff Sharkey
4670d3efe2 Delay PACKAGE_RESTARTED until after data cleared.
Some system internals are using the PACKAGE_RESTARTED broadcast to
rebind to services, which would fail if the package was still frozen
due to a long-running clear data operation.  To avoid this, delay both
the PACKAGE_RESTARTED and PACKAGE_DATA_CLEARED broadcasts until after
the clear operation has finished.

Bug: 28964281
Change-Id: I18ac36c39ba90498b1eb0cc495da1f16c24614bf
2016-05-26 12:01:36 -06:00
Jeff Sharkey
585d8b28f5 Careful process validation for unaware providers.
When unlocking a user, install any direct boot unaware providers into
processes that were started before unlock.  Mirror the conditional
logic used in all other provider locations.

Bug: 28708253
Change-Id: I2044558456d7f8e509374659f7c89abf01869cd9
2016-05-26 12:01:28 -06:00
Paul Jensen
50615e498e Merge "Don\'t pass URL path and username/password to PAC scripts" into klp-dev am: af0b4466ff am: 8940d2b0ff am: bb27626141 am: 6c35cf2434 am: 42a5983364 am: 75095e6f02 am: 7c625e1938 am: 54a62d5feb am: a5a2c88fb3 am: 7ff57eaff9
am: 94c8855da6

* commit '94c8855da6c1e5800723d1eaeceb1cba841bea6b':
  Don't pass URL path and username/password to PAC scripts

Change-Id: Ic91dc5c4a0a283bcd177daac8cced12a668bf0d9
2016-05-26 17:59:23 +00:00
smain@google.com
e1bd7e15c5 add redirect for Espresso Test Recorder doc that will soon be on TAC site.
am: 8f60544180

* commit '8f60544180374beaab837bc0f3225e54d0d368a5':
  add redirect for Espresso Test Recorder doc that will soon be on TAC site.

Change-Id: I55f32372b245d136519e55e8dd79796f58a6231f
2016-05-26 17:59:11 +00:00
Christopher Tate
d39c0a8d77 DO NOT MERGE : backport of backup transport whitelist am: 647cb6a6d8 -s ours am: 077534b101 am: 4c559cdade am: 24ceca96af -s ours am: 88c9eae886 am: 1fa817c057 am: 040cf14047
am: 0905c8f398  -s ours

* commit '0905c8f3989ab607b659fdc20a1b9a56794d2b6f':
  DO NOT MERGE : backport of backup transport whitelist

Change-Id: I6d0b878ea43d98761b93865604e8cb97410cdea9
2016-05-26 17:56:38 +00:00
Kevin Hufnagle
da90584135 Cherry pick: docs: Edited "Features Reference" section in
"<uses-feature>" page.

The "Features Reference" section now lists all hardware and software
features that apps can use on devices running Marshmallow, and some
existing features now have more descriptive examples.

Converted the tables listing hardware and software features to h4
elements and definition lists to make the page more reader-friendly,
particularly on handheld devices.

Bug: 27803596
Change-Id: I3490f5dcde6a838d69940c70e06d9cd2cb8a7bdc
2016-05-26 10:51:02 -07:00
Julia Reynolds
ad92957ee3 Unlocked access of mServices is bad.
Change-Id: I626d2daffb3669c7bea4856f8ee66dbd13951163
Fixes: 28979051
2016-05-26 13:49:17 -04:00
Tenghui Zhu
e78ba24c17 Merge "Update the light center when the root view's layout changed" into nyc-dev 2016-05-26 17:48:49 +00:00
Phil Burk
d34d06606d Merge "AudioAttributes docs: warn about small buffer size with FLAG_LOW_LATENCY" into nyc-dev 2016-05-26 17:46:08 +00:00