Commit Graph

80572 Commits

Author SHA1 Message Date
TreeHugger Robot
e9b60f2cd3 Merge "Add setupwizard personalisation state to Settings" into pi-dev 2018-03-19 21:26:37 +00:00
TreeHugger Robot
036a2409fc Merge "Dispatching display list recreations also to transient views" into pi-dev 2018-03-19 21:09:31 +00:00
Adam Powell
fa38f238b1 Merge "Add factory methods for async Handlers" into pi-dev 2018-03-19 21:09:01 +00:00
TreeHugger Robot
96e680cb90 Merge "Small fixes to StatsManager API." into pi-dev 2018-03-19 21:04:39 +00:00
TreeHugger Robot
dba47fcd09 Merge "Atoms: Mobile Connection" into pi-dev 2018-03-19 20:45:55 +00:00
TreeHugger Robot
89b182890c Merge "SurfaceView: Expose hook for subclass to position child surfaces." into pi-dev 2018-03-19 20:32:35 +00:00
Tracy Zhou
017f44be88 Merge "Move default pip position to right above the shelf." into pi-dev 2018-03-19 20:15:14 +00:00
TreeHugger Robot
e24c95fac5 Merge "Fixed isVisibleToUserForAutofill() again." into pi-dev 2018-03-19 19:57:14 +00:00
TreeHugger Robot
b3aec698e8 Merge "Revert "Make PrecomputedText Spannable for supporting selection"" into pi-dev 2018-03-19 19:02:34 +00:00
TreeHugger Robot
a96583edf6 Merge "Cosmetic changes on Field Classification TODOs and docs." into pi-dev 2018-03-19 18:44:24 +00:00
Alice Sheng
1799f2b878 Merge "Add setting for enabling CPU frequency scaling." into pi-dev 2018-03-19 18:41:40 +00:00
TreeHugger Robot
fd7d9c5710 Merge "Bluetooth: preserve one advertisement slot for GMS core" into pi-dev 2018-03-19 18:28:28 +00:00
Felipe Leme
a946d88011 Merge "Fixed AutofillManager.isAutofillUiShowing()" into pi-dev 2018-03-19 18:27:20 +00:00
Felipe Leme
cb2e83da36 Fixed AutofillManager.isAutofillUiShowing()
It was using & instead of &&

Test: not really
Bug: 75652829
Bug: 74527545

Change-Id: Ib8ca79ba6ec35d2fc97f042db2152b03d334ce30
2018-03-19 11:26:23 -07:00
Alex Kershaw
56be97edd0 Merge "Fix Javadoc of DevicePolicyManager#setStorageEncryption to reflect that it's a no-op (and silent fail) when called from a non-system user." into pi-dev 2018-03-19 18:17:23 +00:00
TreeHugger Robot
75cd1c0334 Merge "Don't use IPC in isolateProcess" into pi-dev 2018-03-19 17:56:14 +00:00
Tracy Zhou
43513086d2 Move default pip position to right above the shelf.
This change takes care of the flow from WindowManagerService to
PinnedStackController, all the way to PipTouchHandler. It also
introduces a WindowManager hook that allows Launcher to pass in
shelf visibility and height. A separate change is made to send
signals from Launcher to SysUI. (ag/3724896)

Bug: 73961893
Change-Id: I2ff54e78bc2dc35c806b902464048b051a4d6394
Test: atest CtsActivityManagerDeviceTestCases:ActivityManagerPinnedStackTests
2018-03-19 17:41:08 +00:00
David Chen
c1a3a0d780 Small fixes to StatsManager API.
Adds some annotations, deletes an unused API method, and adds some
comments.

Test: Flashed onto marlin-eng and verified there are no crashes.
Bug: 72562867
Change-Id: I6c93ee4aeeacf6842795256c76551cfb1c28888d
2018-03-19 10:26:51 -07:00
Mike Digman
bd24572e17 Merge "Add disable2 flag for rotate suggestions" into pi-dev 2018-03-19 17:13:30 +00:00
Seigo Nonaka
e887f4d2c1 Revert "Make PrecomputedText Spannable for supporting selection"
Crash on Sheets APp
This reverts commit 80ed5a35a9.

Bug: 75652829
Change-Id: I40ddd1b9754e74fbd90d7a029cce9c6a7ede0777
Test: Manual
2018-03-19 17:04:30 +00:00
Felipe Leme
7008e70234 Fixed isVisibleToUserForAutofill() again.
This method should return false when the accessibility provider does not have
an accessibility info for a node. Otherwise, the Save UI is not triggered on
compat mode.

Bug: 75017711
Test: manual verification

Change-Id: Ic1759520a43b4333aef9f8f0e1d93f8d378b131c
2018-03-19 09:55:39 -07:00
Tej Singh
eee317b7b6 Atoms: Mobile Connection
Atom definitions for MobileConnectionStateChanged and
MobileRadioTechnologyChanged

Also cleans up batterystats.

Bug: b/72320589
Test: verified logs appear in adb logcat -b stats
Change-Id: I9feb258cf6dd4a8c8bf1cffc9566b5d0a851a9fa
2018-03-19 09:48:22 -07:00
TreeHugger Robot
781533dc32 Merge "StatsManager log lines should be in logcat" into pi-dev 2018-03-19 16:18:53 +00:00
Adam Powell
8709ba863e Add factory methods for async Handlers
Message.setAsynchronous is already public and this makes working
with posted messages that do not interact with UIs quite a bit nicer.

Added as factory methods for better integration with support shims
as well as generally encouraging the use of the handler callback
instead of subclassing for working with custom messages.

Bug: 73124158

Change-Id: I1210e7dc524fdf771e7af19297d5a822fdbd502c
2018-03-19 15:54:13 +00:00
Jorim Jaggi
f8cb545afb Merge "Insert correct app transition events for recents anim" into pi-dev 2018-03-19 15:36:05 +00:00
Makoto Onuki
6b71daa0c2 Merge "Fix SyncResutl.delayUntil javadoc" into pi-dev 2018-03-19 15:12:36 +00:00
Jorim Jaggi
54cff64ec6 Insert correct app transition events for recents anim
The transition delay will be the latency until all the leashes
were created etc. Thus, the actual latency is going to be in
WINDOWS_DRAWN_DELAY.

Also fix an issue where we inadvertently started a transition,
and then the transition logger was hanging.

Bug: 72967764
Test: Swipe up from home button, observe eventlog
Change-Id: I2b1fb7d9d694a629a33653c1fa3d5ed47f53de6b
2018-03-19 14:55:41 +00:00
TreeHugger Robot
b57365562d Merge "ConfirmationDialog: Fail if accessibility services are running." into pi-dev 2018-03-19 14:27:16 +00:00
Alex Kershaw
61ec825598 Fix Javadoc of DevicePolicyManager#setStorageEncryption to reflect that
it's a no-op (and silent fail) when called from a non-system user.

DevicePolicyManagerService#setStorageEncryption also has its Javadoc
fixed.

Bug: 74591983
Change-Id: Ie191ad255cbfcade921d172641f134d6c49a17b1
Fixes: 74591983
Test: N/A - just javadoc changed
2018-03-19 10:57:12 +00:00
Bookatz
1f63131425 StatsManager log lines should be in logcat
Change the Slog.d to Slog.w and enable them, so that we can see them.
They seem to represent important failure events when people call the
public API into StatsManager.

Bug: 74997752
Test: none
Change-Id: I1c577b32358158f73453a8a3066013e0f3733d87
2018-03-18 16:17:51 +00:00
Michael Kwan
c5d0ed9f3c Merge "Modify time only mode flag into set of values instead of just one." into pi-dev 2018-03-17 22:05:38 +00:00
TreeHugger Robot
685288127d Merge "Docstring Updates for applyTransportModeTransform" into pi-dev 2018-03-17 03:44:46 +00:00
Ajay Nadathur
702fc647f3 Add setupwizard personalisation state to Settings
bug: 74396457
Test: Manually tested and verified
Change-Id: I84b8cf7c45818131f903743b6c42cfeffe1c7194
Merged-In: I84b8cf7c45818131f903743b6c42cfeffe1c7194
2018-03-17 02:20:22 +00:00
Julia Reynolds
6389e7bc44 Merge "Add new semantic Person fields" into pi-dev 2018-03-17 01:35:20 +00:00
Nathan Harold
7b7bea0485 Docstring Updates for applyTransportModeTransform
-Add anotations to usages of PolicyDirection for
 apply...() methods.
-Update the comments on DIRECTION_IN and DIRECTION_OUT
 to better reflect their current usage.
-Add a better explanation to the rekey procedure doc.
-Remove disused createTunnelInterface() stub.

Bug: 73751066
Test: make docs
Merged-In: I9f2ec864466148a18899f1e952c74a525902ccbc
Change-Id: I9f2ec864466148a18899f1e952c74a525902ccbc
(cherry picked from commit f4cdf25a90)
2018-03-16 17:46:05 -07:00
John Reck
564284759f Don't use IPC in isolateProcess
Fixes: 74395652
Test: hwuiunit passes in 'shell stop' state (pseudo-isolated process),
      manually checked non-isolated processes still have working vsync
      via systrace of RT animations demo

Change-Id: I630ea011dc7eb2efa265b25673d3304b3b2510d3
2018-03-16 17:34:02 -07:00
TreeHugger Robot
a8bb9d255f Merge "App Time Limits API in UsageStats" into pi-dev 2018-03-16 22:40:46 +00:00
Aseem Kumar
3b0450d4a9 Merge "Unhide getKey() and importKey() and the whole class of RecoveryController. Added @RequiresPermission(android.permission.RECOVER_KEYSTORE) on all public APIs of RecoveryController." into pi-dev 2018-03-16 22:27:37 +00:00
Robert Carr
27a800afac SurfaceView: Expose hook for subclass to position child surfaces.
To position child surfaces of a SurfaceView in sync with the main view root
we need to expose the frame number and RT callback. This is of course not API
but we plan to use it with app controlled transitions, for manipulating window
surfaces within a view hierarchy.

Bug: 70341013
Test: Builds
Change-Id: Ibb3645461fac36bda8ab163867fcb2087cadee37
2018-03-16 15:15:17 -07:00
Aseem Kumar
c1742e5137 Unhide getKey() and importKey() and the whole class of RecoveryController.
Added @RequiresPermission(android.permission.RECOVER_KEYSTORE) on all
public APIs of RecoveryController.

Bug: 73900159
Test: adb shell am instrument -w -e package \
com.android.server.locksettings.recoverablekeystore \
com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner

Change-Id: I1047c038603869307d7a2462a2e5635fcd1c94c2
2018-03-16 13:07:25 -07:00
Mike Digman
dd2f49edb6 Add disable2 flag for rotate suggestions
The SUW team has requested a programmatic way to hide rotation
suggestions during setup. Piggyback on disable2 with new flag,
callbacks already available in NavBarFragment. Downgrade
permissions for disable2 to match disable so SUW can use.

Test: manual with SUW variant
Fixes: 75291849
Change-Id: I1021ee5e1628c36ebf53afe843f903006474163e
2018-03-16 12:35:21 -07:00
Michael Kwan
5f5a0bf00d Modify time only mode flag into set of values instead of just one.
The time only mode flag has not been used yet, so the change should
be low impact.

Bug: 38259902
Test: m -j32
Change-Id: Ie01870633dbaaf51989a148f105a995f58f0da4e
2018-03-16 12:34:19 -07:00
Qiyu Hu
7020b015e9 Bluetooth: preserve one advertisement slot for GMS core
This brings back the check on the multiple advertisement support before
granting any Bluetooth LE advertiser. In other words, one slot is preserved
for GMS core.

Bug: 74819586
Test: Run an BLE application and verify the number of advertisements
Change-Id: I05014e597bd5868f18a81842dc341e47991f2c79
2018-03-16 12:22:16 -07:00
Julia Reynolds
18c35dfd61 Add new semantic Person fields
Bug: 74431200
Test: cts
Change-Id: I9eda447ae371ef635e9044a13ba7973bd69520ce
2018-03-16 19:13:51 +00:00
Yi Jin
7d17dd7184 Merge "Fix privacy tags based on PWG review meeting." into pi-dev 2018-03-16 18:18:11 +00:00
Dake Gu
21935e0c6f Merge "autofill: ViewRootImpl.dispatchKeyFromIme() should not be dropped" into pi-dev 2018-03-16 17:32:25 +00:00
Philip P. Moltmann
ddbb9d00a2 Merge "onUnsyncableAccount: Better docs, main thread" into pi-dev 2018-03-16 16:04:08 +00:00
TreeHugger Robot
71ed54f377 Merge "Make PrecomputedText Spannable for supporting selection" into pi-dev 2018-03-16 15:43:46 +00:00
Alan Viverette
259dd151f4 Merge "Restore "Update packages for 1.0.0-beta1"" into pi-dev 2018-03-16 13:53:46 +00:00
Adrian Roos
e90248c00e Merge "DisplayCutout: Add corner cutout overlay" into pi-dev 2018-03-16 13:01:00 +00:00