296686 Commits

Author SHA1 Message Date
Yifan Hong
d6658ac131 Split libhidl into base and transport.
Bug: 32756130

Test: mma
Change-Id: I0df309a1096b663cc51ce8badacf05e2a47836a8
2016-11-18 15:15:32 +00:00
Julia Reynolds
0c299d4d63 Prioritize channel sound & vibration settings.
Unless the app is not targeting O and the user hasn't set
a preference in Settings.

Also apps no longer need the vibration permission to vibrate with
a notification.

Test: runtest systemui-notification
Change-Id: Ia84b1c97d13cb479db07035ca622b1fe52261329
2016-11-18 09:29:26 -05:00
Peter Qiu
42efc4ba7a Merge "wifi: hotspot2: add support for validating passpoint configuration" am: ebb722d04a am: 8bbb583ff7 am: 1b3a17c280
am: b011af9573

Change-Id: I7c45b558c87e4c24083f82ea69c7584668fb15aa
2016-11-18 09:10:43 +00:00
Peter Qiu
b011af9573 Merge "wifi: hotspot2: add support for validating passpoint configuration" am: ebb722d04a am: 8bbb583ff7
am: 1b3a17c280

Change-Id: Id2e1d703f3c87fb02ff439a68f388b7fc5a93ea3
2016-11-18 09:05:13 +00:00
Peter Qiu
1b3a17c280 Merge "wifi: hotspot2: add support for validating passpoint configuration" am: ebb722d04a
am: 8bbb583ff7

Change-Id: I50cd0f4c92b30cd649626dad1a1288619d6b03e5
2016-11-18 08:59:09 +00:00
Peter Qiu
8bbb583ff7 Merge "wifi: hotspot2: add support for validating passpoint configuration"
am: ebb722d04a

Change-Id: Ic20a77103961bd9ff61b6af90130c25ad19c451a
2016-11-18 08:54:11 +00:00
Treehugger Robot
ebb722d04a Merge "wifi: hotspot2: add support for validating passpoint configuration" 2016-11-18 08:45:15 +00:00
TreeHugger Robot
d97ccb1c0b Merge "Added configuration for VT downgrade/tear down when data disabled" into nyc-mr2-dev 2016-11-18 06:05:00 +00:00
Maurice Lam
66549382f0 Merge "Fix TTS for GMT offset" 2016-11-18 03:36:52 +00:00
Seigo Nonaka
b2db159148 Merge "Remove obsolete interface GetTable." 2016-11-18 02:17:31 +00:00
Ricky Wai
a79a655e4b Catch KeyStoreException for setting profile lock am: c8fa5ed8f2 am: 3b546019dc am: c40b9a8ee2
am: b5ddc22675

Change-Id: Idc10bc9e849e4f5d23bba8ee33a7caf72626428b
2016-11-18 01:52:08 +00:00
Chris Tate
428d4847d4 Merge "Schedule agentDisconnected() in handler thread" am: c02a4a4613 am: 72a838e704 am: 18d0df806e
am: f053fc7133

Change-Id: Ice34a562d184b5228f7ffa2adf47a5e9c1e37a82
2016-11-18 01:47:08 +00:00
Ricky Wai
b5ddc22675 Catch KeyStoreException for setting profile lock am: c8fa5ed8f2 am: 3b546019dc
am: c40b9a8ee2

Change-Id: Ibbdef0242e12ba5e942cb8162e21a34fa30c9a92
2016-11-18 01:47:06 +00:00
Ricky Wai
c40b9a8ee2 Catch KeyStoreException for setting profile lock am: c8fa5ed8f2
am: 3b546019dc

Change-Id: Id668766a96473ae2f68e83dae1ecb547b26de6fc
2016-11-18 01:43:01 +00:00
Chris Tate
f053fc7133 Merge "Schedule agentDisconnected() in handler thread" am: c02a4a4613 am: 72a838e704
am: 18d0df806e

Change-Id: I04b3f4a130f611c917f478e7c31b857a413641b7
2016-11-18 01:42:39 +00:00
Chris Tate
18d0df806e Merge "Schedule agentDisconnected() in handler thread" am: c02a4a4613
am: 72a838e704

Change-Id: I2eda02ea14fb67b1a0192750ae3885ec89f14564
2016-11-18 01:38:05 +00:00
Ricky Wai
3b546019dc Catch KeyStoreException for setting profile lock
am: c8fa5ed8f2

Change-Id: I28777d9d80ba13df463e05b95dd2524633554c9d
2016-11-18 01:38:04 +00:00
Chris Tate
72a838e704 Merge "Schedule agentDisconnected() in handler thread"
am: c02a4a4613

Change-Id: I1e2da0be53678a791dd16be5d00caa5e712fa036
2016-11-18 01:33:29 +00:00
Jorim Jaggi
1b4b23e93e Fix camera not launching immediately from Keyguard
Seems like a line got lost in one of the many refactors :-)

Also adds debug statements for UnknownAppVisibilityController.

Test: Launch camera from lockscreen, make sure no delay.
Change-Id: Idb49b8dcfd2ce351a62d46d93a917a791d38caa1
2016-11-18 01:32:33 +00:00
Michael Kwan
9dd7f4ec61 DO NOT MERGE ANYWHERE Add supports-multiwindow command to am. am: 77ad3429a6 -s ours
am: 7e04fca2c7  -s ours

Change-Id: I3c98f51c9bbfc361375421d006414a2f249c2b1e
2016-11-18 01:24:21 +00:00
Chris Tate
c02a4a4613 Merge "Schedule agentDisconnected() in handler thread" 2016-11-18 01:23:31 +00:00
Michael Kwan
7e04fca2c7 DO NOT MERGE ANYWHERE Add supports-multiwindow command to am.
am: 77ad3429a6  -s ours

Change-Id: I81e8e5d02c0039a9bdd2ef1632fc5f36c3ec3317
2016-11-18 01:19:15 +00:00
John Reck
e9fcf94589 Merge "Avoid starving RT anims" am: f77c220aa9 am: 7269372d5f am: 91d1bbce59
am: 39d001dff8  -s ours

Change-Id: I5b2f666a574865239dce83176a658174d0f98842
2016-11-18 00:58:31 +00:00
John Reck
39d001dff8 Merge "Avoid starving RT anims" am: f77c220aa9 am: 7269372d5f
am: 91d1bbce59

Change-Id: Ie4bf34f84a09e3147edba6ad099338fa82adc5ca
2016-11-18 00:44:26 +00:00
John Reck
91d1bbce59 Merge "Avoid starving RT anims" am: f77c220aa9
am: 7269372d5f

Change-Id: Ife1e7ea95055d8179b4a622dc4dabce382575b5b
2016-11-18 00:28:54 +00:00
Jeff Sharkey
43ca823f1a Merge "wtf() should not be fatal for core components." 2016-11-18 00:18:42 +00:00
TreeHugger Robot
d5d9469813 Merge "Correctly update database during account rename." 2016-11-18 00:18:11 +00:00
Jeff Sharkey
9ccb85d344 wtf() should not be fatal for core components.
Core system components (such as those marked as "persistent") are
aggressively restarted by the system, so crashing them as a side
effect of wtf() could easily cause system instability.

Instead, this change now treats persistent processes the same as the
system_server; we still log the wtf() event, but we don't crash
the app.

This change also causes wtf() events to be fatal on "eng" builds,
which will result in bugs being caught earlier during development
instead of later during QA testing.

Test: builds, boots, SystemUI no longer crashes
Bug: 32976626
Change-Id: Ib2d1a73379be40556f8dab5d1f15b9ed91ba7082
2016-11-17 17:15:48 -07:00
John Reck
7269372d5f Merge "Avoid starving RT anims"
am: f77c220aa9

Change-Id: I3d4ba24ae0e6de4683d47163fd8f3bf65b98bd17
2016-11-18 00:14:05 +00:00
Yifan Hong
c46d1b44eb Split libhidl into base and transport.
Bug: 32756130

Test: mma
Change-Id: I0df309a1096b663cc51ce8badacf05e2a47836a8
2016-11-18 00:03:59 +00:00
Ricky Wai
c8fa5ed8f2 Catch KeyStoreException for setting profile lock
When device upgrades from L->N, sid(in gatekeeper) could be 0
even primary profile screenlock is set.
We are now trying to catch the exception so when sid==0 happens,
it will try to tie profile lock again when primary profile is unlocked.

Bug: 32490092
Change-Id: I73011d872ac15e7e09be9bda0165cf7f6a75493a
2016-11-18 00:02:24 +00:00
Treehugger Robot
f77c220aa9 Merge "Avoid starving RT anims" 2016-11-17 23:53:00 +00:00
Michael Kwan
77ad3429a6 DO NOT MERGE ANYWHERE Add supports-multiwindow command to am.
The supports-multiwindow command allows the ability to
check if the device has multiwindow support in the shell.

Bug: 30120559
Change-Id: I466e28d8a794fa457826a6526ef9ef660cd3856c
2016-11-17 23:16:36 +00:00
Dmitry Dementyev
cf50dcf502 Correctly update database during account rename.
Bug: https://b.corp.google.com/issues/32907996

Test: Verified with CTS tests.
Change-Id: I3ef8890b9a68d17208a5681a39a0895feaff5fa1
2016-11-17 14:23:14 -08:00
John Reck
55fe2695a0 Merge "Add more complex View inflation bench" 2016-11-17 22:06:27 +00:00
John Reck
a5b7b89166 Avoid starving RT anims
Test: Manual, usleep(16000) in DrawFrameTask and tap
on recents

Merged-In: I88bb30a2503bc908ec45650c7d36b6fb3cc750d0

Change-Id: I88bb30a2503bc908ec45650c7d36b6fb3cc750d0
2016-11-17 22:05:22 +00:00
John Reck
769ccdbc1e Merge "Avoid starving RT anims" 2016-11-17 22:03:18 +00:00
TreeHugger Robot
29993074b0 Merge "Keep track of admin actions for DO disclosures" 2016-11-17 21:40:46 +00:00
TreeHugger Robot
3613a0caee Merge "Wire up PM.getInstalledApplicationsAsUser(flags, userId) as hidden API" 2016-11-17 21:34:08 +00:00
TreeHugger Robot
b8bf61c84d Merge "Added configuration for VT downgrade/tear down when data disabled" 2016-11-17 21:05:37 +00:00
Sean Stout
aaf30fb8ed Merge "Update ringtone picker strings." 2016-11-17 20:57:53 +00:00
TreeHugger Robot
8068bfeae2 Merge "Doze: Fix WakeLock bug" 2016-11-17 20:57:33 +00:00
TreeHugger Robot
5bec219934 Merge "Phase-2 API takes a hostname" 2016-11-17 20:39:54 +00:00
TreeHugger Robot
61e5f71292 Merge "Fixed NPE in ActivityStarter.updateTaskReturnToType()" 2016-11-17 20:31:53 +00:00
Adam Powell
74827260a8 Fix FragmentManager.FragmentLifecycleCallbacks scope
Static class is much more useful here.

Bug: 32938039
Test: n/a
Change-Id: I0010fde25e3b2a4f59b360c0035505c831c07c53
2016-11-17 12:20:26 -08:00
Bartosz Fabianowski
b21b241f0f Keep track of admin actions for DO disclosures
This CL adds bookkeeping to DPMS which will allow us to tell the user
in the Settings UI whether/when the admin requested a bug report or
retrieved logs from the device.

Bug: 32692748
Test: Full DevicePolicyManagerTest unit test coverage; end-to-end tests
        will follow as Settings CTS verifier tests

Change-Id: I89728fce4b7e0ff061b354c73caf3742e95a3a3e
2016-11-17 20:52:03 +01:00
Brad Ebinger
972d866b53 Merge "Readability improvements in Logging" am: d51df736f6 am: 90b6e78657 am: 3ae84b6efe
am: 75553432d4

Change-Id: Ic2a03399b6a0e8ae455d75ce134a2bb276e01c37
2016-11-17 19:51:28 +00:00
Sudheer Shanka
d9a42f2e2c Merge "Remove transaction ids in IApplicationThread." 2016-11-17 19:49:39 +00:00
Bartosz Fabianowski
1133424c2b Wire up PM.getInstalledApplicationsAsUser(flags, userId) as hidden API
Settings needs to access a variant of getInstalledApplications() which
takes a |userId| argument. Since this is not currently exposed by
PackageManager, Settings calls into PackageManagerService directly. This
is ugly and breaks the regular abstraction layer hierarchy.

The CL fixes the problem by exposing the required variant of
getInstalledApplications() as a hidden API, analogously to what was done
before with getInstalledPackages().

Bug: 32692748
Test: Will be CTS-verifier-tested together with Settings
Change-Id: Id9c4e8e18524d312159821f1a4d5527263c7e950
2016-11-17 20:49:16 +01:00
Brad Ebinger
75553432d4 Merge "Readability improvements in Logging" am: d51df736f6 am: 90b6e78657
am: 3ae84b6efe

Change-Id: I7eba86dfbf8845aae8bafddc4a6bc5f94b66bc2b
2016-11-17 19:43:08 +00:00