Commit Graph

317212 Commits

Author SHA1 Message Date
Rob Carr
7fa529488d Merge "ListPopupWindow: Wrap new bounds checking in targetSdk check." into oc-dev
am: 82b41e460c

Change-Id: Idbb623e64dbaf079d603c3fbb93e60e8325209fe
2017-06-22 22:25:29 +00:00
Rob Carr
82b41e460c Merge "ListPopupWindow: Wrap new bounds checking in targetSdk check." into oc-dev 2017-06-22 22:08:10 +00:00
Shubang
05c0e75d42 Merge "Change PIP notification icon" into oc-dev
am: 9f3967fee1

Change-Id: I7399fcf583823b3ab8f901c6c454a774deab4f02
2017-06-22 21:44:01 +00:00
TreeHugger Robot
9f3967fee1 Merge "Change PIP notification icon" into oc-dev 2017-06-22 21:32:03 +00:00
Wale Ogunwale
5cdcaa51ca Merge "Added more systrace points to window manager" into oc-dev
am: 182d5ec2d2

Change-Id: I91d214d202eb1883cd9298e248c0cc8a20f52ce8
2017-06-22 19:55:46 +00:00
TreeHugger Robot
182d5ec2d2 Merge "Added more systrace points to window manager" into oc-dev 2017-06-22 19:30:46 +00:00
Robert Carr
c1fdd2aa32 ListPopupWindow: Wrap new bounds checking in targetSdk check.
While a negative height is pretty silly, crashing apps on
the new version of android makes them sad.

Test: Existing CTS passes.
Bug: 62434804
Change-Id: I5fc3fc50fb6ccfa9e96f38ded4fb8e338f263f09
2017-06-22 11:54:45 -07:00
Lucas Dupin
866fc51142 Merge "Ensure icon contrast on the shelf" into oc-dev
am: d0550a9b6c

Change-Id: Ib66c544b60b47d6f2b0043055582fe854b2430d8
2017-06-22 17:36:15 +00:00
Wale Ogunwale
4958ad283f Added more systrace points to window manager
To help debug performance issues

Test: external/chromium-trace/systrace.py -t 3
Bug: 62796190
Change-Id: Ie6012a895174053c4732fb58b9365546fdb979de
2017-06-22 10:28:06 -07:00
TreeHugger Robot
d0550a9b6c Merge "Ensure icon contrast on the shelf" into oc-dev 2017-06-22 17:25:17 +00:00
Jason Monk
350cf686dd Merge "Fix ConcurrentModificationException from LocationController" into oc-dev
am: 6791bee744

Change-Id: I64736bf7e9d4898710a09ed90acd952a80977071
2017-06-22 15:45:39 +00:00
TreeHugger Robot
6791bee744 Merge "Fix ConcurrentModificationException from LocationController" into oc-dev 2017-06-22 15:39:29 +00:00
Jason Monk
b46a3c9634 Fix ConcurrentModificationException from LocationController
Test: runtest systemui
Change-Id: I0b7db7344217b3b7ad91f315100d1873e8167baf
Fixes: 62859544
2017-06-22 09:32:07 -04:00
Erik Kline
373342d9a1 Merge "Create a TetherInterfaceStateMachine when told the interface name." into oc-dev
am: be7657b038

Change-Id: Ie97a6e8176300a0b5f16d3b7fa83afc939352771
2017-06-22 11:34:36 +00:00
TreeHugger Robot
be7657b038 Merge "Create a TetherInterfaceStateMachine when told the interface name." into oc-dev 2017-06-22 11:27:35 +00:00
Narayan Kamath
416740a68a Merge "_exit(0) on clean shutdown, not _exit(1)" into oc-dev
am: 31cf02742e

Change-Id: I2120427e0f78ee85a7c9629b319f954127fc5f21
2017-06-22 10:38:15 +00:00
Narayan Kamath
31cf02742e Merge "_exit(0) on clean shutdown, not _exit(1)" into oc-dev 2017-06-22 10:32:34 +00:00
Erik Kline
e0f7e49600 Only disable Wi-Fi IP serving on specific interface, if available
am: c8b180116d

Change-Id: I5d50d9a45bb8e29bbdf0289f3e13c2006e4f4baf
2017-06-22 09:46:10 +00:00
Erik Kline
a9cde8b4fb Create a TetherInterfaceStateMachine when told the interface name.
Test: as follows
    - built
    - flashed
    - booted
    - runtest frameworks-net passes
Bug: 32163131
Bug: 62343300

Merged-In: I542e013aa19fefd3443588c9a81ee59cd669ab6f
Merged-In: I973bdc5b540cce66a9713cebfd5071ad4a4b0a08
Merged-In: I2104ecf8102c8f9541ee2d3ce6589b0081db4fe3
Change-Id: I2104ecf8102c8f9541ee2d3ce6589b0081db4fe3
(cherry picked from commit b912c50b19)
2017-06-22 18:33:56 +09:00
Erik Kline
c8b180116d Only disable Wi-Fi IP serving on specific interface, if available
Test: as follows
    - built
    - flashed
    - booted
    - runtest frameworks-net passes
Bug: 32163131
Bug: 62343300

Merged-In: Id8d9c3f67f7a850af69069abee86adfc62841b28
Merged-In: Iac19359fd8712fa6a135f31bed9f0da97b3f2977
Merged-In: I99b170ebacc4135d1a09ce1ec3d43f76c6765de4
Change-Id: Ifd9131bad20810ee24c9436d8c0df7a81fae11d5
(cherry picked from commit 218c226b08)
2017-06-22 15:36:22 +09:00
Brian Carlstrom
9377ce67a8 _exit(0) on clean shutdown, not _exit(1)
Test: m -j32 checkbuild
Bug: 36066697
Change-Id: Iaed45a86f9603badf26041212dfc5e9399bc0a0c
2017-06-21 22:15:10 -07:00
Erik Kline
9587f2f1fa Merge "Refactor TISM add/remove code" into oc-dev
am: c0af382a25

Change-Id: I4d2ceee9355a673d1c2cf6fcefe57b35bbc10fc7
2017-06-22 05:00:04 +00:00
TreeHugger Robot
c0af382a25 Merge "Refactor TISM add/remove code" into oc-dev 2017-06-22 04:52:39 +00:00
Felipe Leme
5245c1306f Merge "Autofill fixes for secondary users:" into oc-dev
am: 6358cdcd28

Change-Id: I0532ceccc3cbd39c9e4b2a5280de4eea2dc31292
2017-06-22 03:16:38 +00:00
TreeHugger Robot
6358cdcd28 Merge "Autofill fixes for secondary users:" into oc-dev 2017-06-22 03:11:24 +00:00
Erik Kline
db970be0fd Refactor TISM add/remove code
This de-duplicates all the TISM adding and teardown code.
It does not yet change the locking or threading semantics.

Test: as follows
    - built
    - flashed
    - booted
    - "runtest frameworks-net" passes
    - manual tethering of WiFi and USB start normally
Bug: 32163131
Bug: 36216864
Bug: 62343300

Merged-In: I8ed82272183022a0469011a1f993704ecf771e3f
Merged-In: Ic1bcb3ca011bdc886086f34be18409eb5b12f521
Merged-In: I44a57660d23e76a7c13368cb8f60eaeac5830a0a
Change-Id: I44a57660d23e76a7c13368cb8f60eaeac5830a0a
(cherry picked from commit 4dd9bb83e2)
2017-06-22 11:28:37 +09:00
Shubang
856493b98a Change PIP notification icon
Bug: 62823941
Test: mmm
Change-Id: Ibb5ad0d77a006e115fc7f163381d0547979e1867
2017-06-21 19:15:26 -07:00
Amith Yamasani
e47f331465 Merge "Clarify startScan API on how to get results" into oc-dev
am: 78f3a0f722

Change-Id: Ib77e6be122c2fd1da086528b13ec5c0e90103ef1
2017-06-22 01:20:32 +00:00
TreeHugger Robot
78f3a0f722 Merge "Clarify startScan API on how to get results" into oc-dev 2017-06-22 01:14:18 +00:00
Felipe Leme
2f0d132471 Autofill fixes for secondary users:
- Display the SaveUI on all users.
- Dismiss the UI when switching users.
- Fix security check on disableOwnedAutofillServicesLocked()

Test: manual verification
Change-Id: I4e9167314f1feeda618db6c57735cc31d84486c1
Fixes: 62828906
2017-06-21 17:50:51 -07:00
Michael Kwan
10efdc0abf Add isSmallBatteryDevice flag to ActivityManager.
Bug: 37351903
Change-Id: I6fed08c35474b10987388070eafb7b16e6944638
(cherry picked from commit 15eb998e65)
2017-06-22 00:12:23 +00:00
Pavel Grafov
dfdcc65dc3 Merge "Provide content description for WorkLockActivity." into oc-dev
am: f044e0b87f

Change-Id: I8f276237444fec733255e5301a55b5129e49812a
2017-06-21 21:24:46 +00:00
Pavel Grafov
f044e0b87f Merge "Provide content description for WorkLockActivity." into oc-dev 2017-06-21 21:18:37 +00:00
Rob Carr
0786991d72 Merge "Create Splash Screen context with CONTEXT_RESTRICTED." into oc-dev
am: 8bc0aa2559

Change-Id: I6c38402b2e3d686ffca50aed96e4f0345ee63140
2017-06-21 21:08:52 +00:00
Amith Yamasani
9622137f3f Clarify startScan API on how to get results
Make it clear in BluetoothLeScanner on how to get results
when starting a scan for a PendingIntent.

Bug: 38365430
Test: make offline-sdk-docs
Change-Id: I0bf88d751c89a8a478db985713357e153ac08595
2017-06-21 14:06:44 -07:00
Shreerag Jayakrishnan
24ac939dcb Merge "Removing @TestApi from inputdevice enable/disable to fix build" into oc-wear-dev 2017-06-21 21:06:06 +00:00
Rob Carr
8bc0aa2559 Merge "Create Splash Screen context with CONTEXT_RESTRICTED." into oc-dev 2017-06-21 21:01:46 +00:00
Lucas Dupin
83519da8b6 Ensure icon contrast on the shelf
Change-Id: Ie9251ae4bdb4b590ce93c7f2f092476d5f895b5a
Fixes: 62591326
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/StatusBarIconViewTest.java
2017-06-21 13:53:45 -07:00
Bill Yi
a11dcb5df2 Merge "Import translations. DO NOT MERGE" into oc-dev
am: 7c23c990f1  -s ours

Change-Id: I6608258dbf41541bd0d4c4c2ea857dcca93121ee
2017-06-21 20:25:07 +00:00
TreeHugger Robot
7c23c990f1 Merge "Import translations. DO NOT MERGE" into oc-dev 2017-06-21 20:17:41 +00:00
shreerag
86eaa4b921 Removing @TestApi from inputdevice enable/disable to fix build
Change-Id: I4f4602aeb6eb5280b70d56645122bb9fc1fab69c
2017-06-21 13:13:36 -07:00
Bill Yi
6e1601f189 Merge "Import translations. DO NOT MERGE" into oc-dev
am: 242c3c497c  -s ours

Change-Id: If90b670620769e1c4cdd4c31b1e4eee5cb762c79
2017-06-21 19:56:01 +00:00
TreeHugger Robot
242c3c497c Merge "Import translations. DO NOT MERGE" into oc-dev 2017-06-21 19:51:50 +00:00
Evan Laird
615aa80385 Merge "Fix mobile signal icon when in airplane mode" into oc-dev
am: 6a651f81b5

Change-Id: I07fd0ab9175d27de66ae4321165c710a0bf16ac5
2017-06-21 19:40:16 +00:00
Evan Laird
6a651f81b5 Merge "Fix mobile signal icon when in airplane mode" into oc-dev 2017-06-21 19:31:28 +00:00
Evan Laird
3d1aad6475 Fix mobile signal icon when in airplane mode
1. Empty state was drawing a line too thing and not dark enough to be
seen.
2. Airplane mode should be the slashed, full signal, not the
empty one

Going into airplane mode now draws the full signal, lighter than normal,
with a slash. And the empty state now has a thicker line.

Test: runtest systemui
Fixes: 62794461
Change-Id: Ic5e40d2e0f6ebe0d270129f10883a1fcb146d717
2017-06-21 15:18:06 -04:00
TreeHugger Robot
3db1627131 Merge "Adding feature: input device disable/enable." into oc-wear-dev 2017-06-21 19:13:10 +00:00
shreerag
04ef4dcac2 Adding feature: input device disable/enable.
This functionality will only be available for signed system applications.
A disable call will cause a file descriptor to the input device
driver to be closed, which in turn may cause the input device
to switch into a low-power mode.
An enable call will reopen the input device.

Bug: 30143923
Test: developed a custom apk with signature permission that
calls disable/enable on touchscreen device. Verified that
touchscreen stops working when disable is called and starts
working again when enable is called. Verified that the file
handle to the driver is closed and reopened. Verified that
the notification onInputDeviceChanged is received in the app.
CTS test - android.view.cts.InputDeviceEnabledTest

Change-Id: Ia352deb548b73559f821afd586893393d39a0696
2017-06-21 12:11:56 -07:00
Selim Cinek
b5cbffb060 Merge "Fixed a bug where the panel could be stuck" into oc-dev
am: e8dceabd98

Change-Id: Ied6a5d21db8d8de5473cc2ec5a878ae1bbbc2083
2017-06-21 19:05:34 +00:00
Selim Cinek
bf3c50acd1 Merge "Fixed a a11y regression to click notifications" into oc-dev
am: b792f98446

Change-Id: I4b371510854308fd3c7557a8e4c332a8a3e36ed9
2017-06-21 18:58:00 +00:00