237244 Commits

Author SHA1 Message Date
Wonsik Kim
6e452f9e8a Don't try to compress .mkv resources
Bug: 27987970
Change-Id: I58e920e81d1e79b7fbba479d8fb34afb3911f97d
2016-04-04 15:39:40 +09: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
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
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
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
Wei Wang
19c4883c85 Add death monitor to AsyncChannel Server.
Bug:27878941
Change-Id: Ia6d12b49979b47434db7969372d6c02f799bc7d4
2016-03-31 15:49:36 -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
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
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
Felipe Leme
1f44c75e2e Merge "Save whitelist status of all apps." into nyc-dev 2016-03-31 20:33:12 +00:00
Xiaohui Chen
0418f8a5a2 Merge "sysui: refactor for extensibility" into nyc-dev 2016-03-31 20:31:52 +00:00
Aga Wronska
69e852d759 Fix search view tests on handheld devices
Change-Id: If7107e23e93989f040abf7f909b4134b0035b8e4
2016-03-31 13:31:24 -07:00
Fyodor Kupolov
83c2424141 Set build fingerprint for the new user
This change will prevent PRE_BOOT_COMPLETED from being sent to new users

Bug: 27939609
Change-Id: I0e49a467c792c972e0e3fc76e06842a80810e14b
2016-03-31 13:30:42 -07:00
Roozbeh Pournader
27ec3ace18 Re-enable emoji font tests
This re-enables the emoji font tests, but doesn't run the tests if
SMALLER_FONT_FOOTPRINT is set.

Additionally, we test that there's one and only one emoji font in the
fallback chain.

Bug: 26187231
Bug: 27785690
Change-Id: I2e6d467e3f54ee3d41737170d7c2492a0f6b30f0
2016-03-31 13:23:15 -07:00
Vladislav Kaznacheev
acaa4a22e1 Replace drag and drop mouse pointer shape
Use PointerIcon.STYLE_GRABBING (closed hand) instead of 
PointerIcon.STYLE_GRAB (open hand) while drag by mouse is in progress.

Bug:27946394
Change-Id: I56089b2c2cc5d1271df059832282725a886fc982
2016-03-31 20:19:36 +00:00
Alan Viverette
ae4908f41c Remove DayNight theme
Bug: 21854466
Change-Id: I739872112d0ae457d0d4620f9222206072d54b4b
2016-03-31 16:18:27 -04:00
Gus Prevas
bb8c30901d Merge "Updates Wear window animation styles." into nyc-dev 2016-03-31 20:15:06 +00:00
George Mount
98aa25c2d9 Merge "Revert "Revert "Run cleanup before end actions of ViewPropertyAnimator.""" into nyc-dev 2016-03-31 20:14:04 +00:00