311926 Commits

Author SHA1 Message Date
John Reck
2f944482ec Add missing assert that task isn't queued
Probably won't fix anything but this assert is in queue()
but not queueAtFront() and inserting a task twice is Really Bad.

Bug: 36139852
Test:  ¯\_(ツ)_/¯
Change-Id: Ida0f829eecfdd46c17c36b816528c49d12b7cf29
2017-03-27 21:38:09 +00:00
Amith Yamasani
53e100c468 Provide deprecated API to avoid build breakage
Restored onUtteranceRangeStart() temporarily as a deprecated API.

Bug: 36646809
Test: N/A
Change-Id: I7da927aca4f4ad1f5cc76564e8fdc4261849898b
2017-03-27 14:36:37 -07:00
Jakub Pawlowski
1d978329df Merge "Bluetooth GATT callback naming fix "Ext" -> "" (1/2)" am: beb8ceada8 am: cfe099b01d
am: b4e8fd65bf

Change-Id: I31be1d92cf7ad95214bf353dca20b990a280f996
2017-03-27 21:34:23 +00:00
Peter Qiu
bc3fefbacd Merge "wifi: catch UnsupportedOperationException for getMatchingWifiConfig" am: ae3bae715e
am: 78eeb9b090

Change-Id: Icf369fc41387dbd1ed854434f2d77ecd867c4532
2017-03-27 21:33:46 +00:00
Peter Qiu
78eeb9b090 Merge "wifi: catch UnsupportedOperationException for getMatchingWifiConfig"
am: ae3bae715e

Change-Id: If47b5c5fae03ad2e6a68771da893acaad743fcbd
2017-03-27 21:29:53 +00:00
Jakub Pawlowski
b4e8fd65bf Merge "Bluetooth GATT callback naming fix "Ext" -> "" (1/2)" am: beb8ceada8
am: cfe099b01d

Change-Id: I7dda88f7c2c26cbb3ae192f313dcc4bd15afd6d6
2017-03-27 21:27:25 +00:00
Jakub Pawlowski
cfe099b01d Merge "Bluetooth GATT callback naming fix "Ext" -> "" (1/2)"
am: beb8ceada8

Change-Id: Ie88e330a1d50adac8c6b83581079c6096c4d898a
2017-03-27 21:22:15 +00:00
Peter Qiu
ae3bae715e Merge "wifi: catch UnsupportedOperationException for getMatchingWifiConfig" 2017-03-27 21:21:42 +00:00
Alan Viverette
b758b3542a Merge "Avoid NPE when PopupWindow is shown while dismissing" 2017-03-27 21:21:18 +00:00
Jakub Pawlowski
beb8ceada8 Merge "Bluetooth GATT callback naming fix "Ext" -> "" (1/2)" 2017-03-27 21:15:22 +00:00
Mady Mellor
84a0f8936d Fix for edge swipe/fling to minimize
- Actually include check for fling
- Base left or right side on starting position instead of current position

Test:  Long quick swipe PIP from opposite edge of screen -> no longer minimizes
Bug:35358628
Change-Id: I7cd62b94943afe28b89a8bcb0e0cab58bc0841a9
2017-03-27 14:12:39 -07:00
Chen Xu
e30227e5b0 Merge "make carrier default app direct boot aware" am: 98ded6c9ab am: 3f26682252
am: 51742e58fc

Change-Id: Ic3f9de6063bb605c87af8d6218c0cf7306d2c5d0
2017-03-27 21:06:09 +00:00
Steven Moreland
96b14c7d78 Merge "Fix nativeProcs being null." 2017-03-27 21:03:23 +00:00
Martijn Coenen
94a0dcdde1 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
2017-03-27 21:01:34 +00:00
Chen Xu
51742e58fc Merge "make carrier default app direct boot aware" am: 98ded6c9ab
am: 3f26682252

Change-Id: Ic58ee1d881a85622ce03cc7ccbba1b2e274e8760
2017-03-27 21:00:25 +00:00
Peter Qiu
0ffb89d1d1 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
2017-03-27 13:55:34 -07:00
Chen Xu
3f26682252 Merge "make carrier default app direct boot aware"
am: 98ded6c9ab

Change-Id: I6a8f45b2839a07a9bfae23ab41a9c6ebd1c0e5e1
2017-03-27 20:54:53 +00:00
TreeHugger Robot
3ebc1b7f5a Merge "Updating to new aspect ratio limits." 2017-03-27 20:54:45 +00:00
Chen Xu
98ded6c9ab Merge "make carrier default app direct boot aware" 2017-03-27 20:45:14 +00:00
Sudheer Shanka
995d1c97ea Merge "Uncomment a test." 2017-03-27 20:40:37 +00:00
Winson Chung
6954fc9a7e Fix issue with task overlay activities not finishing.
- The task overlay activity should only exist when there are activities
  present in the task.  When the last such activity is finished, we should
  remove the whole task entirely including the task overlay.
- Exposing the task overlay apis to CTS

Bug: 36507456
Test: android.server.cts.ActivityManagerPinnedStackTests
Test: #testFinishPipActivityWithTaskOverlay
Change-Id: I1dabe7782fb6769a90d832664e8052be158041e1
2017-03-27 13:34:53 -07:00
Erik Kline
0ea70fc38b Add null check to IpManager.dump()
Test: as follows
    - built (bullhead)
    - flashed
    - booted
    - runtest frameworks-net passes
Bug: 36650508
Change-Id: I2270bec20b966de487048f0ea0c97360e242cd9d
2017-03-28 05:30:41 +09:00
Dmitry Dementyev
71fa5261d3 Add cache for Account Visibility values.
Test: cts
Bug: 36485175
Change-Id: I075b81f8b287199d51ea09dc1108748310ab846c
2017-03-27 13:22:58 -07:00
Wale Ogunwale
ff9ce0f674 Merge "Fixed logic error with setting maxAspectRatio" 2017-03-27 20:21:00 +00:00
Jason Monk
b29e0db8f8 Merge "Fix status bar visibility initialization" 2017-03-27 20:20:28 +00:00
Stephen Chen
31484af101 Remove ACTION_CONFIGURE_WIFI_SETTINGS and ACTION_WIFI_SAVED_NETWORK_SETTINGS.
ConfigureWifiSettings page will instead use WIFI_IP_SETTINGS intent.
Intent for SavedAccessPointsSettingsActivity is unused and can be
removed.

Bug: 34392691
Bug: 36516068
Test: make
Change-Id: I86547df387b41241d531e361014581d0763008ee
2017-03-27 13:18:27 -07:00
TreeHugger Robot
b3544c1565 Merge "MediaCas: rethrow MediaCas specific exception" 2017-03-27 20:17:15 +00:00
Mady Mellor
2e1387886a Disable PIP minimize and put it behind a tuner item
Test: Have PIP, try to minimize it (does not minimize).
      Enable tuner item, have PIP, try to minimize it (success!)
Bug:35358768
Change-Id: Iee9c26055decd06dc27233ff21edb6905eef9d23
2017-03-27 13:07:58 -07:00
Stephen Chen
5d0922f78a Enable Wifi Wakeup Setting by default.
Bug: 36385983
Bug: 32913119
Test: runtest --path frameworks/base/core/tests/coretests/src/android/provider/SettingsProviderTest.java
Change-Id: I99f9aea6f85675eb1c92fe16f99755117110636a
2017-03-27 13:02:57 -07:00
David Stevens
e259c2c42b Merge "Compute the focused window in display focus order" 2017-03-27 19:59:58 +00:00
TreeHugger Robot
b0aaef2892 Merge "Fixed issue with SCREEN_ORIENTATION_BEHIND not working correctly" 2017-03-27 19:58:34 +00:00
Felipe Leme
6fa8a07143 Moved Session and ViewState to its own classes.
Such separation will make it easier to maintain them...

Bug: 35707731
Test: CtsAutoFillServiceTestCases pass
Change-Id: I7164598e1ce54dca8cdb8286f65ec4baa926f98d
2017-03-27 12:34:12 -07:00
Jakub Pawlowski
d7116bea06 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
2017-03-27 19:27:57 +00:00
Lorenzo Colitti
b43504e85c Merge "Make CONNECTIVITY_USE_RESTRICTED_NETWORKS @SystemApi." am: a1e206a335 am: 37afaac70d
am: d042c3f400

Change-Id: Ic8a35c9f2d9de0b36cb7ab3f8227f0bc298d672f
2017-03-27 19:27:43 +00:00
Lorenzo Colitti
d042c3f400 Merge "Make CONNECTIVITY_USE_RESTRICTED_NETWORKS @SystemApi." am: a1e206a335
am: 37afaac70d

Change-Id: Id576f61f3ac7d1de828c870ffaf4d6ab3e1e2568
2017-03-27 19:21:19 +00:00
TreeHugger Robot
b237e442b7 Merge "TextClassifier updates" 2017-03-27 19:21:04 +00:00
Winson Chung
bd04196f8d Updating to new aspect ratio limits.
Bug: 35949789
Test: android.server.cts.ActivityManagerPinnedStackTests
Change-Id: Id47bdee0903744efb6aa3200691cd7817463aa13
2017-03-27 12:17:39 -07:00
Lorenzo Colitti
37afaac70d Merge "Make CONNECTIVITY_USE_RESTRICTED_NETWORKS @SystemApi."
am: a1e206a335

Change-Id: I71fabdff9deb0f7ba40a545090bd09ddc66994a8
2017-03-27 19:16:17 +00:00
Winson Chung
a2a3b1d7b5 Merge "Prevent cleaning up and resuming null activity when task is reparented." 2017-03-27 19:08:57 +00:00
Lorenzo Colitti
a1e206a335 Merge "Make CONNECTIVITY_USE_RESTRICTED_NETWORKS @SystemApi." 2017-03-27 19:08:25 +00:00
Michael Dooley
ff4b0fdb43 Merge "Adding a comment specifying the timebase for emergency call time" 2017-03-27 19:05:53 +00:00
TreeHugger Robot
1eee2a52b5 Merge "Fix PiP dismissing on drag away from bottom and then fling" 2017-03-27 18:59:45 +00:00
TreeHugger Robot
5e01870015 Merge "Unbind from service on app killed and dedup association requests" 2017-03-27 18:43:37 +00:00
TreeHugger Robot
81ff6ee47a Merge "Register functor draw correctly" 2017-03-27 18:36:28 +00:00
Jason Monk
b03314dad8 Merge "Clean up and cover more QS metrics" 2017-03-27 18:24:22 +00:00
David Stevens
4693956388 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
2017-03-27 11:07:22 -07:00
Wale Ogunwale
5e5a68dc06 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
2017-03-27 11:02:54 -07:00
TreeHugger Robot
735ed9b940 Merge "Fixed check for null Anchor." 2017-03-27 18:02:26 +00:00
Sudheer Shanka
deeb08fdcb 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
2017-03-27 10:57:01 -07:00
TreeHugger Robot
af4bb6864f Merge "Remove task activities from LRU list when task is reparented." 2017-03-27 17:51:19 +00:00