Commit Graph

392175 Commits

Author SHA1 Message Date
Slava Shklyaev
1fa34b08fb Merge "A11y timeout api: build breaks fixed" 2018-11-09 13:32:47 +00:00
TreeHugger Robot
794bd34b7d Merge "Update ExtService to use suggestConversationActions API to generate replies" 2018-11-09 12:19:16 +00:00
Rhed Jao
33ded61ceb A11y timeout api: build breaks fixed
Test: build pass
Change-Id: I30cb7aa6e219508dc9ca90e0480ff77ff49caf19
2018-11-09 19:49:21 +08:00
Charles Chen
0c9e5fe004 Support multi-display for KEYCODE_HOME event
Thanks Wale for this super clever temp solution. (^_^)
Introduce DisplayHomeButtonHandler to make flags handled per display.
The changes are:
- Extend DoubleTapHomeTimeoutRunnable to DisplayHomeButtonHandler
- Move mHomePressed, mHomeConsumed, mHomeDoubleTapPedding into DisplayHomeButtonHandler to be its members
- Move home handling logic to handleHomeButton, which is a method in DisplayHomeButtonHandler
- Add a displayId - handler map to handle home keys per display

Bug: 115978725
Test: atest com.android.server.policy
Test: Manual - Press home on secondary display and verify if home
      activity launched on secondary display

Change-Id: Ie7b4c72c8f9ff46b20b0a94cf6c36ba7db777128
2018-11-09 17:33:12 +08:00
Martijn Coenen
bc4afc4f60 Merge "Fix getDefaultDisplayHomeActivityForUser." 2018-11-09 08:04:37 +00:00
Philip P. Moltmann
230de7db7f Merge "Check if bp.perm is null before resolving it" 2018-11-09 05:56:46 +00:00
Rhed Jao
e222fd9063 Merge "Update a11y recommended timeout api." 2018-11-09 05:28:18 +00:00
Kevin Chyn
a85b4a2d29 Merge "Return correct error when HW there is no biometric hardware" 2018-11-09 04:42:35 +00:00
TreeHugger Robot
c578d38eb7 Merge "Deprecate Drawable#getOpacity" 2018-11-09 03:55:04 +00:00
Hugo Benichi
311f0ff0b3 Merge "WiFi: Define a base abstract class for IWifiManager" 2018-11-09 03:28:46 +00:00
Jimmy Chen
53f58bc1c7 Merge "p2p: support factory reset for P2P group" 2018-11-09 02:47:08 +00:00
TreeHugger Robot
cd42d6ebfe Merge "Add constants which can be used by Privacy Setting" 2018-11-09 02:40:59 +00:00
Rhed Jao
41118f33b1 Update a11y recommended timeout api.
Update api name to getRecommendedTimeoutMillis.
Api returns timeout for interactive or non-interactive controls.
Also provide the options for a11y service to specify two kinds of
timeout.

Bug: 111210981
Test: atest SettingsBackupTest
Test: atest AccessibilityManagerTest
Test: atest AccessibilityServiceInfoTest
Change-Id: I37d35796fd72bb4d6628a6bb33b111987f321552
2018-11-09 10:24:07 +08:00
TreeHugger Robot
34f042d290 Merge "Updated ColorDrawable setAlpha/getAlpha documentation" 2018-11-09 01:46:33 +00:00
Philip P. Moltmann
798bf9a363 Check if bp.perm is null before resolving it
Test: Built
Change-Id: I757a28cb6d403267914f5c63f9b4e2cf0cdb079e
2018-11-08 17:07:19 -08:00
TreeHugger Robot
7d60ed910f Merge "Fix home can not be started while instrumenting" 2018-11-09 01:05:38 +00:00
Dichen Zhang
b691ec7c05 Merge "Add/remove routing change listener support" 2018-11-09 00:59:05 +00:00
TreeHugger Robot
0c142dddaa Merge "Informing app idle listeners on enabled state changes." 2018-11-09 00:21:50 +00:00
TreeHugger Robot
171c94085a Merge "Reads new interruption model setting from correct settings." 2018-11-09 00:09:29 +00:00
Nader Jawad
fc063e9c22 Updated ColorDrawable setAlpha/getAlpha documentation
Updated documentation on ColorDrawable to clarify that the alpha
value provided is combined with the color's already existing alpha
value instead of overwriting it.

Bug: 119004459
Test: Build and boots
Change-Id: Id62462c4ac7d2f46cdc3236876f7e0711fbc4c16
2018-11-08 15:53:47 -08:00
TreeHugger Robot
05d17f889a Merge "Update car dimens values" 2018-11-08 23:43:55 +00:00
Nader Jawad
3d5c03df79 Deprecate Drawable#getOpacity
Deprecated getOpacity method on Drawable as the graphics optimization
is no longer utilized in the framework

Bug: 118841703
Test: Build and boots
Change-Id: Ie21c9379a5e9737ed68c09c2e518732c1578b3cb
2018-11-08 15:33:31 -08:00
Jayachandran Chinnakkannu
71aebf05f0 Merge "resolve merge conflicts of c4555ee941 to pi-dev-plus-aosp" into pi-dev-plus-aosp
am: cfe08258f1

Change-Id: I076834f87b8450525c6bbba0ee60f6f7ea8ac8e1
2018-11-08 15:21:01 -08:00
Jayachandran Chinnakkannu
cfe08258f1 Merge "resolve merge conflicts of c4555ee941 to pi-dev-plus-aosp" into pi-dev-plus-aosp 2018-11-08 23:00:47 +00:00
Philip P. Moltmann
64da5e6e44 Merge changes from topic "TestSplitRuntimePermissions"
* changes:
  Apply fg/bg state in default grant policy
  Do not inherit grant of background location
  Split permissions inherit state from their parents
  Have a map of background -> foreground permssions
  Give 'restorePermissionState' a better name
2018-11-08 22:57:43 +00:00
Nathan Harold
db0e08c750 Merge "Add toString() method for NetworkScanResult" am: aaa6722976 am: c7ad900967
am: 524ce01fa1

Change-Id: I8101aea3035b99f923e6fd083e025ee5f5a24342
2018-11-08 14:34:28 -08:00
Hai Shalom
5df0de7f22 Merge "[WPA3] Settingslib changes to support new WPA3/OWE types" 2018-11-08 22:30:10 +00:00
Nathan Harold
524ce01fa1 Merge "Add toString() method for NetworkScanResult" am: aaa6722976
am: c7ad900967

Change-Id: I860489666c819802b8dcfe2184c15509d26f5b54
2018-11-08 14:17:41 -08:00
TreeHugger Robot
82d015e8d6 Merge "Removing SECURE_KEY_GPS_MODE flag." 2018-11-08 22:08:29 +00:00
Nathan Harold
c7ad900967 Merge "Add toString() method for NetworkScanResult"
am: aaa6722976

Change-Id: I7f070271d0835ea8289417f2051ff7cd45591132
2018-11-08 14:07:07 -08:00
TreeHugger Robot
dc7b7cc257 Merge "Revert "Revert "Adds new atomic install API""" 2018-11-08 22:03:05 +00:00
Kweku Adams
1e8947c5da Informing app idle listeners on enabled state changes.
Currently, if AppStandbyController is enabled after some listeners have
already registered, the listeners will be told that the system is in a
state of parole even though AppStandbyController thinks it's not in
parole. This change informs AppIdleStateChangeListeners when
AppStandbyController's enabled state changes as well so that they can be
in the correct state.

I also removed the call to setAppIdleEnabled() in onBootPhase() since
updateSettings() is called right afterwards and that also calls
setAppIdleEnabled().

Bug: 112329453
Test: atest AppStandbyControllerTests
also check logs to confirm that NetworkPolicyManagerService and
JobSchedulerService's listeners switch from ON to OFF when the system is
ready.

Change-Id: I88bc293c70b459f54f75f92126ad306d6ab8d9b7
2018-11-08 13:58:50 -08:00
Nathan Harold
aaa6722976 Merge "Add toString() method for NetworkScanResult" 2018-11-08 21:54:26 +00:00
TreeHugger Robot
eeca4f5a30 Merge "Add Inspector annotations" 2018-11-08 21:35:20 +00:00
Pengquan Meng
d5c7fb6cdf Merge "Add 5G NR cellInfo" 2018-11-08 21:31:10 +00:00
TreeHugger Robot
597f2c3115 Merge "Fix handle creation on startActionMode" 2018-11-08 21:28:11 +00:00
Brad Stenning
bbcb2da1ba Update car dimens values
Test: Manual

Bug: 112592617
Change-Id: Id3a70535fc2b7ef983a6fa898ad6f01acb9dcc9b
(cherry picked from commit 50462a286ff92324db0b3a677950a17f36a38181)
2018-11-08 21:26:58 +00:00
Jayachandran C
1fd2abcf1d resolve merge conflicts of c4555ee941 to pi-dev-plus-aosp
Bug: None
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I897faef1bc1a32a5cf11a048b3a9dd1c40a9bc24
2018-11-08 13:13:58 -08:00
TreeHugger Robot
eaaa5f65b5 Merge "Refactored BS settings into Policy subclass." 2018-11-08 21:03:50 +00:00
Fan Zhang
f517f97161 Merge "Remove feature flag for bluetooth_while_driving" 2018-11-08 20:16:43 +00:00
vichang
7391d7612d Merge "Add some ICU 63 classes into boot image profile" am: 93bf21dad4 am: 28773473d1
am: 6cb15cffb6

Change-Id: Ia3d84dc7890d8d8ddb5f7651c150134180116a30
2018-11-08 12:12:36 -08:00
Gus Prevas
874292e1f0 Reads new interruption model setting from correct settings.
Test: n/a
Change-Id: Ia04d5152dc61f7c5ea672ab0c541d1ab81bc739d
2018-11-08 15:09:12 -05:00
John Choi
7c31e49467 Merge "Fix Car volume dialog that does not show when volume reaches min/max" 2018-11-08 19:57:54 +00:00
vichang
6cb15cffb6 Merge "Add some ICU 63 classes into boot image profile" am: 93bf21dad4
am: 28773473d1

Change-Id: Ib94cb36ec893186f7226b5101012291cd62dc904
2018-11-08 11:56:23 -08:00
Kweku Adams
7101245140 Removing SECURE_KEY_GPS_MODE flag.
It's not being used anywhere and it's probably not something we want
people to be using. The KEY_GPS_MODE flag still exists as a key in
Global.BATTERY_SAVER_CONSTANTS.

Test: atest com.android.server.power.BatterySaverPolicyTest
Change-Id: If437b427b4574c15e4cb75d85a25f7aff514c102
2018-11-08 11:54:35 -08:00
Pengquan Meng
a2c7fc711a Merge "Use flatten component name for Carrier Settings activity" 2018-11-08 19:51:03 +00:00
vichang
28773473d1 Merge "Add some ICU 63 classes into boot image profile"
am: 93bf21dad4

Change-Id: I07463e685e69b680651b1a7a7a1c1fc8f5f39b0f
2018-11-08 11:47:25 -08:00
Kweku Adams
87b9ce915e Refactored BS settings into Policy subclass.
Creating a class/object that details the specific policy will make it
easier to have multiple different policies simultaneously that are
well-defined and in one place.

Bug: 119261320
Test: atest com.android.server.power.BatterySaverPolicyTest
Change-Id: I8ba89ff2f308ffcdedc09739e513734d200eee56
2018-11-08 11:23:34 -08:00
vichang
93bf21dad4 Merge "Add some ICU 63 classes into boot image profile" 2018-11-08 19:23:30 +00:00
Ryan Mitchell
45ac8e4002 Merge "Fix flaky idmap test" 2018-11-08 19:09:47 +00:00