OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "wifi: catch UnsupportedOperationException for getMatchingWifiConfig" am: ae3ba...
Peter Qiu [Mon, 27 Mar 2017 21:38:26 +0000 (21:38 +0000)]
Merge "wifi: catch UnsupportedOperationException for getMatchingWifiConfig" am: ae3bae715e am: 78eeb9b090
am: bc3fefbacd

Change-Id: I2fa6998d854ca61aa18ef2e61ed6a7196ed0be4d

7 years agoMerge "Bluetooth GATT callback naming fix "Ext" -> "" (1/2)" am: beb8ceada8 am: cfe09...
Jakub Pawlowski [Mon, 27 Mar 2017 21:34:23 +0000 (21:34 +0000)]
Merge "Bluetooth GATT callback naming fix "Ext" -> "" (1/2)" am: beb8ceada8 am: cfe099b01d
am: b4e8fd65bf

Change-Id: I31be1d92cf7ad95214bf353dca20b990a280f996

7 years agoMerge "wifi: catch UnsupportedOperationException for getMatchingWifiConfig" am: ae3ba...
Peter Qiu [Mon, 27 Mar 2017 21:33:46 +0000 (21:33 +0000)]
Merge "wifi: catch UnsupportedOperationException for getMatchingWifiConfig" am: ae3bae715e
am: 78eeb9b090

Change-Id: Icf369fc41387dbd1ed854434f2d77ecd867c4532

7 years agoMerge "wifi: catch UnsupportedOperationException for getMatchingWifiConfig"
Peter Qiu [Mon, 27 Mar 2017 21:29:53 +0000 (21:29 +0000)]
Merge "wifi: catch UnsupportedOperationException for getMatchingWifiConfig"
am: ae3bae715e

Change-Id: If47b5c5fae03ad2e6a68771da893acaad743fcbd

7 years agoMerge "Bluetooth GATT callback naming fix "Ext" -> "" (1/2)" am: beb8ceada8
Jakub Pawlowski [Mon, 27 Mar 2017 21:27:25 +0000 (21:27 +0000)]
Merge "Bluetooth GATT callback naming fix "Ext" -> "" (1/2)" am: beb8ceada8
am: cfe099b01d

Change-Id: I7dda88f7c2c26cbb3ae192f313dcc4bd15afd6d6

7 years agoMerge "Bluetooth GATT callback naming fix "Ext" -> "" (1/2)"
Jakub Pawlowski [Mon, 27 Mar 2017 21:22:15 +0000 (21:22 +0000)]
Merge "Bluetooth GATT callback naming fix "Ext" -> "" (1/2)"
am: beb8ceada8

Change-Id: Ie88e330a1d50adac8c6b83581079c6096c4d898a

7 years agoMerge "wifi: catch UnsupportedOperationException for getMatchingWifiConfig"
Peter Qiu [Mon, 27 Mar 2017 21:21:41 +0000 (21:21 +0000)]
Merge "wifi: catch UnsupportedOperationException for getMatchingWifiConfig"

7 years agoMerge "Avoid NPE when PopupWindow is shown while dismissing"
Alan Viverette [Mon, 27 Mar 2017 21:21:09 +0000 (21:21 +0000)]
Merge "Avoid NPE when PopupWindow is shown while dismissing"

7 years agoMerge "Bluetooth GATT callback naming fix "Ext" -> "" (1/2)"
Jakub Pawlowski [Mon, 27 Mar 2017 21:15:20 +0000 (21:15 +0000)]
Merge "Bluetooth GATT callback naming fix "Ext" -> "" (1/2)"

7 years agoMerge "make carrier default app direct boot aware" am: 98ded6c9ab am: 3f26682252
Chen Xu [Mon, 27 Mar 2017 21:06:09 +0000 (21:06 +0000)]
Merge "make carrier default app direct boot aware" am: 98ded6c9ab am: 3f26682252
am: 51742e58fc

Change-Id: Ic3f9de6063bb605c87af8d6218c0cf7306d2c5d0

7 years agoMerge "Fix nativeProcs being null."
Steven Moreland [Mon, 27 Mar 2017 21:03:18 +0000 (21:03 +0000)]
Merge "Fix nativeProcs being null."

7 years agoFix nativeProcs being null.
Martijn Coenen [Mon, 27 Mar 2017 19:45:19 +0000 (12:45 -0700)]
Fix nativeProcs being null.

dumpStackTraces originally checked this. This only happens when a silent
ANR is triggerred on a process name not in NATIVE_STACKS_OF_INTEREST.

Bug: 36414311
Bug: 36652737
Test: manual
Change-Id: I24402fb2ef2e08482f866dc1086ce83c1365d7ec

7 years agoMerge "make carrier default app direct boot aware" am: 98ded6c9ab
Chen Xu [Mon, 27 Mar 2017 21:00:25 +0000 (21:00 +0000)]
Merge "make carrier default app direct boot aware" am: 98ded6c9ab
am: 3f26682252

Change-Id: Ic58ee1d881a85622ce03cc7ccbba1b2e274e8760

7 years agowifi: catch UnsupportedOperationException for getMatchingWifiConfig
Peter Qiu [Mon, 27 Mar 2017 20:45:25 +0000 (13:45 -0700)]
wifi: catch UnsupportedOperationException for getMatchingWifiConfig

On a device without Passpoint support, an UnsupportedOperationException
will be thrown when invoking WifiManager#getMatchingWifiConfig.
So catch it to avoid crash.

Bug: 36649203
Test: manually set config_wifi_hotspot2_enabled to false and verify
      Settings app doesn't crash

Change-Id: I69f37897449033da9d21edda9953ad2738f7e314

7 years agoMerge "make carrier default app direct boot aware"
Chen Xu [Mon, 27 Mar 2017 20:54:53 +0000 (20:54 +0000)]
Merge "make carrier default app direct boot aware"
am: 98ded6c9ab

Change-Id: I6a8f45b2839a07a9bfae23ab41a9c6ebd1c0e5e1

7 years agoMerge "Updating to new aspect ratio limits."
TreeHugger Robot [Mon, 27 Mar 2017 20:54:37 +0000 (20:54 +0000)]
Merge "Updating to new aspect ratio limits."

7 years agoMerge "make carrier default app direct boot aware"
Chen Xu [Mon, 27 Mar 2017 20:45:13 +0000 (20:45 +0000)]
Merge "make carrier default app direct boot aware"

7 years agoMerge "Uncomment a test."
Sudheer Shanka [Mon, 27 Mar 2017 20:40:31 +0000 (20:40 +0000)]
Merge "Uncomment a test."

7 years agoMerge "Fixed logic error with setting maxAspectRatio"
Wale Ogunwale [Mon, 27 Mar 2017 20:20:52 +0000 (20:20 +0000)]
Merge "Fixed logic error with setting maxAspectRatio"

7 years agoMerge "Fix status bar visibility initialization"
Jason Monk [Mon, 27 Mar 2017 20:20:22 +0000 (20:20 +0000)]
Merge "Fix status bar visibility initialization"

7 years agoMerge "MediaCas: rethrow MediaCas specific exception"
TreeHugger Robot [Mon, 27 Mar 2017 20:17:10 +0000 (20:17 +0000)]
Merge "MediaCas: rethrow MediaCas specific exception"

7 years agoMerge "Compute the focused window in display focus order"
David Stevens [Mon, 27 Mar 2017 19:59:53 +0000 (19:59 +0000)]
Merge "Compute the focused window in display focus order"

7 years agoMerge "Fixed issue with SCREEN_ORIENTATION_BEHIND not working correctly"
TreeHugger Robot [Mon, 27 Mar 2017 19:58:29 +0000 (19:58 +0000)]
Merge "Fixed issue with SCREEN_ORIENTATION_BEHIND not working correctly"

7 years agoBluetooth GATT callback naming fix "Ext" -> "" (1/2)
Jakub Pawlowski [Mon, 27 Mar 2017 19:14:40 +0000 (12:14 -0700)]
Bluetooth GATT callback naming fix "Ext" -> "" (1/2)

Gatt callback don't need the "Ext" postfix, as it was removed from new
API.

Test: manual
Bug: 30622771
Change-Id: I54596ffdcb818343cc313123266cfa16291c6236

7 years agoMerge "Make CONNECTIVITY_USE_RESTRICTED_NETWORKS @SystemApi." am: a1e206a335 am:...
Lorenzo Colitti [Mon, 27 Mar 2017 19:27:43 +0000 (19:27 +0000)]
Merge "Make CONNECTIVITY_USE_RESTRICTED_NETWORKS @SystemApi." am: a1e206a335 am: 37afaac70d
am: d042c3f400

Change-Id: Ic8a35c9f2d9de0b36cb7ab3f8227f0bc298d672f

7 years agoMerge "Make CONNECTIVITY_USE_RESTRICTED_NETWORKS @SystemApi." am: a1e206a335
Lorenzo Colitti [Mon, 27 Mar 2017 19:21:19 +0000 (19:21 +0000)]
Merge "Make CONNECTIVITY_USE_RESTRICTED_NETWORKS @SystemApi." am: a1e206a335
am: 37afaac70d

Change-Id: Id576f61f3ac7d1de828c870ffaf4d6ab3e1e2568

7 years agoMerge "TextClassifier updates"
TreeHugger Robot [Mon, 27 Mar 2017 19:20:58 +0000 (19:20 +0000)]
Merge "TextClassifier updates"

7 years agoUpdating to new aspect ratio limits.
Winson Chung [Mon, 6 Mar 2017 23:07:25 +0000 (15:07 -0800)]
Updating to new aspect ratio limits.

Bug: 35949789
Test: android.server.cts.ActivityManagerPinnedStackTests
Change-Id: Id47bdee0903744efb6aa3200691cd7817463aa13

7 years agoMerge "Make CONNECTIVITY_USE_RESTRICTED_NETWORKS @SystemApi."
Lorenzo Colitti [Mon, 27 Mar 2017 19:16:17 +0000 (19:16 +0000)]
Merge "Make CONNECTIVITY_USE_RESTRICTED_NETWORKS @SystemApi."
am: a1e206a335

Change-Id: I71fabdff9deb0f7ba40a545090bd09ddc66994a8

7 years agoMerge "Prevent cleaning up and resuming null activity when task is reparented."
Winson Chung [Mon, 27 Mar 2017 19:08:53 +0000 (19:08 +0000)]
Merge "Prevent cleaning up and resuming null activity when task is reparented."

7 years agoMerge "Make CONNECTIVITY_USE_RESTRICTED_NETWORKS @SystemApi."
Lorenzo Colitti [Mon, 27 Mar 2017 19:08:24 +0000 (19:08 +0000)]
Merge "Make CONNECTIVITY_USE_RESTRICTED_NETWORKS @SystemApi."

7 years agoMerge "Adding a comment specifying the timebase for emergency call time"
Michael Dooley [Mon, 27 Mar 2017 19:05:48 +0000 (19:05 +0000)]
Merge "Adding a comment specifying the timebase for emergency call time"

7 years agoMerge "Fix PiP dismissing on drag away from bottom and then fling"
TreeHugger Robot [Mon, 27 Mar 2017 18:59:41 +0000 (18:59 +0000)]
Merge "Fix PiP dismissing on drag away from bottom and then fling"

7 years agoMerge "Unbind from service on app killed and dedup association requests"
TreeHugger Robot [Mon, 27 Mar 2017 18:43:29 +0000 (18:43 +0000)]
Merge "Unbind from service on app killed and dedup association requests"

7 years agoMerge "Register functor draw correctly"
TreeHugger Robot [Mon, 27 Mar 2017 18:36:23 +0000 (18:36 +0000)]
Merge "Register functor draw correctly"

7 years agoMerge "Clean up and cover more QS metrics"
Jason Monk [Mon, 27 Mar 2017 18:24:16 +0000 (18:24 +0000)]
Merge "Clean up and cover more QS metrics"

7 years agoCompute the focused window in display focus order
David Stevens [Fri, 24 Mar 2017 20:04:00 +0000 (13:04 -0700)]
Compute the focused window in display focus order

A WindowContainer's children are sorted so the focused child is at the
end of the list, so RootWindowContainer needs to iterate from end to
start when looking for the focused window.

Bug: 36590788
Test: DisplayContentTests#testFocusedWindowMultipleDisplays
Change-Id: I56e6b7d2054bc1e74b54a4f99706a08d278fa2e1

7 years agoFixed issue with SCREEN_ORIENTATION_BEHIND not working correctly
Wale Ogunwale [Sat, 25 Mar 2017 00:36:38 +0000 (17:36 -0700)]
Fixed issue with SCREEN_ORIENTATION_BEHIND not working correctly

If an app specifies SCREEN_ORIENTATION_BEHIND, then use the orientation
of the app behind it regardless of the visibility state of the app
behind.

Fixes: 35281868
Test: bit FrameworksServicesTests:com.android.server.wm.WindowContainerTests
Test: bit FrameworksServicesTests:com.android.server.wm.AppWindowTokenTests
Test: bit FrameworksServicesTests:com.android.server.wm.TaskStackTests
Change-Id: Ieba4e4bb1a7f47cd6f082491d37fcabcf5bd5199

7 years agoMerge "Fixed check for null Anchor."
TreeHugger Robot [Mon, 27 Mar 2017 18:02:21 +0000 (18:02 +0000)]
Merge "Fixed check for null Anchor."

7 years agoUncomment a test.
Sudheer Shanka [Fri, 24 Mar 2017 22:53:14 +0000 (15:53 -0700)]
Uncomment a test.

It was commented earlier because of a crash. Since that issue has been
fixed, uncomment the test.

Bug: 27803922
Test: runtest -c com.android.server.am.ActivityManagerServiceTest frameworks-services
Change-Id: I5f2b1b0bffe032633f42c8c34ed8a7ae5a3dfc10

7 years agoMerge "Remove task activities from LRU list when task is reparented."
TreeHugger Robot [Mon, 27 Mar 2017 17:51:15 +0000 (17:51 +0000)]
Merge "Remove task activities from LRU list when task is reparented."

7 years agoMerge "Move retention length of users' chooser selections to SystemProperties, to...
Kang Li [Mon, 27 Mar 2017 17:38:57 +0000 (17:38 +0000)]
Merge "Move retention length of users' chooser selections to SystemProperties, to meet CDD requirement."

7 years agoAdding a comment specifying the timebase for emergency call time
mike dooley [Thu, 9 Mar 2017 20:58:42 +0000 (12:58 -0800)]
Adding a comment specifying the timebase for emergency call time

Test: none
Bug: 35767700
Change-Id: Idac16da57d0a9f21804f9c515974d269c012796a

7 years agoFixed logic error with setting maxAspectRatio
Wale Ogunwale [Mon, 27 Mar 2017 16:16:38 +0000 (09:16 -0700)]
Fixed logic error with setting maxAspectRatio

Ignore maxAspectRatio values less than 1.0 and set it to 0 which
means use device aspect ratio.

Change-Id: Ib2c76f6232e3f7521a1a4565d7c0c9e1de9c9eac
Fixes: 36606641
Test: cts/.../run-test CtsAppTestCases android.app.cts.AspectRatioTests

7 years agoMerge "Replace possibly-expensive size() == 0 with isEmpty()"
TreeHugger Robot [Mon, 27 Mar 2017 17:15:20 +0000 (17:15 +0000)]
Merge "Replace possibly-expensive size() == 0 with isEmpty()"

7 years agoFix PiP dismissing on drag away from bottom and then fling
Mady Mellor [Wed, 22 Mar 2017 00:45:00 +0000 (17:45 -0700)]
Fix PiP dismissing on drag away from bottom and then fling

Adds two flags to watch for movement outside of the starting area of the
gesture, one for dismissing and one for minimizing.

Test: - Have PiP at bottom of screen, drag to top and fling down (does not
        dismiss)
      - Have PiP at left or right edge of screen, drag PiP to opposite
        edge and fling to other side (no longer minimizes)
Bug: 35358628

Change-Id: I007e2c2c688254dbe1abaecdedc28e281278def8

7 years agoTextClassifier updates
Abodunrinwa Toki [Fri, 24 Mar 2017 21:43:13 +0000 (21:43 +0000)]
TextClassifier updates

- Increase the size of the text sent as context to the classifier
- Pass regex match hints to the classifer

Test: Build still works. Regex hints logged correctly. The hints won't
matter until we've actually passed in this values to native code. Native
library test will be written and I've got a tracker bug to write more robust Java tests.

Bug: 35416389
Bug: 36584397

Change-Id: I29e56189b388b36dc0cc7a8bb13ef237ff55be7b

7 years agoFixed check for null Anchor.
Felipe Leme [Mon, 27 Mar 2017 16:33:23 +0000 (09:33 -0700)]
Fixed check for null Anchor.

It was checking if the weak reference pointee was null, but not for a null
weak reference per se.

Fixes: 36643768
Test: manual verification
Test: CtsAutoFillServiceTestCases pass

Change-Id: I106dfd4a91ff1d45f8cb3141a992b06cbe460367

7 years agoFix status bar visibility initialization
Jason Monk [Fri, 24 Mar 2017 15:26:35 +0000 (11:26 -0400)]
Fix status bar visibility initialization

Make sure it starts up to everything showing and that the StatusBar
calculates the bar mades after it is attached.

There is still a bug where the behind scrim is showing during SUW,
but this fixes many of the issues besides that case.

Test: visual
Change-Id: I93314c607e374c97d5c06f936ef8b7e07e057648
Bug: 36407135

7 years agoClean up and cover more QS metrics
Jason Monk [Thu, 16 Mar 2017 15:53:40 +0000 (11:53 -0400)]
Clean up and cover more QS metrics

Change-Id: I4ab5e54398024c8b16ca8223f0639aadcdef4377
Fixes: 34801532
Test: runtest systemui

7 years agoMerge "WatchDog: dump hal pids when killing a process."
TreeHugger Robot [Mon, 27 Mar 2017 16:35:55 +0000 (16:35 +0000)]
Merge "WatchDog: dump hal pids when killing a process."

7 years agoMerge "Only change bounds if new activity is being added to InTask"
Yorke Lee [Mon, 27 Mar 2017 16:34:29 +0000 (16:34 +0000)]
Merge "Only change bounds if new activity is being added to InTask"

7 years agoMerge "Fix font golden image using Oracle JDK"
TreeHugger Robot [Mon, 27 Mar 2017 15:57:16 +0000 (15:57 +0000)]
Merge "Fix font golden image using Oracle JDK"

7 years agoMerge "Store the number of saved networks in WifiTracker."
TreeHugger Robot [Mon, 27 Mar 2017 15:48:54 +0000 (15:48 +0000)]
Merge "Store the number of saved networks in WifiTracker."

7 years agoMerge "Add a new "virtual disk" feature."
Jeff Sharkey [Mon, 27 Mar 2017 15:22:47 +0000 (15:22 +0000)]
Merge "Add a new "virtual disk" feature."

7 years agoMove retention length of users' chooser selections to SystemProperties,
Kang Li [Sat, 25 Mar 2017 00:29:18 +0000 (17:29 -0700)]
Move retention length of users' chooser selections to SystemProperties,
to meet CDD requirement.

bug: 33423136
Test: manual - shared images in Camera. More CTS and GTS tests to be
added.

Change-Id: I0e0c759bec11137e2290f4a43a92be8e97eef022

7 years agoWatchDog: dump hal pids when killing a process.
Steven Moreland [Tue, 21 Mar 2017 19:52:16 +0000 (12:52 -0700)]
WatchDog: dump hal pids when killing a process.

Test: `adb shell am hang --allow-restart` -> Watchdog dumps
  hal traces (eventually)
Bug: 36414311
Change-Id: I5143cedf3e5ab4695d2507a29993e748f6de17d5

7 years agoMerge "TextClassifier cleanup."
TreeHugger Robot [Mon, 27 Mar 2017 14:51:08 +0000 (14:51 +0000)]
Merge "TextClassifier cleanup."

7 years agoMerge "Handle case where canvas is 0x0 for shadows"
Diego Perez [Mon, 27 Mar 2017 14:28:52 +0000 (14:28 +0000)]
Merge "Handle case where canvas  is 0x0 for shadows"

7 years agoMerge "Update settings to use latest IDs for zones" am: c75dbe9d9c am: 0f3235a167
Neil Fuller [Mon, 27 Mar 2017 14:23:37 +0000 (14:23 +0000)]
Merge "Update settings to use latest IDs for zones" am: c75dbe9d9c am: 0f3235a167
am: 2a3c633d49  -s ours

Change-Id: Ibc4d5dea60639ba1504290948de4675aaf6dbb17

7 years agoMerge "Update settings to use latest IDs for zones" am: c75dbe9d9c
Neil Fuller [Mon, 27 Mar 2017 14:17:33 +0000 (14:17 +0000)]
Merge "Update settings to use latest IDs for zones" am: c75dbe9d9c
am: 0f3235a167

Change-Id: I0a7c8e33d84995b36793b2ed3485f985bc251bc5

7 years agoMerge "Update settings to use latest IDs for zones"
Neil Fuller [Mon, 27 Mar 2017 14:12:35 +0000 (14:12 +0000)]
Merge "Update settings to use latest IDs for zones"
am: c75dbe9d9c

Change-Id: If3708653ad78fb38e57508c4d8fac9dd5bffc2c1

7 years agoMerge "Update settings to use latest IDs for zones"
Treehugger Robot [Mon, 27 Mar 2017 14:06:34 +0000 (14:06 +0000)]
Merge "Update settings to use latest IDs for zones"

7 years agoFix font golden image using Oracle JDK
Diego Perez [Mon, 27 Mar 2017 13:19:43 +0000 (14:19 +0100)]
Fix font golden image using Oracle JDK

Test: Fixes test
Change-Id: Ie90d55ee73d6342524ba2b8b267d190cb5218fc8

7 years agoMerge "add alert and reason enums"
TreeHugger Robot [Mon, 27 Mar 2017 13:01:34 +0000 (13:01 +0000)]
Merge "add alert and reason enums"

7 years agoMerge "Create NotificationChannels in SystemUI per-user"
TreeHugger Robot [Mon, 27 Mar 2017 12:55:02 +0000 (12:55 +0000)]
Merge "Create NotificationChannels in SystemUI per-user"

7 years agoUpdate settings to use latest IDs for zones
Neil Fuller [Thu, 23 Mar 2017 14:46:52 +0000 (14:46 +0000)]
Update settings to use latest IDs for zones

Various zones in timezones.xml were being identified by old
IDs. The settings picker and setup wizard uses the exact
ID when pre-selecting the user's current zone. Since the
autodetection uses the new IDs in places like Buenos
Aires users would not have the correct zone pre-selected
during setup.

Thanks to Marcio Ikeda of LG for the report.

Other legacy IDs found with:

for TZ in `grep 'id=' timezones.xml \
    | awk -F\" '{ print $2 }'`; do \
grep ${TZ} ~/Downloads/tzdata2016g/zone.tab > /dev/null; \
if (( $? != 0 )); then echo Bad: ${TZ}; fi; \
done

New IDs found using tzdata NEWS and "backward" file.

Test: Manual testing: selection of the zone in the settings
Bug: 36469833
(cherry picked from commit b4d003da66beb414e8e7fcec94a82a53027dbbfa)
Merged-In: I8c20494a48870cdc600854756061e86db730e14a
Change-Id: I829a70921eb13b763b5446820c87672615f2524d

7 years agoMerge "Update settings to use latest IDs for zones"
Neil Fuller [Mon, 27 Mar 2017 12:28:26 +0000 (12:28 +0000)]
Merge "Update settings to use latest IDs for zones"

7 years agoMerge "Updating font test after the TextView fix"
TreeHugger Robot [Mon, 27 Mar 2017 11:12:55 +0000 (11:12 +0000)]
Merge "Updating font test after the TextView fix"

7 years agoMerge "Add support for key-value packages to adb backup/restore."
Michal Karpinski [Mon, 27 Mar 2017 09:28:00 +0000 (09:28 +0000)]
Merge "Add support for key-value packages to adb backup/restore."

7 years agoMerge "Revert "Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces...
Joel Scherpelz [Mon, 27 Mar 2017 05:35:41 +0000 (05:35 +0000)]
Merge "Revert "Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces"" am: 63d26caa38 am: 84c2fb2070
am: c3e0dcf082

Change-Id: I9a48897312a785ea7e0338aa68c8bb4877a741e6

7 years agoMerge "Revert "Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces...
Joel Scherpelz [Mon, 27 Mar 2017 05:29:02 +0000 (05:29 +0000)]
Merge "Revert "Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces"" am: 63d26caa38
am: 84c2fb2070

Change-Id: I6601d7a30e3eabc3e3929a02f415ba620a2b5c28

7 years agoMerge "Revert "Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces""
Joel Scherpelz [Mon, 27 Mar 2017 05:24:09 +0000 (05:24 +0000)]
Merge "Revert "Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces""
am: 63d26caa38

Change-Id: I367506eee558dbd7abeeabf09716f7024c2e43d8

7 years agoMerge "Revert "Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces""
Joel Scherpelz [Mon, 27 Mar 2017 05:17:20 +0000 (05:17 +0000)]
Merge "Revert "Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces""

7 years agoRevert "Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces"
Joel Scherpelz [Fri, 24 Mar 2017 02:39:14 +0000 (02:39 +0000)]
Revert "Set accept_ra_rt_info_max_plen to 64 before enabling IPv6 interfaces"

On second thought, let's set accept_ra_rt_info_m**_plen in
Netd (InterfaceController::initializeAll())

This reverts commit 25870a2c9effd7a7d31c0678c34a6e952b2d56a1.

Change-Id: I22b000623bb852e375385d4aae789d007e84ba3d

7 years agoMerge "Send storage broadcasts to manifest receivers."
TreeHugger Robot [Sun, 26 Mar 2017 21:59:19 +0000 (21:59 +0000)]
Merge "Send storage broadcasts to manifest receivers."

7 years agoMerge "Another buggy app is already targeting O."
TreeHugger Robot [Sun, 26 Mar 2017 21:56:46 +0000 (21:56 +0000)]
Merge "Another buggy app is already targeting O."

7 years agoSend storage broadcasts to manifest receivers.
Jeff Sharkey [Sun, 26 Mar 2017 20:34:47 +0000 (14:34 -0600)]
Send storage broadcasts to manifest receivers.

Bug: 35316141
Test: builds, boots
Change-Id: I50998416f189a7f7662ba59ad5a6b6cacf114cf2

7 years agoAnother buggy app is already targeting O.
Jeff Sharkey [Sun, 26 Mar 2017 20:15:19 +0000 (14:15 -0600)]
Another buggy app is already targeting O.

Bug: 36612878
Test: builds, boots
Change-Id: I161a58bf972a0af327fb216d041a7e46d33c0d2e

7 years agoAdd a new "virtual disk" feature.
Jeff Sharkey [Sun, 26 Mar 2017 05:14:06 +0000 (23:14 -0600)]
Add a new "virtual disk" feature.

It's extremely difficult to test storage related logic on devices
that don't have physical SD card slots.  So to support better
debugging and testing, add a new "virtual disk" feature which mounts
a 512MB file through loop device.

Also move ParcelFileDescriptor.open() over to using Os.open() so
that it gets StrictMode treatment.

Bug: 34903607
Test: builds, boots, virtual disk works
Change-Id: I072a3a412cfcc8a2a3472919b7273a1ed794fd98

7 years agoMerge "Add logging constant for reset dashboard page."
TreeHugger Robot [Sat, 25 Mar 2017 18:17:14 +0000 (18:17 +0000)]
Merge "Add logging constant for reset dashboard page."

7 years agoMerge "Update AMS to use NetworkManagementInternal.isNetworkRestrictedForUid."
Sudheer Shanka [Sat, 25 Mar 2017 08:01:09 +0000 (08:01 +0000)]
Merge "Update AMS to use NetworkManagementInternal.isNetworkRestrictedForUid."

7 years agoMerge "Add NetworkManagementInternal.isNetworkRestrictedForUid."
Sudheer Shanka [Sat, 25 Mar 2017 08:00:35 +0000 (08:00 +0000)]
Merge "Add NetworkManagementInternal.isNetworkRestrictedForUid."

7 years agoMerge "MediaFrameworkTest: don't set surface if video format is unsupported"
Wonsik Kim [Sat, 25 Mar 2017 05:34:21 +0000 (05:34 +0000)]
Merge "MediaFrameworkTest: don't set surface if video format is unsupported"

7 years agoMerge "Target selection for Accessibility button"
TreeHugger Robot [Sat, 25 Mar 2017 04:04:10 +0000 (04:04 +0000)]
Merge "Target selection for Accessibility button"

7 years agoMerge "Prevent inclusion of null KeyphraseMetadata in info map."
TreeHugger Robot [Sat, 25 Mar 2017 02:50:32 +0000 (02:50 +0000)]
Merge "Prevent inclusion of null KeyphraseMetadata in info map."

7 years agoMerge "Revert "Enable Wifi Wakeup Setting by default.""
Guang Zhu [Sat, 25 Mar 2017 02:27:03 +0000 (02:27 +0000)]
Merge "Revert "Enable Wifi Wakeup Setting by default.""

7 years agoRevert "Enable Wifi Wakeup Setting by default."
Guang Zhu [Sat, 25 Mar 2017 02:26:24 +0000 (02:26 +0000)]
Revert "Enable Wifi Wakeup Setting by default."

Bug: 36385983
Bug: 32913119
Bug: 36604943

This reverts commit abb947ac24b316a188965c341599973a1f7a3de9.

Change-Id: I484534dd6c24f5b2c2839781fc6a71d9e976a859

7 years agoTarget selection for Accessibility button
Casey Burkhardt [Fri, 24 Mar 2017 17:07:20 +0000 (10:07 -0700)]
Target selection for Accessibility button

Allows for selecting a single accessibility service or feature
to be triggered by the accessibility button in the navigation bar

Bug: 34720082
Test: Manual
Change-Id: I320febede0398b1eff38a87d4db31fd7dfc53062

7 years agoAdd a default Surface to the VR Virtual Display.
Santos Cordon [Wed, 22 Mar 2017 00:05:36 +0000 (17:05 -0700)]
Add a default Surface to the VR Virtual Display.

Uses ImageReader as a do-nothing Surface to ensure the Virtual Display
gets passed through to SurfaceFlinger.

Without a Surface, the Virtual Display never makes it through the
android system to SurfaceFlinger. This change is needed to get the
Virtual Display recognized in the Flinger layers.

Test: 'setprop vr_virtualdisplay true' to enable virtual displays.
'setprop vr_debug_vd_receiver true' and shell restart for the test app.

Bug: 36491910
Change-Id: I2bf2cb4035dcf04484b7fb0bec61671864069335

7 years agoMerge "Make auto-fill UI robust"
Felipe Leme [Sat, 25 Mar 2017 00:36:38 +0000 (00:36 +0000)]
Merge "Make auto-fill UI robust"

7 years agoRegister functor draw correctly
Chris Craik [Sat, 25 Mar 2017 00:00:39 +0000 (17:00 -0700)]
Register functor draw correctly

Bug: 36602041
Test: existing tests still pass

Change-Id: I9f385da89e9e49e562031578a02f13a68697e0df

7 years agoAdd support for key-value packages to adb backup/restore.
Johan Toras Halseth [Fri, 3 Mar 2017 15:37:43 +0000 (15:37 +0000)]
Add support for key-value packages to adb backup/restore.

For adding CTS tests for packages having key-value backup agents, we add
support for key-value backups to the adb backup/restore command.
Previously, packages not supporting fullbackup would just be skipped on
this command. Now, by adding the -keyvalue flag to the adb backup command,
packages supporting key-value will also be added to the resulting
tarball. Similarly, if the tarball being supplied to adb restore
contains data from key-value packages, it will be restored.

This will later be utilized for writing CTS tests for such packages.

Test: adb backup -includekeyvalue -all && adb restore backup.ab

Change-Id: I7b4ccfb7072d01d29a888952145d7cce90a4f59e

7 years agoMerge "Update hidden WifiManager API."
TreeHugger Robot [Fri, 24 Mar 2017 23:48:05 +0000 (23:48 +0000)]
Merge "Update hidden WifiManager API."

7 years agoMerge "Use resolved ActivityInfo to set instant app installer"
TreeHugger Robot [Fri, 24 Mar 2017 23:13:56 +0000 (23:13 +0000)]
Merge "Use resolved ActivityInfo to set instant app installer"

7 years agoMerge "Collect background stats: bluetooth, wifi, sensors"
TreeHugger Robot [Fri, 24 Mar 2017 23:04:02 +0000 (23:04 +0000)]
Merge "Collect background stats: bluetooth, wifi, sensors"

7 years agoMerge "Fix companion device feature presence check"
TreeHugger Robot [Fri, 24 Mar 2017 22:58:11 +0000 (22:58 +0000)]
Merge "Fix companion device feature presence check"

7 years agoMerge "Added support for maxAspectRatio manifest attribute."
TreeHugger Robot [Fri, 24 Mar 2017 22:42:08 +0000 (22:42 +0000)]
Merge "Added support for maxAspectRatio manifest attribute."

7 years agoMerge "Restructure a11y shortcut settings"
Phil Weaver [Fri, 24 Mar 2017 22:31:12 +0000 (22:31 +0000)]
Merge "Restructure a11y shortcut settings"

7 years agoMerge "Remove "Allow persistent changes to the vendor overlay theme""
TreeHugger Robot [Fri, 24 Mar 2017 22:25:16 +0000 (22:25 +0000)]
Merge "Remove "Allow persistent changes to the vendor overlay theme""