237362 Commits

Author SHA1 Message Date
Insun Kang
faecc3f800 Merge "ExifInterface: Code clean up" into nyc-dev 2016-04-01 08:55:01 +00:00
Jaewan Kim
2edfe0106a Merge "PIP: Apply the animation spec for the PIP in Recents" into nyc-dev 2016-04-01 06:19:53 +00:00
Jaewan Kim
a0d4d2588d PIP: Apply the animation spec for the PIP in Recents
Bug: 27540465
Change-Id: Ibdd4a4e3fd194978ccbc29235a1c620ebddff942
2016-04-01 15:03:51 +09:00
Keisuke Kuroyanagi
aea43f8414 Merge "Fix: doRunAdvance returns wrong value when offset == count." into nyc-dev 2016-04-01 05:27:38 +00:00
Svetoslav Ganov
c1b8e88329 Merge "Sanitize app op service inputs" into nyc-dev 2016-04-01 03:05:14 +00:00
Svetoslav Ganov
f73adb6c72 Sanitize app op service inputs
bug:26587386

This reverts commit 9888e00b7a36cd03821001a58e4ff86224e3d858.

Change-Id: I37069b6eb50ee1a1b29d6f116e96ad9f226883c9
2016-03-31 20:02:06 -07:00
Insun Kang
8884af3ee9 ExifInterface: Code clean up
Replaces deprecated constants with newly added constants in the actual
implementation.

Bug: 27932489
Change-Id: Id54236a05127cd7ce3bf0668c002635fb86489a9
2016-04-01 11:53:14 +09:00
Peng Xu
3dd991d117 Merge "Fix a few known issue in sensor framework" into nyc-dev 2016-04-01 01:54:39 +00:00
Prashant Malani
10ace25816 Merge "Make display brightness ramp rate fast configurable" into nyc-dev 2016-04-01 00:59:02 +00:00
Aga Wronska
44af36f474 Merge "Add comment for FLAG_TRANSLUCENT_STATUS added in CL 898928" into nyc-dev 2016-04-01 00:58:25 +00:00
Aga Wronska
cf59d32e59 Add comment for FLAG_TRANSLUCENT_STATUS added in CL 898928
Change-Id: I8f4ad4e00c6ce46e61afc087daa890eb90ed18a1
2016-03-31 17:55:44 -07:00
Lorenzo Colitti
f5120236c4 Merge "Honour the DHCP MTU option." into nyc-dev 2016-04-01 00:55:08 +00:00
Adam Lesinski
30906ad2d6 Merge "AAPT2: Change how we generate Java classes" into nyc-dev 2016-04-01 00:44:21 +00:00
Yang Ni
0c6ed67c3a Merge "Added CloseGuard for BaseObj" into nyc-dev 2016-04-01 00:33:58 +00:00
Russell Brenner
b3ad567624 Add new permission for am.updateLockTaskPackages()
Adds android.permission.UPDATE_LOCK_TASK_PACKAGES, available only to
the system and setup wizard, providing access to
updateLockTaskPackages() without registering with the device policy
manager as a device owner.

Bug: 20016740
Change-Id: I6eceb5cece9407c84eabf3a818bb908f95989b91
2016-03-31 17:32:08 -07:00
Russell Brenner
b23346639b Add new protection level for setup wizard
Adds PROTECTION_LEVEL_SETUP, a privileged permission for use only by
the setup wizard.

Bug: 20016740

Change-Id: Ib95e349c54d5d12465bf43162975dfb628ef2434
2016-03-31 17:32:07 -07:00
Aga Wronska
b8572b3d50 Merge "Fix dialogs layout after keyboard shows up" into nyc-dev 2016-03-31 23:54:11 +00:00
Adam Lesinski
6cbfb1de49 AAPT2: Change how we generate Java classes
Previously we would be writing out the Manifest.java file as we
processed the AndroidManifest.xml. This would lead to empty
Manifest classes if there were no permissions or permission groups
defined in the AndroidManifest.xml.

This would pose problems for processes that checked for public classes
and considered them part of the API (support lib).

Now we collect the structure of the Java class in memory before deciding
if a file should be created.

Change-Id: I6b909f28d74356414c6ef5ad005180d6ea5e44ca
2016-03-31 16:43:04 -07:00
Aga Wronska
c573bec8cf Add metrics for drag and drop.
Add metrics for search.

Change-Id: I77cb1d13360d764556730303eeb44e14e917b0fa
Fixed: 27940726
2016-03-31 16:39:56 -07:00
Wei Wang
3054d01032 Merge "Add death monitor to AsyncChannel Server." into nyc-dev 2016-03-31 23:13:35 +00:00
Winson Chung
0b0b9a5e80 Merge "Fixing small regression in clear-all button and scrim alpha animation." into nyc-dev 2016-03-31 23:05:48 +00:00
Jaesung Chung
d37577d109 Merge "ExifInterface: deprecate duplicated tags" into nyc-dev 2016-03-31 23:04:43 +00:00
Winson
47c78f93c2 Fixing small regression in clear-all button and scrim alpha animation.
Bug: 27702186
Change-Id: Ie26fa7e2cd73fe8e5e6800e47859ac3bbd763fe4
2016-03-31 23:04:40 +00:00
Yang Ni
6484b6be5c Added CloseGuard for BaseObj
Bug: 27719830

To turn on warnings, apps have to add to their Activity.onCreate() method
the following code.

        StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder()
                               .detectLeakedClosableObjects()
                               .penaltyLog()
                               .build());

For Slang generated ScriptC derived classes, we assume their
constructors won't throw exceptions after calling the ScriptC
constructor. In addition, ScriptIntrinsic derived classes do not seem
to throw exceptions in their constructors either. Therefore, we can
leave the guard.open() call in the Script constructor. This may be
only an approximation, but allows us to add CloseGuard for script
objects without making changes to slang.

Change-Id: I77ed45239a60b85af5c811dee6c124fb53da9060
(cherry picked from commit eb4dd08ec132f83745b8b28fa7da58eb4478b5b9)
2016-03-31 15:57:23 -07:00
Todd Kennedy
d6ee0ba579 Allow retrieving info /system components
Generally we return info for the latest installed package; which could
either be a built-in [i.e. on the /system partition] package or a user
updated package. In certain circumstances, we want to be able to get
the version on the /system partition regardless of whether or not the
user has updated it. We do this by passing MATCH_FACTORY_ONLY to
getPackageInfo().

Bug: 27469181
Change-Id: I8dd1d110e2d72e5c6f024812d0b5d15d8b217347
2016-03-31 15:53:45 -07:00
Wei Wang
19c4883c85 Add death monitor to AsyncChannel Server.
Bug:27878941
Change-Id: Ia6d12b49979b47434db7969372d6c02f799bc7d4
2016-03-31 15:49:36 -07:00
Philip P. Moltmann
9e4bbc60a9 Do not rely on documentInfo.pageCount when selecting which pages to
scrap

documentInfo.PageCount might be set to "unknown" == -1. Hence we don't
know where the last page to scrap ends. Hence defer this decision all
way until PdfManipulationService.removePages as then we know the actual
pages of the document.

Change-Id: I063c3cd084d65a3ac5c60c3d85cec3a346be2680
Fixed: 27948632
2016-03-31 15:39:16 -07:00
Adam Powell
4b2e12cc9e Revert "Only call Drawable.setVisible(false) for visible outgoing drawables"
This reverts commit 35e2ea02035e8b7eb7de5d7a1d51bf030dcb5b76.

This patch was based on two different wrong assumptions.

Bug 27822069

Change-Id: I20b1017f91f3fce3c23dd8446459d6f3e3150a48
2016-03-31 15:36:18 -07:00
Chris Tate
1486557d10 Merge "Handle interaction of Bundle.hasFileDescriptors() with removal" into nyc-dev 2016-03-31 22:22:32 +00:00
Roozbeh Pournader
2159f7017d Merge "Re-enable emoji font tests" into nyc-dev 2016-03-31 22:22:20 +00:00
Tenghui Zhu
c2a091a04b Merge "Add test for private API forceAnimationOnUI" into nyc-dev 2016-03-31 22:06:54 +00:00
Sunny Goyal
2c7238e832 Merge "Sending WALLPAPER_CHANGED broadcast when live wallpaper changes" into nyc-dev 2016-03-31 21:59:37 +00:00
Winson Chung
ee66ab941c Merge "Putting clear-all button on the right to match design." into nyc-dev 2016-03-31 21:58:17 +00:00
Winson
198523763a Putting clear-all button on the right to match design.
- Moving Clear-all button on drop-target change
- Fixing issue with end-margin on title

Change-Id: I589425980cd4503275b33a555f3dcb8391ba2695
2016-03-31 14:57:36 -07:00
Ruben Brunk
8f7e3815e7 Merge "Grant default permissions to preinstalled VrListenerServices." into nyc-dev 2016-03-31 21:57:04 +00:00
Jeff Sharkey
ae310b4618 Merge "Skip mounting sdcardfs in core mode." into nyc-dev 2016-03-31 21:49:54 +00:00
Jeff Sharkey
6855c48093 Skip mounting sdcardfs in core mode.
There's no point in mounting it, since it's living on top of a tmpfs
that will be discarded in a few moments once the user authenticates.

Bug: 27932087
Change-Id: I2df2da0136eac6cc27aa402fb9b00cfd23d562a8
2016-03-31 15:48:57 -06:00
Aga Wronska
8e2e40a28a Merge "Fix search view tests on handheld devices" into nyc-dev 2016-03-31 21:47:01 +00:00
Chong Zhang
c3af194138 Merge "Clear deferRelaunchUntilPaused flag after activity relaunch is performed" into nyc-dev 2016-03-31 21:38:52 +00:00
Hangyu Kuang
7c33a5dcce Merge "Update mediamuxer documentation that it does not support muxing B-frames." into nyc-dev 2016-03-31 21:32:43 +00:00
Vladislav Kaznacheev
99a3ee13f4 Merge "Replace drag and drop mouse pointer shape" into nyc-dev 2016-03-31 21:27:19 +00:00
Fyodor Kupolov
406101ec11 Merge "Set build fingerprint for the new user" into nyc-dev 2016-03-31 21:22:03 +00:00
Philip P. Moltmann
7b92d3c04d When we update slow we override the current state. Make sure to reset the state the operation finishes.
Bug: 27945565
Change-Id: If3dc3ad54bbf9bedae0e82aeef7b295ae16e1bf0
2016-03-31 14:18:51 -07:00
Chong Zhang
225d1b6334 Clear deferRelaunchUntilPaused flag after activity relaunch is performed
We set deferRelaunchUntilPaused when a relaunch is delayed due to the app
in pausing state, but this flag is not cleared after it's relaunched upon
paused. After that every time the app is paused, it relaunches again.

Change-Id: Ib98956e0760b3c4fe108d93f5c7843e2cbd313de
related-to: b/27834014
2016-03-31 14:12:51 -07:00
Alan Viverette
b4e7b545a2 Merge "Remove DayNight theme" into nyc-dev 2016-03-31 21:04:10 +00:00
Alan Viverette
f0f919f19a Merge "Improve handling of AlertDialog padding between title and content" into nyc-dev 2016-03-31 21:03:20 +00:00
Christopher Tate
250985f556 Handle interaction of Bundle.hasFileDescriptors() with removal
Removing entries from a Bundle may change its has-FDs state, so now
induce a recheck after removals.  In support of that, make the
recheck set the known state in all cases, not just in the has-FDs
case; and note that filterValues() inherently produces a result that
is known to have no FDs.

Bug 26676151

Change-Id: Ida07b77ad2046aeafb98e0b164cd571ce45d064f
2016-03-31 13:57:42 -07:00
Sunny Goyal
0572e1847a Sending WALLPAPER_CHANGED broadcast when live wallpaper changes
Bug: 27947401
Change-Id: Ib4fb3310e124e01d8fb7d7045d565ca3b9456050
2016-03-31 13:51:10 -07:00
Philip P. Moltmann
c309d7155a Make sure to update the selected pages when needed in the right order.
Fixes: 27945066
Change-Id: I9c83a5283d6bf093a35ad835532d3c8690b4b989
2016-03-31 13:49:44 -07:00
Alex Klyubin
3a21805aa1 Merge "Remove support for DSA with SHA-512 from v2 sig verification." into nyc-dev 2016-03-31 20:46:04 +00:00