Commit Graph

69472 Commits

Author SHA1 Message Date
TreeHugger Robot
eabb482ab8 Merge "Removed the POLICY_ALLOW_BACKGROUND_BATTERY_SAVE constant." 2016-08-23 21:18:26 +00:00
Hongming Jin
ebae3b55b7 Merge "Only return password for account session flow if the caller is signed with system key and have get_password permission." 2016-08-23 19:38:49 +00:00
Felipe Leme
8546a44480 Removed the POLICY_ALLOW_BACKGROUND_BATTERY_SAVE constant.
That constant was created back in 2014 in the intial Battery Saver
implementation, but it's not used anymore (since the power saving
whitelist is fetched from DeviceIdleController).

Test: m -j32 FrameworksCoreTests &&  adb install -r -g
${ANDROID_PRODUCT_OUT}/data/app/FrameworksCoreTests/FrameworksCoreTests.apk
&& adb shell am instrument -e class
"android.net.NetworkPolicyManagerTest" -w
"com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner"

BUG: 28791717

Change-Id: Ic2c0bcb9736ce8b40e04fd644953e68241d06a69
2016-08-23 12:28:06 -07:00
TreeHugger Robot
0166811fad Merge "Separate transaction direction for fragment transitions." 2016-08-23 19:23:02 +00:00
TreeHugger Robot
4f5503bc6a Merge "Clarify FileObserver docs for null value." 2016-08-23 18:40:05 +00:00
Phil Weaver
017eecace1 Merge "Merge ag/1290921 to master." 2016-08-23 18:25:40 +00:00
Todd Kennedy
d64d0f9e83 No need to check package name am: afb5269ad6 am: b9de7e33a3
am: 8860c34b32

Change-Id: If42958ce2661e7516a245954daa6da4a6897c2a2
2016-08-23 18:16:08 +00:00
Fyodor Kupolov
1dfcc09161 Added getDataPreloadsMediaDirectory am: 19551a8d8d am: c98c7e9da1 am: ca1a630ccf
am: bcc3c019d3

Change-Id: I2fc16cccb580cbd3441cddae2ab1db0c49d05336
2016-08-23 18:08:03 +00:00
Hongming Jin
368aa19040 Only return password for account session flow if the caller is signed
with system key and have get_password permission.

Bug: 30455516
Change-Id: I78484c59e4de1dff685ab91a0a8e7a756fffd9bf
2016-08-23 11:05:46 -07:00
Jorim Jaggi
6ace777436 Change retail mode wallpaper (1/2) am: 6c902d0453 am: 9d0879c6ac am: 3d19454ec9
am: e4af99d6b7

Change-Id: Ia74d06c44aa2b6d8bd75fa3db4fa5f5772c218d3
2016-08-23 18:04:57 +00:00
Adam Powell
10b133cc9e Only dispatch window visibility aggregation for targetSdk >= N am: 64e1ba4398 am: 02abbe8d4c am: ca3a267478
am: 7cc5539a03

Change-Id: I241adaa27bb952d2b826721100944d569ac57149
2016-08-23 18:00:35 +00:00
Andrei Stingaceanu
1136e450e3 Merge "TextView - lazy GestureDetector creation for ClickableSpans" 2016-08-23 17:00:38 +00:00
Todd Kennedy
8860c34b32 No need to check package name am: afb5269ad6
am: b9de7e33a3

Change-Id: If2b7a9bdf2a3cb5ae05049916596087606e8a01b
2016-08-23 16:56:16 +00:00
Fyodor Kupolov
bcc3c019d3 Added getDataPreloadsMediaDirectory am: 19551a8d8d am: c98c7e9da1
am: ca1a630ccf

Change-Id: I43f40049cc3fd8ae8cd6a9f7219047a260b4032e
2016-08-23 16:54:29 +00:00
Jorim Jaggi
e4af99d6b7 Change retail mode wallpaper (1/2) am: 6c902d0453 am: 9d0879c6ac
am: 3d19454ec9

Change-Id: Ibd859202fd2db910170e8bda6f8c947cd05486f7
2016-08-23 16:43:54 +00:00
Adam Powell
7cc5539a03 Only dispatch window visibility aggregation for targetSdk >= N am: 64e1ba4398 am: 02abbe8d4c
am: ca3a267478

Change-Id: I906793dda8f825882b562ab39822274cb5a0a1c7
2016-08-23 16:39:52 +00:00
Phil Weaver
0dbf913d78 Merge ag/1290921 to master.
Original commit:
Dispatch a11y events in separate thread.

Moves the IPCs into a separate thread, where they should affect
jank a lot less.

Bug: 30183085
Change-Id: I7bc8a777fe76dd76f661cc3e3e1d45a2a28df0d2
2016-08-23 09:27:04 -07:00
Jeff Sharkey
902316d553 Clarify FileObserver docs for null value.
Change-Id: I7dc0b0d26220d6eb82f956a9860cfb6aeccfd12f
Test: none
Bug: 30511606
2016-08-23 10:24:56 -06:00
Teng-Hui Zhu
17890318a5 Correctly report the transparent region am: f8da30dc65 am: 94a2f7e6fd
am: 0b1ef056cc

Change-Id: Ib2bb687e8c87332f3a915c3c312d55aaa50018f9
2016-08-23 16:17:57 +00:00
Andrei Stingaceanu
dc3b96ffec Merge "GestureDetector - fix longPress timeout" 2016-08-23 15:56:30 +00:00
Todd Kennedy
b9de7e33a3 No need to check package name
am: afb5269ad6

Change-Id: Ic3f3eebbb40ef5ae55e0c62003550473d23a3eb2
2016-08-23 15:37:26 +00:00
Fyodor Kupolov
ca1a630ccf Added getDataPreloadsMediaDirectory am: 19551a8d8d
am: c98c7e9da1

Change-Id: Ibde055a6d442b74e17bc07991e8ea6bd2497fe6b
2016-08-23 15:36:19 +00:00
Jorim Jaggi
3d19454ec9 Change retail mode wallpaper (1/2) am: 6c902d0453
am: 9d0879c6ac

Change-Id: I639e21420319261126227da7296e876a07976dc1
2016-08-23 15:34:06 +00:00
Adam Powell
ca3a267478 Only dispatch window visibility aggregation for targetSdk >= N am: 64e1ba4398
am: 02abbe8d4c

Change-Id: I66f8610e52f2aaf06b02fa8d369692fc2f89ee17
2016-08-23 15:33:49 +00:00
Teng-Hui Zhu
0b1ef056cc Correctly report the transparent region am: f8da30dc65
am: 94a2f7e6fd

Change-Id: Ice979b549a74f1e8e59210f2b7c7e5a6f141b9f6
2016-08-23 15:15:06 +00:00
Sailesh Nepal
607c51aadb resolve merge conflicts of 2cff241 to master
Change-Id: Ide7a24bb36c51a24bd4107c3042efc3117ea76f6
2016-08-23 08:10:12 -07:00
Tenghui Zhu
174c92aa52 Merge "Update the javaDoc for VectorDrawable and AnimatedVectorDrawable" into nyc-mr1-dev am: 5cb0c13f76
am: d4f839c477

Change-Id: Iba7c42c3284b1b4b8c3df90c82ce24723d3dfba3
2016-08-23 15:03:39 +00:00
Teng-Hui Zhu
94a2f7e6fd Correctly report the transparent region
am: f8da30dc65

Change-Id: I2fa623c2893a6cea96843f78d46fe753913b6f4d
2016-08-23 14:45:55 +00:00
Robert Carr
d4f839c477 PopupWindow: Be more consistent about Gravity calculation.
am: 798fb79866

Change-Id: Ia7c49dbe2fbe751565d6c8be46586a66c535a148
2016-08-23 14:43:21 +00:00
Sailesh Nepal
2cff2417cd resolve merge conflicts of ad31603 to cw-f-dev
am: bbfb97461d

Change-Id: I8c497533297df55ef4aac85ca2d0d981a057b9d4
2016-08-23 14:15:31 +00:00
Sailesh Nepal
bbfb97461d resolve merge conflicts of ad31603 to cw-f-dev
Change-Id: I970fe17c234f9b99142980f685c3c4efee4767fc
2016-08-23 07:04:30 -07:00
Fyodor Kupolov
c98c7e9da1 Added getDataPreloadsMediaDirectory
am: 19551a8d8d

Change-Id: Ic8ee2d35b2bca11807a7a54aee371df092b3b19c
2016-08-23 00:25:28 +00:00
Jorim Jaggi
9d0879c6ac Change retail mode wallpaper (1/2)
am: 6c902d0453

Change-Id: I1ca69b6cc7450d7f7056e69e3cf7fab1ad2df624
2016-08-23 00:17:20 +00:00
Adam Powell
02abbe8d4c Only dispatch window visibility aggregation for targetSdk >= N
am: 64e1ba4398

Change-Id: Id2d00bc0ae66cdfca11e34b8f1465e4ce19243dc
2016-08-23 00:17:14 +00:00
Doris Liu
c6b92a5979 Merge "Fix out of order listener callback for animator set containing empty sets" 2016-08-22 23:34:25 +00:00
George Mount
7fe4414891 Separate transaction direction for fragment transitions.
In preparation for optimizing fragment transactions, this
allows different directions for the fragment transactions being
executed during a transition. Currently, the add and pop
transactions are separated, but when later optimized, both
add and pop transactions will be run together.

Change-Id: Ia18826daf729f208945e605f96af85b8e139edf2
2016-08-22 15:49:00 -07:00
Todd Kennedy
afb5269ad6 No need to check package name
Change-Id: I8c403ca2bc38f2c7191b6e9a709286ac7e450ac4
Fixes: 30958291
2016-08-22 15:47:22 -07:00
Fyodor Kupolov
19551a8d8d Added getDataPreloadsMediaDirectory
Bug: 31015966
Change-Id: I8b4117daae2b1f7a59d6a192b34a105f91cbac55
2016-08-22 21:59:01 +00:00
Tenghui Zhu
f05765e3c4 Merge "Correctly report the transparent region" into nyc-mr1-dev 2016-08-22 21:56:37 +00:00
TreeHugger Robot
6dcbcc9f9b Merge "Remove EXTRA_SHOW_FILESIZE." 2016-08-22 21:43:16 +00:00
Doris Liu
f66d2f6f31 Fix out of order listener callback for animator set containing empty sets
BUG: 31016584

CTS test for this fix is added at:
https://googleplex-android-review.git.corp.google.com/#/c/1348858/

Change-Id: I9427a6791f4e0aafc33f5cc9fac16c3518d1cdbe
2016-08-22 14:30:48 -07:00
Rob Carr
b19915bea8 Merge "PopupWindow: Be more consistent about Gravity calculation." into nyc-mr1-dev 2016-08-22 20:47:10 +00:00
Steve McKay
0a38e2318b Remove EXTRA_SHOW_FILESIZE.
DocumentsUI will always show size.

Bug: 31016724

Change-Id: I19150332529c4699f00f7f239f775e89025f1c3f
2016-08-22 20:09:11 +00:00
Adam Powell
64e1ba4398 Only dispatch window visibility aggregation for targetSdk >= N
Some existing apps treat drawable visibility notifications as a signal
to crossfade from a placeholder to the new image for the purposes of
scrolling onscreen via a recycling collection view or similar. Since
dispatchVisibilityAggregated is now called for window visibility
changes and ImageView informs its drawable of the visiblity change,
the extra call triggers a repeat fade-in in some existing apps when
you return them to visibility.

These apps should pay attention to the second parameter of
Drawable#setVisible, which signals that animations should not restart
in response to a visibility change. Updating to targetSdkVersion=24+
will enable the new behavior.

Bug 30216207

Change-Id: I27ce9f09bc7544863f7f7980c273650949db21cc
2016-08-22 17:47:09 +00:00
Bo Liu
ad94857d90 Merge "WebView: Use static factory method to create provider" 2016-08-22 16:25:10 +00:00
Andrei Stingaceanu
1fd8ea75a7 TextView - lazy GestureDetector creation for ClickableSpans
Moves the ClickableSpan GestureDetector creation into
TextView#onTouchEvent only on ACTION_DOWN if a ClickableSpan
was targeted. This allows constructing TextViews outside the
UI Thread.

Bug: 30929474
Change-Id: I7f4442f0faee51d3c395fbde1ce32bdf909a18fb
2016-08-22 13:58:58 +01:00
Chris Banes
b62db80a04 Fix NPE in ForwardingListener - fw edition
Caused by a postDelayed() and lack of
null check

BUG: 29992695
Change-Id: If2f43736505e0f738e9d0cf941a1f2d828cd8d5d
2016-08-22 10:16:21 +00:00
Sailesh Nepal
5647c93e9e Merge "Add carrier regex config values for VisualVoicemailSmsFilter" into nyc-mr1-dev 2016-08-21 13:40:02 +00:00
Bo Liu
4827385ae7 WebView: Use static factory method to create provider
This gives the implementation the flexibility to choose different
provider instances. Fallback to constructor if static initializer
factory method doesn't exist.

Change-Id: I72fa0c51c64d0dbdeb6234a0ab4fdd0a389b09fc
2016-08-20 16:13:25 -07:00
George Mount
c9373e5505 DO NOT MERGE ANYWHERE:Fix NPE during Activity transition using wrong Activity.
Bug 30786309

If the Activity used in makeSceneTransitionAnimation isn't
the same one used in the startActivity call, a NullPointerException
could be thrown.

Change-Id: Id21c54fcf99b353feab62f7fc160997ed06e7d23
(cherry picked from commit 3289bfa289)
(cherry picked from commit a3edbf6a5d)
2016-08-20 22:37:45 +00:00