235657 Commits

Author SHA1 Message Date
Sudheer Shanka
b5a4d9605f Merge "Show admin support dialog if app is suspended." into nyc-dev 2016-03-15 18:50:01 +00:00
Felipe Leme
a651601771 Merge "Add a "Do not ask again" checkbox." into nyc-dev 2016-03-15 18:43:48 +00:00
Dimitry Ivanov
53ea5a2f07 Merge "Restore fix for native activity without a java-code" into nyc-dev 2016-03-15 18:23:03 +00:00
Andrii Kulian
68b36ee07b Merge "Update ActivityOptions#setLaunchBounds() docs" into nyc-dev 2016-03-15 18:19:13 +00:00
Chris Tate
63a95b0d80 Merge "Don't stomp live wallpapers when tidying up imagery" into nyc-dev 2016-03-15 18:15:38 +00:00
Felipe Leme
adccb9950e Add a "Do not ask again" checkbox.
When an app request access to a scoped directory which the user already
denied access, it will display a "Do not ask again" checkbox; if the
user checks that option, further requests will be automatically
rejected.

The history of denials is stored in the shared property file.

The UI is not polished yet, the style will be fixed in a future change.

BUG: 26750152

Change-Id: I181923adfb6a1c7c1c17e305d6838314280417fc
2016-03-15 11:12:53 -07:00
Wei Liu
97e56663a7 Add null-checks to mStatusBar.
So that we can disable StatusBarManagerService on Wear.

b/26877020

Change-Id: I9e2a84f004ddf5a4aec50a84cad76d2a10c701b8
2016-03-15 11:06:02 -07:00
Ronghua Wu
a052cbda80 Merge "core: add hdr capabilities to display" into nyc-dev 2016-03-15 17:40:14 +00:00
Sudheer Shanka
7a9c34bd7a Show admin support dialog if app is suspended.
Bug: 26922950
Change-Id: I21f048873244df52d14910cc01a658af476d9149
2016-03-15 10:40:04 -07:00
Tao Bao
36baafe92c Don't reboot into recovery if block map file is missing.
We added a third parameter to RecoverySystem.installPackage() to let the
caller to indicate the package has been processed (uncrypt'd). We need
to ensure the caller's claim is true by checking the existence of the
block map. Otherwise the device will fail for sure when booting into
recovery.

Bug: 27620932
Change-Id: I6325455253480055f14eb0cf020689ac37328602
2016-03-15 10:36:19 -07:00
Alan Viverette
e2578e2d9e Merge "Rename undefined inset constant" into nyc-dev 2016-03-15 17:23:35 +00:00
Hall Liu
712acbe13c Un-hide Connection#onReject(String) and its associated capability
The capability is CAPABILITY_CAN_SEND_RESPONSE_VIA_CONNECTION

Bug: 27501686
Change-Id: Id73bb99650ca8440a9f4e87bfe533a97c4d19778
2016-03-15 10:19:40 -07:00
Dimitry Ivanov
43b28b17d2 Restore fix for native activity without a java-code
The regression was introduced by 39bfee5e3674faea992c32204abc1c03429b8cda
which undid the fix to classloader construction.

This commit reapplies the fix from b9c9026bdd0076014aeca62b088053d8fbce2326

Bug: http://b/27250344
Change-Id: I6c341d911ba0f311c63e380dd9dd064ba2faf391
2016-03-15 10:17:35 -07:00
Yi Kong
9c185ff6e9 Track libcore commit d41ca4a76ea570f9dd89a7ae56410cc75cc0a856
Bug: 27538943
Change-Id: I91fc2e9738dcfb7be061041b5e000b21e7684184
(cherry picked from commit f45eca1d72a26feca68f74149afc4a8c6c91fde4)
(cherry picked from commit e72e604beae9a37834cbd1bff8eaeafd5810ed92)
2016-03-15 17:11:12 +00:00
Ian Pedowitz
440ef18fe7 Merge "Revert "Permissions: Get rid of GET_ACCOUNTS"" into nyc-dev 2016-03-15 17:09:53 +00:00
Michal Karpinski
44aca78d45 Merge "Logging of setting ro.device_owner property" into nyc-dev 2016-03-15 17:09:32 +00:00
Ian Pedowitz
358e51f3d1 Revert "Permissions: Get rid of GET_ACCOUNTS"
This reverts commit d39600585bcb720d739ef6f0091066e3d4f77765.

Bug: 27665091
Change-Id: I7d017ba7062ac594225229436d2877c7d21fb065
2016-03-15 17:08:27 +00:00
Michal Karpinski
c4927b9fd4 Logging of setting ro.device_owner property
Without logging of setting it's impossible to test the setup, unless
device is rooted.

Bug: 22860162
Change-Id: I0532654ef4e4b7272d2749b30590a1b47da9f645
2016-03-15 17:04:59 +00:00
Jeff Tinker
5a5d56b9ef Merge "Remove the field of MediaDrm from inner class CryptoSession." into nyc-dev 2016-03-15 16:59:47 +00:00
Eric Laurent
c92315b91d Merge "Add media.log to Watchdog stacks" into nyc-dev 2016-03-15 16:58:19 +00:00
Adam Powell
421806380d Merge "Un-deprecate Activity#onRetainNonConfigurationInstance" into nyc-dev 2016-03-15 16:51:03 +00:00
Chris Wren
7c4c87bd73 fix NPE when dump wins the race against emit
Bug: 27673660
Change-Id: I4e00933ef38f2847f5f759cfed9dfaea20e04d73
2016-03-15 12:50:44 -04:00
Alan Viverette
6888597c93 Rename undefined inset constant
Bug: 27531289
Change-Id: I31c5cc295c7f36b934eccf46cdbe7a7b293af9e0
2016-03-15 12:43:41 -04:00
Jason Monk
a9df999963 Fix crashes during density changes
Bug: 27516933
Change-Id: Ibffa2f4d68c8c4aff09e74ee4dfb073d7d7bc8c5
2016-03-15 12:41:13 -04:00
Amith Yamasani
0b31233277 Merge "Removed an unnecessary log message" into nyc-dev 2016-03-15 16:26:46 +00:00
Kirill Grouchnikov
a487ab1368 Merge "Remove tracking of all drawables in ViewOverlay.clear()" into nyc-dev 2016-03-15 16:25:50 +00:00
Amith Yamasani
c0f7e5dbfa Removed an unnecessary log message
Change-Id: I381c46fd355fc5697531d0d6931a60def4ee1b89
2016-03-15 09:24:26 -07:00
Sami Tolvanen
47ad0f2be5 Update factory reset notification text
Bug: 27308928
Bug: 26902605
Change-Id: I8bb9380541a4446c96665c6d5f348d1c62b617a7
2016-03-15 08:14:10 -07:00
Vasco Brito
0efa9e1279 Merge "Add short codes for DCB to free UK and 44567 to standard US." into nyc-dev 2016-03-15 14:56:46 +00:00
Dongwon Kang
49fd7f1d6e Merge "TIF: Add annotations for the system APIs which requires permissions" into nyc-dev 2016-03-15 14:50:48 +00:00
Dongwon Kang
89813b8162 TIF: Add annotations for the system APIs which requires permissions
Bug: 25726241
Change-Id: I2c1c8fb04c7299f9010c7f3ed0aca2e4f1e8b7bd
2016-03-15 07:49:53 -07:00
Alan Viverette
f068cff176 Merge "Push flags from top-level TypedValue into ComplexColor changing configs" into nyc-dev 2016-03-15 14:36:11 +00:00
John Reck
0e48bc913d Merge "Switch back to UI-driven AVD" into nyc-dev 2016-03-15 14:31:00 +00:00
Michal Karpinski
57f8462f56 Merge "Addressing API council feedback for remote bugreports" into nyc-dev 2016-03-15 14:08:23 +00:00
Przemyslaw Szczepaniak
1531743a7a Track libcore change 471945701ad7895acf0dae73f90a5f18cd9ca23a
Bug: 27426684
Change-Id: I4b2a5840cb61aa379da0ca11292781ceac14f93d
2016-03-15 13:24:45 +00:00
Michal Karpinski
37cfe71693 Addressing API council feedback for remote bugreports
In DeviceAdminReceiver fixed a broken link in javadocs and improved
javadocs for bugreport error codes.

Bug: 27532425
Change-Id: I6cf90b4109065615778e69ea9d21b1869841593b
2016-03-15 11:35:34 +00:00
Przemyslaw Szczepaniak
43ed24648f Track libcore commit e8b323c7cb7d55be9a4df579231e44f04f53d766
Bug: 27426599
Change-Id: Ie652b5fcf37b12e477ff2929df33d32b074262d4
2016-03-15 11:14:59 +00:00
Tomasz Mikolajewski
c51263be1c Merge "Optimize sorting performance by 7.64% in DocumentsUI." into nyc-dev 2016-03-15 09:32:08 +00:00
Jaesung Chung
1a506af9a2 Merge "ExifInterface: handle the invalid offsets and count numbers" into nyc-dev 2016-03-15 08:27:38 +00:00
Jaesung Chung
49371caff0 ExifInterface: handle the invalid offsets and count numbers
Some JPEG images generated by various camera vendors have wrong offsets
and invalid numbers for indicating the size of components. Instead of
throwing exceptions, this CL makes Exifinterface ignore these cases to
read the information without losing contents already parsed.

Bug: 27583378
Change-Id: Ie8ee0bf49283ef519f4f31c5b8ba78ce3f82fe92
2016-03-15 17:26:42 +09:00
Keisuke Kuroyanagi
531d8d2fae Merge "Re-disable drag and drop in full screen extracted mode." into nyc-dev 2016-03-15 08:21:11 +00:00
Keisuke Kuroyanagi
126fdf1082 Merge "Stop automatically creating selection action mode." into nyc-dev 2016-03-15 07:41:07 +00:00
Tomasz Mikolajewski
77f0595cd1 Optimize sorting performance by 7.64% in DocumentsUI.
This CL prevents allocating new strings just due to the prefix,
which also simplifies the code.

Bug: 27286016
Change-Id: I3d0ea9e4ede68814c78404bd9ac820b8900851f5
2016-03-15 16:05:59 +09:00
Andrii Kulian
8f1701d9dc Update ActivityOptions#setLaunchBounds() docs
Update docs to provide more info about parameter format.

Bug: 27364884
Change-Id: I04dd2e868d64d3f023fcaa4891b40b60a2f549d6
2016-03-15 00:02:59 -07:00
Keisuke Kuroyanagi
794f70f172 Merge "Add a check for misspelled span change." into nyc-dev 2016-03-15 06:47:10 +00:00
Keisuke Kuroyanagi
6e0860d959 Add a check for misspelled span change.
Previously, misspelled span is directly used in AddToDicitonary's
OnClickListener. It can crash because misspelled span can have been
updated since SuggestiosPopup is shown.
Also, AddToDictionary didn't work correctly in full screen extracted
mode. Use findEquivalentSuggestionSpan to resolve it.

Bug: 27557526
Change-Id: I51d713dbdd0c44ea2c553164b81b1123a2325aa1
2016-03-15 15:40:43 +09:00
Keisuke Kuroyanagi
c477b5830a Stop automatically creating selection action mode.
With Ic025c109539c3b5963, selection action mode is created always
when selection is made. It causes distraction in some cases.
This CL fixes this issue. This CL stops starting selection action
mode when action mode is currently not active and not intended to
restart.

Bug: 27536744
Bug: 27551819
Change-Id: I94ee66864000934a21ef0d18c1d71429c67114fa
2016-03-15 15:38:40 +09:00
Keisuke Kuroyanagi
fdfc93d770 Re-disable drag and drop in full screen extracted mode.
Drag and drop in full screen extracted mode was disabled by
Ifff4c30919bcb04f7d and re-enabled by I90d8e9f42f395b6b52.
However, related issues have not been fixed. This CL re-disables it.

Bug: 22440907
Change-Id: I753f69e170aa7e79478a5a4a3b89e4a7ef88c9e2
2016-03-15 14:47:08 +09:00
Keisuke Kuroyanagi
3e540b95d7 Merge "Fix: onExtractedDeleteText deletes unintended region." into nyc-dev 2016-03-15 05:38:06 +00:00
Keisuke Kuroyanagi
e675665afa Merge "Show SuggestionsPopup when there is a misspelled span." into nyc-dev 2016-03-15 05:35:21 +00:00