Commit Graph

66713 Commits

Author SHA1 Message Date
TreeHugger Robot
56ff000782 Merge "Disable RescueParty in debug/lab environments." 2017-01-27 00:14:27 +00:00
Amith Yamasani
dacf5e522e Merge "Add NPE check before stopping profiler" 2017-01-26 23:04:07 +00:00
Amith Yamasani
b1684439b5 Add NPE check before stopping profiler
During crash scenarios, stopProfiling() could be called early.

Change-Id: I6ef78a47e3431dd7c41198ec29d40ebef3928c6a
Fixes: 34744398
Test: N/A
2017-01-26 14:58:26 -08:00
Soonil Nagarkar
6c72a326bb Merge "Add background location throttling whitelist support." 2017-01-26 22:51:35 +00:00
Jeff Sharkey
cdee83a614 Disable RescueParty in debug/lab environments.
We need to strike a balance between rescuing devices of real users
in the field, while also not interfering with debugging or testing
use-cases.

This change uses "charging via USB" as a signal that the device is
under active development, or is in a lab environment.  We could try
checking for an adb connection, but UsbDebuggingManager isn't
started until much later in the boot, so BatteryManager is our best
chance of detecting this case.

Note that we continue to always recover "user" builds, and we never
recover "eng" builds.

Test: builds, boots, skips when plugged in over USB
Bug: 34722552
Change-Id: Ib095482a2ed84e8c5dfb3c71d5f9b88457c2b5e6
2017-01-26 15:29:42 -07:00
Sunny Goyal
33d9bc529e Merge "Adding AppWidgetManager.isRequestPinAppWidgetSupported" 2017-01-26 22:22:55 +00:00
TreeHugger Robot
4e231da7fe Merge "Minor javadoc cleanup." 2017-01-26 22:18:05 +00:00
TreeHugger Robot
5c7700f8b7 Merge "Create Settings Flags to Disable Scoring UI changes." 2017-01-26 22:07:17 +00:00
Amith Yamasani
eea27893c1 Merge "Clear up /data/misc_ce/user folder on delete and reboot" 2017-01-26 20:57:59 +00:00
Doris Liu
1f6c3fb286 Merge "Work around a bug in an An app" 2017-01-26 20:56:51 +00:00
Jeff Schumacher
b3ecbe1fa1 Merge "Make ACTION_APP_NOTIFICATION_SETTINGS a @SystemApi" 2017-01-26 20:53:17 +00:00
Amith Yamasani
a28071306e Clear up /data/misc_ce/user folder on delete and reboot
Clean up the folder to avoid leaving residue behind when
a user is removed. This was causing issues with reusing
the userid. Also check on reboot for incomplete cleanup
and remove the folders.

Change-Id: Icd21d2669249d5f87032ef0fe95bad49537fa477
Fixes: 34736064
Test: Manual
2017-01-26 12:36:55 -08:00
Doris Liu
66c564e390 Work around a bug in an An app
An app has Animators (NoPauseAnimatorWrapper) that does not
check their listeners against null before cloning. The previous
implementation of AnimatorSet has masked this issue. But the
underlying bug should be fixed in this app.

For now, work around the bug by adding a listener to all the child
animators.

BUG: 34736819
Test: Manual

Change-Id: I968450aab62cf5d308e3b64e76dcf018178af67e
2017-01-26 12:21:20 -08:00
Sundeep Ghuman
e869d83ea8 Create Settings Flags to Disable Scoring UI changes.
When disabled, this will prevent badges from being shown in the status
bar or wifi picker as well as prevent access points in the picker from
being rearranged based on ranking scores.

Fix missing permission dropped from previous CL to run
NetworkControllerWifiTest and refactored tests to enable new setting.

Bug: 34712533
Test: runtest --path
frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/WifiTrackerTest.java
and runtest --path
frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerWifiTest.java

Change-Id: I79c97f2205ebb70c0f7f5b1f66f7207055e5769b
2017-01-26 12:09:04 -08:00
TreeHugger Robot
ff73dd9c60 Merge "Splitscreen for minimized state that works with resizable launchers" 2017-01-26 20:07:07 +00:00
Pavlin Radoslavov
02e806550c Merge "Integration of the AAC codec for A2DP source" am: 22f97c83fb am: f23e80bb9b am: d364208388
am: 78798cc13d

Change-Id: Ic645f9ee2eb090fc805a25a1449642dad021db4e
2017-01-26 19:42:16 +00:00
TreeHugger Robot
5469b3d323 Merge "Add a hidden flag to control Settings UI" 2017-01-26 19:36:33 +00:00
TreeHugger Robot
325026dd5c Merge "allow clearing fields for LogMaker reuse" 2017-01-26 19:33:46 +00:00
Pavlin Radoslavov
78798cc13d Merge "Integration of the AAC codec for A2DP source" am: 22f97c83fb am: f23e80bb9b
am: d364208388

Change-Id: Ice6067732c4a94d30410a8f90cbea51b869539eb
2017-01-26 19:31:07 +00:00
Jeremy Joslin
8077e15563 Minor javadoc cleanup.
Test: none
Change-Id: Iaf1206767a6d0dc7a045a8fd6dc2a992ca6f3f1b
2017-01-26 11:30:37 -08:00
Pavlin Radoslavov
d364208388 Merge "Integration of the AAC codec for A2DP source" am: 22f97c83fb
am: f23e80bb9b

Change-Id: If2d85eba17f7ece5b3d19e3ee8fc86b7cf9bc062
2017-01-26 19:25:37 +00:00
Pavlin Radoslavov
f23e80bb9b Merge "Integration of the AAC codec for A2DP source"
am: 22f97c83fb

Change-Id: I22838db2b87f83a3832f78d74d08a6f988264284
2017-01-26 19:20:08 +00:00
TreeHugger Robot
6ee80f3a65 Merge "Change configuration's color mode based on the display's color mode" 2017-01-26 18:56:23 +00:00
Matthew Ng
e15352e516 Splitscreen for minimized state that works with resizable launchers
If a launcher is resizable, going to minimized mode (dock task and then
press home) would show a cropped height of the task at the top in a
minimized state and the fullscreen stack would show the home launcher
which takes the rest of the remaining height. If the launcher is not
resizable, it will default the original behavior.

To enable this in a launcher, add android:resizeableActivity="true" in
the AndroidManifest.xml in the <application/> tag.

Test: manual - rotating while minimized, minimizing using dragging task
or holding overview nav button, installing resizable launcher with a
non-resizable launcher
Fixes: 32504542
Change-Id: Idf4015b40f9bec81b70f146f0f2d7df8ccfb4cf0
2017-01-26 10:31:50 -08:00
TreeHugger Robot
9e77aefe9c Merge "[Frameworks] Add an 'am' cmd option to enable streaming in profiling." 2017-01-26 18:08:40 +00:00
Chris Wren
8b49873764 allow clearing fields for LogMaker reuse
Bug: 34705522
Test: runtest --path frameworks/base/core/tests/coretests/src/android/metrics
Change-Id: I00a1ef279740c890ff8b059be97c4463c9f1af0e
2017-01-26 13:01:26 -05:00
songchenxi
825f69a5e6 Add a hidden flag to control Settings UI
This flag is to enable link to permission in location settings UI
Test: A new string value added

Bug: 34400189
Change-Id: Ie2adeba9634a0e2426b28683da09ad1765b25a3d
2017-01-26 09:33:26 -08:00
Pavlin Radoslavov
b33bd5bc2e Integration of the AAC codec for A2DP source
Test: A2DP streaming to AAC headsets
Bug: 30958229
Change-Id: I1b530f1c5c495b8231fd68bed788d4567096683d
2017-01-26 09:06:02 -08:00
Geoffrey Pitsch
60eef134af Merge "New constructor for Notification.Builder takes a channelId." 2017-01-26 14:15:16 +00:00
TreeHugger Robot
132dffbc83 Merge "Animate starting work challenge from work lock" 2017-01-26 12:49:27 +00:00
Dmitry Dementyev
7b5bbb5509 Merge "Implement Account Discovery API." 2017-01-26 07:53:59 +00:00
TreeHugger Robot
35089c466e Merge "Revert "Revert "Remove View.setTooltip/getTooltip""" 2017-01-26 07:39:51 +00:00
TreeHugger Robot
bcf3b70371 Merge "Adding an api for apps to check whether they can install apps" 2017-01-26 07:35:33 +00:00
TreeHugger Robot
eb30016ad4 Merge "Implement pointer capture API" 2017-01-26 07:22:24 +00:00
TreeHugger Robot
6cc3e76ad9 Merge "Do not remove file_cache when exiting demo mode" 2017-01-26 06:43:14 +00:00
Doris Liu
d5bb985188 Merge "Refine the comparator for the animation event sorting" 2017-01-26 06:38:33 +00:00
Android Build Merger (Role)
cefb76ad2e Merge "Fix @links in reference docs. am: 54de77470d am: ab978c035e am: 28ba4722a9 am: 9b21265b2c" 2017-01-26 04:50:16 +00:00
Elliot Waite
0ce4b0e4c3 Fix @links in reference docs. am: 54de77470d am: ab978c035e am: 28ba4722a9
am: 9b21265b2c

Change-Id: If246ebdb36cf2832d5a6c42cbe752e290b6fb6e8
2017-01-26 04:49:33 +00:00
TreeHugger Robot
de3b86e73e Merge "Add notification channel groups." 2017-01-26 04:49:31 +00:00
Elliot Waite
9b21265b2c Fix @links in reference docs. am: 54de77470d am: ab978c035e
am: 28ba4722a9

Change-Id: I98177a8cf0a20677e140406bb7371474ca259e5b
2017-01-26 04:44:54 +00:00
Elliot Waite
28ba4722a9 Fix @links in reference docs. am: 54de77470d
am: ab978c035e

Change-Id: If0d0613362e0ea95cf48eaf9a16d3eea48b589ea
2017-01-26 04:39:57 +00:00
Elliot Waite
a54b54f50c Merge "Fix @see tag." 2017-01-26 04:37:37 +00:00
Elliot Waite
ab978c035e Fix @links in reference docs.
am: 54de77470d

Change-Id: Id38c30bad13d6b61ed504a06471b9f197b360f7b
2017-01-26 04:34:57 +00:00
Doris Liu
40e8469789 Refine the comparator for the animation event sorting
BUG: 34719156
Test: manual
Change-Id: Iad96967c8ee6a3b3b661fb9de4e750d7b935b3f7
2017-01-25 19:40:51 -08:00
Ta-wei Yen
51a403525f Merge "Add getVisualVoicemailPackageName() Make NMR2 voicemail columns public" 2017-01-26 03:33:33 +00:00
Jeff Schumacher
dc53009845 Make ACTION_APP_NOTIFICATION_SETTINGS a @SystemApi
Bug:33022750
Test: Manual
Change-Id: Ia01a5ac3ea4ca0c59516ec47185740869aeb984a
2017-01-25 18:58:36 -08:00
Jorim Jaggi
c710accde0 Merge "Flip task snapshot flag" 2017-01-26 02:24:44 +00:00
TreeHugger Robot
ca19e3278b Merge changes I818e8db9,Ie24468be
* changes:
  Added a new API to colorize notifications
  Modified the interpolators when opening an ambient notification
2017-01-26 02:06:06 +00:00
Dmitry Dementyev
01985ff6d2 Implement Account Discovery API.
Inludes temporary flow for notifications filtered by accountType
Bug: 33046496
Test: cts tests, manual tests.
Change-Id: I2d767030e851579a0666efd7e243a1239af740c7
2017-01-25 17:59:47 -08:00
TreeHugger Robot
b66cfe8a88 Merge "Added support to authentication." 2017-01-26 01:35:39 +00:00