Commit Graph

245370 Commits

Author SHA1 Message Date
TreeHugger Robot
eb4e8105d3 Merge "docs: Updated support library revisions page for 24.0.0" into nyc-dev 2016-06-14 20:36:30 +00:00
Christopher Tate
c58054f25f Don't trust callers to supply app info to bindBackupAgent()
Get the canonical identity and metadata about the package from the
Package Manager at time of usage rather than rely on the caller to
have gotten things right, even when the caller has the system uid.

Bug 28795098

Change-Id: I215786bc894dedf7ca28e9c80cefabd0e40ca877
2016-06-14 13:28:43 -07:00
Christopher Tate
d85a4ed283 DO NOT MERGE: Don't trust callers to supply app info to bindBackupAgent()
Get the canonical identity and metadata about the package from the
Package Manager at time of usage rather than rely on the caller to
have gotten things right, even when the caller has the system uid.

Bug 28795098

Change-Id: I62710b15bb601fdfedd68e32349168c10725eb45
2016-06-14 13:28:33 -07:00
Philip P. Moltmann
160b043e99 Version PrintRecommendationService.
Fixes: 28908572
Change-Id: I8df106df887cacc8db37f781ade97678960cee04
2016-06-14 13:06:53 -07:00
Andrii Kulian
369be64bf3 Revert "Don't update task to return to type for last task over home"
This reverts commit 21893824c1.

Original commit revealed issue b/29342752 when launch logic was applied
to incorrect stack while moving to PiP mode.

Bug: 29342752
Bug: 29237751
Change-Id: I88d75399eb4b9daf4de87a9a560eb0df0b515173
2016-06-14 20:04:29 +00:00
Selim Cinek
279fa867e5 Fixed another case where the systemUI could crashloop
Because it's not guaranteed to use any builder at all,
there is another case where the SmallIcon could remain null.
We are now checking this lazily instead of ahead of time.

Change-Id: I7a0feff6911b2bce6707427259d3423131a26e32
Fixes: 29255365
2016-06-14 13:02:56 -07:00
Dan Yu
189ef624d1 Merge \\"docs: Clarifying direct boot notification messages\\" into mnc-io-docs am: 120fd583d5
am: 4c5e5ec6d5

Change-Id: I2bfe82b79c928d10b7725315d42b00a1994bbd52
2016-06-14 19:59:36 +00:00
Daniel Yu
4c5e5ec6d5 Merge \"docs: Clarifying direct boot notification messages\" into mnc-io-docs
am: 120fd583d5

Change-Id: I076e69e0a0497ed461dc576b72419152e89bb010
2016-06-14 19:53:35 +00:00
Dan Yu
120fd583d5 Merge "docs: Clarifying direct boot notification messages" into mnc-io-docs 2016-06-14 19:49:12 +00:00
Todd Kennedy
0d0b59c1e1 Update CTS shims
* define a update hash such that com.android.cts.priv.ctsshim can't
  be updated
* create a new APK to verify that <restrict-update> works as expected

Bug: 29311441
Change-Id: I61f3ae3dbd9c79b2dcdfbc30757af0f9a669fce6
2016-06-14 12:46:34 -07:00
Adrian Roos
207cbee824 Merge "Improve action bar transition" into nyc-dev 2016-06-14 19:42:42 +00:00
Adrian Roos
8507d98ad1 Merge "Fix jittery action bar during transitions" into nyc-dev 2016-06-14 19:31:25 +00:00
Adrian Roos
26e864c398 Merge "Make RemoteView margins density-change safe" into nyc-dev 2016-06-14 19:31:14 +00:00
Shreyas Basarge
166b0abf13 Merge "Update SyncManager min period to match JobScheduler" into nyc-dev 2016-06-14 18:54:44 +00:00
Wei Jia
c6f39a0c36 Merge "MediaPlayer: fix java doc for setSurface and setDisplay." into nyc-dev 2016-06-14 18:50:02 +00:00
TreeHugger Robot
f2d5d876b9 Merge "docs: Updating N download pages for DP4" into nyc-dev 2016-06-14 18:20:49 +00:00
Makoto Onuki
5e94a16b74 Merge "Don't take the DPMS lock in DPMI.createPackageSuspendedDialogIntent" into nyc-dev 2016-06-14 18:17:01 +00:00
Hemal Patel
d0067507be Merge "Docs: Changed a command in Keyboard Shortcuts" into nyc-dev 2016-06-14 18:11:10 +00:00
Wei Jia
77e351f81e MediaPlayer: fix java doc for setSurface and setDisplay.
Bug: 29149415
Change-Id: I281b6328c068255387ca01a987ff136c3be5e25b
2016-06-14 10:56:57 -07:00
Aurimas Liutikas
68d5e4b9ff Merge \\"Fix broken {@docRoot} links\\" into mnc-io-docs am: a0fa50e40b
am: 423fe7db6a

Change-Id: I192297bc254d199e25249952591b3b2a1fc2b617
2016-06-14 17:37:38 +00:00
Julia Reynolds
8897a5044b Revert "Announce access point changes."
Fixes: 29151018

This reverts commit 7ed62eb7a2.

Change-Id: If40669b21cc2a2db7e2bb27c7c981d889cb094ed
2016-06-14 17:29:54 +00:00
Aurimas Liutikas
423fe7db6a Merge \"Fix broken {@docRoot} links\" into mnc-io-docs
am: a0fa50e40b

Change-Id: I7dd53f31f44262e09624d23d820723893aaba5c7
2016-06-14 17:27:57 +00:00
Christopher Tate
0029f57123 Note null alarm worksource names under the alarm's package
And log a nastygram because it implies the app is misbehaving.

Bug 29333122

Change-Id: Ia683304b8a9eafb234df81e874ee3f0636c4e56a
2016-06-14 10:16:28 -07:00
Aurimas Liutikas
a0fa50e40b Merge "Fix broken {@docRoot} links" into mnc-io-docs 2016-06-14 17:14:59 +00:00
Qingxi Li
130db7715a Merge "Add a key for setting carrier's CDMA roaming mode" into nyc-dev 2016-06-14 17:02:53 +00:00
Selim Cinek
05e19bba37 Merge "Fixed a bug with a legacy notification API" into nyc-dev 2016-06-14 16:54:21 +00:00
Makoto Onuki
26704957fe Don't take the DPMS lock in DPMI.createPackageSuspendedDialogIntent
This method is called by AM with the lock held, so can't take the
DPMS lock.

It still takes a different lock, but we don't call into the external
world while holding this lock, so this is fine.

Bug 29242568

Change-Id: Idbecdd7d97385ca66c693903443471fdbae833e6
2016-06-14 09:41:21 -07:00
Victor Chang
89d4a9a189 Fix that work apps settings page crash after changing work profile to use separated lock
Change-Id: I77df9d4a6e23ca6041da15f5908436375efa3b21
Fix: 29176549
2016-06-14 16:57:43 +01:00
Daniel Yu
23a7c7e087 docs: Clarifying direct boot notification messages
Adding details on which notification message to listen for
when developing apps that need to interact with direct boot mode.
Note: This is a doc fix for the N direct boot feature docs, but
not specific to any preview release.

Bug: 28729775
Change-Id: If6b239e7aa92bced735cfa1e72d8891d193a420c
2016-06-14 08:33:39 -07:00
Bert McMeen
22eb26c27d Merge \\"Docs: Watch face performance update\\" into mnc-io-docs am: 99677fb42d
am: 106af82850

Change-Id: Ia9fa224a4ebb6e51a3c6141751036504d202e137
2016-06-14 15:15:59 +00:00
Bert McMeen
106af82850 Merge \"Docs: Watch face performance update\" into mnc-io-docs
am: 99677fb42d

Change-Id: I41b6ee0628e561cfb7f711d07ac1e41ff71fcb60
2016-06-14 15:07:53 +00:00
Bert McMeen
99677fb42d Merge "Docs: Watch face performance update" into mnc-io-docs 2016-06-14 15:02:01 +00:00
Shreyas Basarge
3b840e378a Update SyncManager min period to match JobScheduler
Use JobScheduler's minimum period in SyncManager.
Syncs will respect JobScheduler's min period anyway,
this change ensures that dumpsys of both services
show the same period.

Bug: 29253834
Change-Id: I0cd7f85da56af967963573a048c3a71436ed9c5b
2016-06-14 14:56:27 +00:00
John Reck
5b4ff21a74 Merge "Redraw if dirty during stopped when resumed" into nyc-dev 2016-06-14 14:43:20 +00:00
Robin Lee
9ff1a58878 Move 'is already always-on' check into Vpn.java
It's with the rest of the logic now and allows checking whether the
lockdown state matches, too, which led to a lot of misunderstandings.

Fix: 29199431
Change-Id: I94a2c38c4837f9c33b5b9c2becb52eeb7e2a2534
2016-06-14 13:24:17 +00:00
TreeHugger Robot
7ce75172dd Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-06-14 11:47:54 +00:00
TreeHugger Robot
bb8b32262f Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-06-14 11:46:43 +00:00
Paul Jensen
78452db285 Merge "Show sign-in to network notification to all users, not just owner." into nyc-dev 2016-06-14 11:05:32 +00:00
Bill Yi
829614d3ac Import translations. DO NOT MERGE
Change-Id: I4aafe42447a82d42a1b3c013f046a4a264dafcc4
Auto-generated-cl: translation import
2016-06-13 23:26:51 -07:00
Bill Yi
7ff69e9597 Import translations. DO NOT MERGE
Change-Id: Ied2403cbd3d46b70771f137bd4b5aab6fb7150b5
Auto-generated-cl: translation import
2016-06-13 22:58:21 -07:00
Tomasz Mikolajewski
ac3fe8fffe Merge "Make CotentResolver#openInputStream handle errors from reliable pipes." into nyc-dev 2016-06-14 04:15:26 +00:00
Adrian Roos
599be34e6e Improve action bar transition
Improves the transition of the action bar between
the collapsed and expanded states.

Bug: 28935363
Change-Id: I89efe95aa045d04bab4208a001f82cb69b38fce5
2016-06-14 03:53:45 +00:00
Robert Carr
cb8dcec66a PopupWindow: Resolve measure specs before passing to WM.
For the setClipToScreen case we need constraint to
the available display area, but not to the parent window.
If we don't pass FLAG_LAYOUT_NO_LIMITS, we will be constrained
to the parent window. However when we do pass it, we will
not be constrained to the system insets. So, we can pass
FLAG_LAYOUT_NO_LIMITS and constrain ourselves to the insets
via getWindowVisibleDisplayFrame. We also need to avoid
calling setWidth/Height with these resolved values
so we can preserve the indeterminate values in case
layout changes (e.g. rotation).

Bug: 29166136
Change-Id: I4c7c6204e6bc1cdcf4ad86f7e99e3511d4312ae4
2016-06-13 20:23:14 -07:00
Kevin Hufnagle
f6250cc7df Merge "docs: Expanded description of "Key Attestation" N Preview feature." into nyc-dev 2016-06-14 02:53:30 +00:00
Hemal Patel
dd4a8e79db Docs: Changed a command in Keyboard Shortcuts
In the Keyboard Shortcuts Helper section, changed the command to read 'Meta + /' and added information related to Meta key.

Bug: 28240770

Change-Id: Id7317999ea9acb4aa904d440af63b7d02c39184f
2016-06-13 18:40:16 -07:00
Dirk Dougherty
00cf93835f Doc change: add diffs for 23->24.
Change-Id: Icddf0a0b641a3fc89544a2998427bddfae58ccd6
2016-06-13 18:17:33 -07:00
Joe Fernandez
e335ccdc00 Merge "docs: Add Videos section to N Preview landing page" into nyc-dev 2016-06-14 01:13:26 +00:00
Joe Fernandez
a1f02ff4e4 docs: Add Videos section to N Preview landing page
b/29215717

Change-Id: I0bcd995a0a458e7624d1e8a689cb3eb249f9397d
2016-06-13 18:10:12 -07:00
Andrew Solovay
992bdb6171 docs: Updating N download pages for DP4
Verified the checksums against the image files before uploading
them to cloud share. For OTA versions, only the SHA256 checksums were
provided; I verified those checksums against the original image files,
then generated the MD5 and SHA1 checksums myself.

Once all files were staged to cloudshare, I re-downloaded them and
verified them against the checksums I'd added to the preview HTML
page; everything checks out.

See first comment for doc stage location.

bug: 28981896
Change-Id: I10165d402c4f7f07cad267f460b289a7bbf6b858
2016-06-13 17:58:52 -07:00
Aurimas Liutikas
a53fc1f2c0 Merge \\"Fix a spelling error in Supporting Languages page.\\" into mnc-io-docs am: ab239a0c1a
am: 5699312627

Change-Id: I7e7e4777b0475a7c2dd242370a6900cfd4457f90
2016-06-14 00:57:28 +00:00