OSDN Git Service

android-x86/packages-apps-Settings.git
7 years agoMerge "[VpnSettings]Crash when activity has been recycled"
Robin Lee [Mon, 27 Mar 2017 16:22:56 +0000 (16:22 +0000)]
Merge "[VpnSettings]Crash when activity has been recycled"
am: fb81f50c27

Change-Id: I588fc958daacfd0b7859c00c6b5b164e6e02a33d

7 years agoMerge "[VpnSettings]Crash when activity has been recycled"
Robin Lee [Mon, 27 Mar 2017 16:18:19 +0000 (16:18 +0000)]
Merge "[VpnSettings]Crash when activity has been recycled"

7 years agoMerge "Show correct Wi-Fi status when switching to multi window mode"
Zhihong Li [Sat, 25 Mar 2017 04:21:03 +0000 (04:21 +0000)]
Merge "Show correct Wi-Fi status when switching to multi window mode"
am: 4cc1f72576

Change-Id: Id60415285629e6d7a712a9f441e6e7839732bf94

7 years agoMerge "Show correct Wi-Fi status when switching to multi window mode"
Treehugger Robot [Sat, 25 Mar 2017 04:14:57 +0000 (04:14 +0000)]
Merge "Show correct Wi-Fi status when switching to multi window mode"

7 years agoMerge "Add default value to Bluetooth AVRCP version property get"
Ajay Panicker [Sat, 25 Mar 2017 01:00:51 +0000 (01:00 +0000)]
Merge "Add default value to Bluetooth AVRCP version property get"
am: 84cf0b2a4b

Change-Id: I21a5388ee633edb4f7b59a61390b71ea59df7205

7 years agoMerge "Add default value to Bluetooth AVRCP version property get"
Treehugger Robot [Sat, 25 Mar 2017 00:58:13 +0000 (00:58 +0000)]
Merge "Add default value to Bluetooth AVRCP version property get"

7 years ago[VpnSettings]Crash when activity has been recycled
liurong [Fri, 24 Mar 2017 12:11:48 +0000 (20:11 +0800)]
[VpnSettings]Crash when activity has been recycled

This is a case we found in monkey test, the main thread handles message while the activity has been recycled. It will raise a NullPointerException when we use getActivity() in following lines.
Assumpt the situation is: settings run in background and activity been recycled quickly, but handler still in the process.

Test: NA

Change-Id: I19db4f13e13294618ec8e42e4d9c54ce23504344
Signed-off-by: liurong <liurong@xiaomi.com>
7 years agoAdd default value to Bluetooth AVRCP version property get
Ajay Panicker [Thu, 23 Mar 2017 00:43:51 +0000 (17:43 -0700)]
Add default value to Bluetooth AVRCP version property get

When the property isn't set a crash can occur since we try to look up an
empty property value.

Bug: 36531010
Test: Open Developer options after a factory reset
Change-Id: I82c0fde00774ab1a4f3e4c44a715c74d4a7804e9

7 years agoMerge "AVRCP version interop pereference (2/3)"
Ajay Panicker [Thu, 23 Mar 2017 17:56:28 +0000 (17:56 +0000)]
Merge "AVRCP version interop pereference (2/3)"
am: db66a7b664

Change-Id: Ia70a81c027d2e81b01f279c2816de41ef915c0f8

7 years agoMerge "AVRCP version interop pereference (2/3)"
Treehugger Robot [Thu, 23 Mar 2017 17:49:56 +0000 (17:49 +0000)]
Merge "AVRCP version interop pereference (2/3)"

7 years agoMerge "Update SubscriptionManager API by replacing 'id' & 'idx' with 'index'."
Sanket Padawe [Thu, 23 Mar 2017 00:45:56 +0000 (00:45 +0000)]
Merge "Update SubscriptionManager API by replacing 'id' & 'idx' with 'index'."
am: bd9ce2e4b1

Change-Id: I361f7c1747ab1f16cce149d78cc219f83a16948c

7 years agoMerge "Update SubscriptionManager API by replacing 'id' & 'idx' with 'index'."
Sanket Padawe [Wed, 22 Mar 2017 21:27:21 +0000 (21:27 +0000)]
Merge "Update SubscriptionManager API by replacing 'id' & 'idx' with 'index'."

7 years agoAVRCP version interop pereference (2/3)
Ajay Panicker [Mon, 20 Mar 2017 18:34:54 +0000 (11:34 -0700)]
AVRCP version interop pereference (2/3)

Add a mechanism to allow the user to select the AVRCP version broadcasted
through SDP in the developer options. This helps solve some interoperability
issues such as with Honda Carkits where broadcasting AVRCP version 1.6 causes
media metadata to fail.

Bug: 35956792
Test: Select AVRCP version through developer option
Merged-In: I7d4b1bd23342d1a96ffdf08bb7d6d3c5e5fedca6
Change-Id: I7d4b1bd23342d1a96ffdf08bb7d6d3c5e5fedca6

7 years agoUpdate SubscriptionManager API by replacing 'id' & 'idx' with 'index'.
Sanket Padawe [Mon, 20 Mar 2017 22:08:07 +0000 (15:08 -0700)]
Update SubscriptionManager API by replacing 'id' & 'idx' with 'index'.

Bug: 35767068
Test: No build failure on update.
Change-Id: Ib7211a9d0c10a717bfd5a7b22b8bea2b3973d12f
Merged-in: Ib7211a9d0c10a717bfd5a7b22b8bea2b3973d12f

7 years agoMerge "Bluetooth: stop pairing service correctly"
Marie Janssen [Mon, 20 Mar 2017 21:45:41 +0000 (21:45 +0000)]
Merge "Bluetooth: stop pairing service correctly"
am: 4e32e87e57

Change-Id: Ied66e2bf14771853be46c09b0720c9978d53e3c9

7 years agoMerge "Bluetooth: stop pairing service correctly"
Treehugger Robot [Mon, 20 Mar 2017 21:37:37 +0000 (21:37 +0000)]
Merge "Bluetooth: stop pairing service correctly"

7 years agoBluetooth: stop pairing service correctly
Marie Janssen [Mon, 20 Mar 2017 18:01:19 +0000 (11:01 -0700)]
Bluetooth: stop pairing service correctly

If BluetoothPairingService was stopped and restarted, it would receive
a null intent, and it also would not signal correctly when it needed to
be stopped.

Since restarts can happen, check that we are still bonding when starting.

Also prevent crashes when we might be called with a null intent.

Test: initiate pairing remotely, adb am kill service, notice no crash
Bug: 36130262
Change-Id: I408811935fdb36591826f4481d103cf4799db27e

7 years agoMerge "Optimized Code: call direct method to get integer extra"
liurong [Thu, 16 Mar 2017 17:27:51 +0000 (17:27 +0000)]
Merge "Optimized Code: call direct method to get integer extra"
am: b7fa46453a

Change-Id: Ib7194de15766eb4912e7bbd43b308bd51dd5496a

7 years agoMerge "Optimized Code: call direct method to get integer extra"
Treehugger Robot [Thu, 16 Mar 2017 17:23:29 +0000 (17:23 +0000)]
Merge "Optimized Code: call direct method to get integer extra"

7 years agoOptimized Code: call direct method to get integer extra
liurong [Thu, 16 Mar 2017 11:52:40 +0000 (19:52 +0800)]
Optimized Code: call direct method to get integer extra

Description: Make the default preferred sim slot as the first one(0) when get PREFERRED_SIM.

Test: NA
Change-Id: Id54bdbefd413c58ecd637cb8ff522861ead79331
Signed-off-by: liurong <liurong@xiaomi.com>
7 years agoMerge "Bluetooth: leave screen off for permission request"
Marie Janssen [Wed, 15 Mar 2017 22:57:38 +0000 (22:57 +0000)]
Merge "Bluetooth: leave screen off for permission request"
am: 172b01035d

Change-Id: Id768f3a4cdbb4286cd1096f94b6fb5b11bae6cc8

7 years agoMerge "Bluetooth: leave screen off for permission request"
Treehugger Robot [Wed, 15 Mar 2017 22:49:56 +0000 (22:49 +0000)]
Merge "Bluetooth: leave screen off for permission request"

7 years agoMerge "Improve Wi-Fi Settings UI in guest mode"
Jay [Wed, 15 Mar 2017 19:18:43 +0000 (19:18 +0000)]
Merge "Improve Wi-Fi Settings UI in guest mode"
am: 31f64a1253

Change-Id: I15f05538344aa615a4f69eebf7fdec66efc3cf29

7 years agoMerge "Improve Wi-Fi Settings UI in guest mode"
Treehugger Robot [Wed, 15 Mar 2017 19:11:25 +0000 (19:11 +0000)]
Merge "Improve Wi-Fi Settings UI in guest mode"

7 years agoImprove Wi-Fi Settings UI in guest mode
Jay [Thu, 14 Jul 2016 08:31:03 +0000 (16:31 +0800)]
Improve Wi-Fi Settings UI in guest mode

Progress bar is still seen along with a permission forbidden tip in
guest mode and it's confusing. It should be hidden because actually
nothing happens there.

When Wi-Fi is off, Wi-Fi OFF tip should be shown even in guest mode
becuase it should be consistent with Wi-Fi status.

Improves d8c3ca43163427a75c8b70114096238177f97af0.

Bug:31235488
Test: manual inspection.

Change-Id: I611719db253a0aec03d61e881af0e5dc3869d50b
Merged-In: If89728e293721cea45dcd717316d87f6df17ea7c

7 years agoMerge "Fix network name for Passpoint network"
Jeff Sharkey [Sun, 12 Mar 2017 23:09:11 +0000 (23:09 +0000)]
Merge "Fix network name for Passpoint network"
am: 742bd03f12

Change-Id: Ia9ae9d6034f72be5f8d34340efce5b52d71fa6c2

7 years agoMerge "Fix network name for Passpoint network"
Jeff Sharkey [Sun, 12 Mar 2017 23:03:20 +0000 (23:03 +0000)]
Merge "Fix network name for Passpoint network"

7 years agoBluetooth: leave screen off for permission request
Marie Janssen [Fri, 10 Mar 2017 17:28:06 +0000 (09:28 -0800)]
Bluetooth: leave screen off for permission request

Test: pair to a carkit, disable pbap, reconnect from carkit
Bug: 32555940
Change-Id: I06d6cc0873f9f991e68f1de9b629dbe3a7bb7701

7 years agoShow correct Wi-Fi status when switching to multi window mode
Zhihong Li [Fri, 23 Sep 2016 01:38:42 +0000 (09:38 +0800)]
Show correct Wi-Fi status when switching to multi window mode

In WifiSettings, when switching to multi window mode,
WifiSettings fragment is recreated and "onPause()" is called,
then WifiTracker stops and wrong Wi-Fi status is shown.

Move "WifiTracker.startTracking()" to "onStart()",
 "WifiTracker.stopTracking()" to "onStop()"
to make sure to show correct Wi-Fi status.

Bug: 36078677
Test: Manual test OK

Change-Id: I215f180b1082f6039c03de8b4a3ca27d1f364c75

7 years agoMerge "Changes event handling phases for DeviceListPreferenceFragment."
Jaewoong Jung [Tue, 7 Mar 2017 02:27:15 +0000 (02:27 +0000)]
Merge "Changes event handling phases for DeviceListPreferenceFragment."
am: 084c20409b

Change-Id: Ic0abdcd7a7de944b3348590cdfa922fcf1dcbed1

7 years agoMerge "Changes event handling phases for DeviceListPreferenceFragment."
Treehugger Robot [Mon, 6 Mar 2017 23:02:12 +0000 (23:02 +0000)]
Merge "Changes event handling phases for DeviceListPreferenceFragment."

7 years agoChanges event handling phases for DeviceListPreferenceFragment.
Jaewoong Jung [Thu, 13 Oct 2016 18:08:22 +0000 (11:08 -0700)]
Changes event handling phases for DeviceListPreferenceFragment.

Bug: 31273140
Test: Manual inspection.

Change-Id: If4622b8d367813eb86a54a45f2e8fa4a55ca38b1
(cherry picked from commit e8d5c8fda16c75e4bcca3a218bc5cf7b254baa99)

7 years agoMerge "Display the correct default for mobile data always on."
Lorenzo Colitti [Mon, 6 Mar 2017 04:04:55 +0000 (04:04 +0000)]
Merge "Display the correct default for mobile data always on."
am: 737d42a0db

Change-Id: I5302cc5cc7d0847e127fcbf8af42fb6eef54c303

7 years agoMerge "Display the correct default for mobile data always on."
Treehugger Robot [Mon, 6 Mar 2017 03:57:50 +0000 (03:57 +0000)]
Merge "Display the correct default for mobile data always on."

7 years agoMerge "Unify the design of add icon in setting"
minoru.x.sakuma [Mon, 6 Mar 2017 01:22:16 +0000 (01:22 +0000)]
Merge "Unify the design of add icon in setting"
am: bc9731a575

Change-Id: Ieae295ad277877e52399032908677c15180159d3

7 years agoMerge "Unify the design of add icon in setting"
Treehugger Robot [Mon, 6 Mar 2017 01:17:55 +0000 (01:17 +0000)]
Merge "Unify the design of add icon in setting"

7 years agoDisplay the correct default for mobile data always on.
Lorenzo Colitti [Fri, 3 Mar 2017 07:17:15 +0000 (16:17 +0900)]
Display the correct default for mobile data always on.

Mobile data always on was enabled by changing the default in
ConnectivityService to 1. However, the default value in the
developer options setting was left at 0. This means that by
default (i.e., when the setting is empty), mobile data always on
is enabled but appears in developer options as disabled.

Fix this by changing the default in developer options. This is
simpler than the other options (adding database upgrade code to
settings, making the default be controlled by config.xml and
ensuring that when a config changed broadcast is received the
value is re-rease, hardcoding a default value as an @hide
constant in Settings, etc.)

Bug: 23113288
Test: setting is off after "adb shell settings delete global mobile_data_always_on"
Change-Id: I27e2c0af7a03e510e640dbcfa281449d00385154

7 years agoUnify the design of add icon in setting
minoru.x.sakuma [Mon, 28 Oct 2013 10:35:11 +0000 (19:35 +0900)]
Unify the design of add icon in setting

Add icon "+" displayed in APN setting differs from ones in other
settings like VPN settings, SIP accounts etc. Change the icon to
align with others.

Bug: 35936472
Test: Manually check icon display with fix
Change-Id: I99a57fbeb55bb04f911d28e85752ec04edab6f0e

7 years agoMerge "wifi: use Passpoint API when forgetting a Passpoint network"
Peter Qiu [Thu, 2 Mar 2017 16:57:25 +0000 (16:57 +0000)]
Merge "wifi: use Passpoint API when forgetting a Passpoint network"
am: ff960ed859

Change-Id: I0e085c5c31656c943d7674770ea9f28d963f2726

7 years agoMerge "wifi: use Passpoint API when forgetting a Passpoint network"
Treehugger Robot [Thu, 2 Mar 2017 16:52:42 +0000 (16:52 +0000)]
Merge "wifi: use Passpoint API when forgetting a Passpoint network"

7 years agoMerge "Change default long-press time to 400ms"
Li Bai [Wed, 1 Mar 2017 19:28:38 +0000 (19:28 +0000)]
Merge "Change default long-press time to 400ms"
am: b96cbedfb2

Change-Id: I953076ce2fe44fb96f2cfbd60e771694c225fc99

7 years agoMerge "Change default long-press time to 400ms"
Treehugger Robot [Wed, 1 Mar 2017 19:26:15 +0000 (19:26 +0000)]
Merge "Change default long-press time to 400ms"

7 years agoMerge "Show search results when query string contains trailing space"
long.x.qiao [Wed, 1 Mar 2017 19:25:42 +0000 (19:25 +0000)]
Merge "Show search results when query string contains trailing space"
am: 8eb0c24e5a

Change-Id: Ic0382e8b3ce65b52ae2d77987ff4a79945fddb4f

7 years agoMerge "Show search results when query string contains trailing space"
Treehugger Robot [Wed, 1 Mar 2017 19:20:25 +0000 (19:20 +0000)]
Merge "Show search results when query string contains trailing space"

7 years agowifi: use Passpoint API when forgetting a Passpoint network
Peter Qiu [Wed, 1 Mar 2017 17:07:34 +0000 (09:07 -0800)]
wifi: use Passpoint API when forgetting a Passpoint network

Use WifiManager#removePasspointConfiguration when forgetting a
Passpoint network to remove the configuration.

This maintains the legacy behavior, where forgetting a Passpoint
network/AP will remove its provider's profile.

Bug: 34207710
Test: manual test
Change-Id: I8b7f6d9fb20fa9f0f0d90566f76c2a39308ce420

7 years agoShow search results when query string contains trailing space
long.x.qiao [Tue, 29 Nov 2016 05:50:51 +0000 (13:50 +0800)]
Show search results when query string contains trailing space

The query expression used to search for a term prefix is the prefix
itself with a '*' character appended to it. However, if query string
contains trailing space, the query expresssion (e.g. "screen *") doesn't
work. So to fix this issue, the unnecessary trailing space should be
removed.

Bug: 35231587
Test: manual - go to search in Settings and enter "screen "

Change-Id: Ifa5d96f5d38ad5454272f140da440b8ff55d5614

7 years agoMerge "WiFiCallingSettings: don't start carrier app in onResume"
Meng Wang [Mon, 27 Feb 2017 18:29:48 +0000 (18:29 +0000)]
Merge "WiFiCallingSettings: don't start carrier app in onResume"
am: 05c88316ec

Change-Id: I1e212c2486e896ad9945d7881f01895fedb27615

7 years agoMerge "WiFiCallingSettings: don't start carrier app in onResume"
Treehugger Robot [Mon, 27 Feb 2017 18:25:04 +0000 (18:25 +0000)]
Merge "WiFiCallingSettings: don't start carrier app in onResume"

7 years agoWiFiCallingSettings: don't start carrier app in onResume
Meng Wang [Thu, 23 Feb 2017 22:33:49 +0000 (14:33 -0800)]
WiFiCallingSettings: don't start carrier app in onResume

onResume initialize UI before registering switch change listener.
So that listener is not invoked in UI initialization, but only real
switch change by user.

Bug: 33680334
Test: make
Test: manual - carrier app is not invoked in onResume
Change-Id: I7ca1eb1eab214b50c8de72946590c1ecb676d4df

7 years agoMerge "Bluetooth: aim OPEN_RECEIVED_FILES at bluetooth"
Marie Janssen [Sat, 25 Feb 2017 13:44:29 +0000 (13:44 +0000)]
Merge "Bluetooth: aim OPEN_RECEIVED_FILES at bluetooth"
am: 17ad73ed9b

Change-Id: Ib26f0014a8ef37f0c1b0e738597690343c30e940

7 years agoMerge "Bluetooth: aim OPEN_RECEIVED_FILES at bluetooth"
Treehugger Robot [Sat, 25 Feb 2017 13:39:27 +0000 (13:39 +0000)]
Merge "Bluetooth: aim OPEN_RECEIVED_FILES at bluetooth"

7 years agoBluetooth: aim OPEN_RECEIVED_FILES at bluetooth
Marie Janssen [Thu, 23 Feb 2017 19:20:56 +0000 (11:20 -0800)]
Bluetooth: aim OPEN_RECEIVED_FILES at bluetooth

Bluetooth is the receiver for the OPEN_RECEIVED_FILES intent, so we
should aim the intent directly at them.

Test: go to BT settings and click "Open Received Files" in the context
Change-Id: I057215f1faf04c8c735a7e9340325716225ad22d
Fix: 35246073

7 years agoMerge "move ACTION_CARRIER_SETUP intent to public api"
Chen Xu [Sat, 25 Feb 2017 01:11:04 +0000 (01:11 +0000)]
Merge "move ACTION_CARRIER_SETUP intent to public api"
am: d989558616

Change-Id: Ic1b747c58bd8dc786e98bb3786e7ccecee7889be

7 years agoMerge "move ACTION_CARRIER_SETUP intent to public api"
Chen Xu [Sat, 25 Feb 2017 01:05:30 +0000 (01:05 +0000)]
Merge "move ACTION_CARRIER_SETUP intent to public api"

7 years agomove ACTION_CARRIER_SETUP intent to public api
fionaxu [Fri, 24 Feb 2017 18:42:12 +0000 (10:42 -0800)]
move ACTION_CARRIER_SETUP intent to public api

As per CDD: The "android.*" namespace for intent constants is reserved
for public
Android API in AOSP. (Whether public to the full SDK, @SystemApi or
defined in AOSP support libraries.)
ACTION_CARRIER_SETUP intent is generally useful for carrier privileged
apps which is unbundled carrier apps, thus move to public APIs 33679956

Test: Manual
Bug: 33679956
Merged-in: I85dfa99d0b20bb1b534dfe8ead3c274a5c739786
Change-Id: I84ffd5f2c8c3418689ee3d5ff5ddc3f9f7959763

7 years agoMerge "Bluetooth: service for pairing notification"
Marie Janssen [Thu, 23 Feb 2017 21:52:24 +0000 (21:52 +0000)]
Merge "Bluetooth: service for pairing notification"
am: 7dfc705ad9

Change-Id: Ib48d174e99ac1debd9cf578c222bdcfd5fc10ea1

7 years agoMerge "Bluetooth: service for pairing notification"
Marie Janssen [Thu, 23 Feb 2017 21:41:05 +0000 (21:41 +0000)]
Merge "Bluetooth: service for pairing notification"

7 years agoBluetooth: service for pairing notification
Marie Janssen [Wed, 15 Feb 2017 02:49:17 +0000 (18:49 -0800)]
Bluetooth: service for pairing notification

Use a foreground service to show the notification, separating dialog
creation from the receiver.

Test: pair request from remote device while the screen is off
Bug: 35234069
Change-Id: Ia3be3e8efdacf465e095af5a498ef5eb0fca83cd

7 years agoIgnore orientation change to preserve ApnEditor. am: f414d58ddf am: 77f75b3859
Junda Liu [Fri, 17 Feb 2017 18:12:27 +0000 (18:12 +0000)]
Ignore orientation change to preserve ApnEditor. am: f414d58ddf am: 77f75b3859
am: 8db5e61fac

Change-Id: I0b00e7afb390fb91556f0abc5b2bfdee39af767f

7 years agoIgnore orientation change to preserve ApnEditor. am: f414d58ddf am: 77f75b3859
Junda Liu [Fri, 17 Feb 2017 18:12:08 +0000 (18:12 +0000)]
Ignore orientation change to preserve ApnEditor. am: f414d58ddf am: 77f75b3859
am: 1bc3adf38a

Change-Id: Id8fa449ad8bc7f3b36c26ad2bfb0c8d79a04376e

7 years agoIgnore orientation change to preserve ApnEditor. am: f414d58ddf
Junda Liu [Fri, 17 Feb 2017 18:07:06 +0000 (18:07 +0000)]
Ignore orientation change to preserve ApnEditor. am: f414d58ddf
am: 77f75b3859

Change-Id: I9e58a2cb02bc3c71f97ac43061e2ceb5d5702c2e

7 years agoIgnore orientation change to preserve ApnEditor. am: f414d58ddf
Junda Liu [Fri, 17 Feb 2017 18:07:06 +0000 (18:07 +0000)]
Ignore orientation change to preserve ApnEditor. am: f414d58ddf
am: 77f75b3859

Change-Id: Idf45ab75502d89ed26cf082e11f155b7d6201658

7 years agoIgnore orientation change to preserve ApnEditor.
Junda Liu [Fri, 17 Feb 2017 18:02:35 +0000 (18:02 +0000)]
Ignore orientation change to preserve ApnEditor.
am: f414d58ddf

Change-Id: I76b7df13239829f0fbba24db30babf640b2506fd

7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 17 Feb 2017 00:44:39 +0000 (00:44 +0000)]
Import translations. DO NOT MERGE
am: 6f3ae7778c  -s ours

Change-Id: I10a744f60859902543922168db03a878614f641e

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 16 Feb 2017 21:47:19 +0000 (13:47 -0800)]
Import translations. DO NOT MERGE

Change-Id: Ie282481af5e8303bdbbdf8f0e91b70cfe433440e
Auto-generated-cl: translation import

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 16 Feb 2017 15:49:10 +0000 (15:49 +0000)]
Import translations. DO NOT MERGE
am: 7e0985b644  -s ours

Change-Id: I90c3ee4b3610f62d693663cb7372b0e96806e9b5

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 16 Feb 2017 13:24:28 +0000 (05:24 -0800)]
Import translations. DO NOT MERGE

Change-Id: I9e1516012801af3f6f21231d6615f9a8969625ed
Auto-generated-cl: translation import

7 years agoChange default long-press time to 400ms
Li Bai [Tue, 31 Jan 2017 06:51:19 +0000 (15:51 +0900)]
Change default long-press time to 400ms

The default long-press time has been changed from 500ms to 400ms by
b/30159825. so the values for the list of long-press timeout options
in Settings app should be changed.

Bug: 35226519
Test: manual - go to Settings > Accessibility > Touch & hold delay

Change-Id: I8e2421ea4119742bb6bf0e27688c65e3de3099dc

7 years agoresolve merge conflicts of 9ac842a753 to nyc-mr2-dev-plus-aosp
Philip P. Moltmann [Tue, 14 Feb 2017 17:45:51 +0000 (09:45 -0800)]
resolve merge conflicts of 9ac842a753 to nyc-mr2-dev-plus-aosp

Test: built
Change-Id: I156db22c13da98bce0077b2acb8d9f1a3d2ce406

7 years agoMerge "[DO NOT MERGE] Revert "[DO NOT MERGE] Use new QueuedWork interface."" into...
Philip P. Moltmann [Tue, 14 Feb 2017 16:03:27 +0000 (16:03 +0000)]
Merge "[DO NOT MERGE] Revert "[DO NOT MERGE] Use new QueuedWork interface."" into nyc-mr2-dev

7 years ago[DO NOT MERGE] Revert "[DO NOT MERGE] Use new QueuedWork interface."
Philip P. Moltmann [Mon, 13 Feb 2017 20:58:46 +0000 (20:58 +0000)]
[DO NOT MERGE] Revert "[DO NOT MERGE] Use new QueuedWork interface."

This reverts commit 81758edffae751c31fb1795febe470c171f7fb1b.

Bug: 30662828
Change-Id: I5c877a3a888f075afcfb9f49ec92cf3ad43f6304

7 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 13 Feb 2017 17:31:14 +0000 (17:31 +0000)]
Import translations. DO NOT MERGE
am: da8a98fb26  -s ours

Change-Id: I111397e147e83c3cc0e8d83d365627792035b238

7 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 13 Feb 2017 07:02:41 +0000 (23:02 -0800)]
Import translations. DO NOT MERGE

Change-Id: Ia85aa9d355617a44a438932f30332cfcbb70842a
Auto-generated-cl: translation import

7 years agoDO NOT MERGE Fix "3 dot" icon size so it displays fully
Fan Zhang [Sun, 12 Feb 2017 01:42:03 +0000 (01:42 +0000)]
DO NOT MERGE Fix "3 dot" icon size so it displays fully
am: fa190d437b

Change-Id: I7deb37ac62ff85f37d945d453bd6285a809779f1

7 years agoDO NOT MERGE Fix "3 dot" icon size so it displays fully
Fan Zhang [Sat, 11 Feb 2017 18:50:13 +0000 (10:50 -0800)]
DO NOT MERGE Fix "3 dot" icon size so it displays fully

Viewport size was set wrong due to bad merge, causing the last dot got
truncated slightly.

Change-Id: I5d5bbd703e780b21957613d88a2250bc3ba69bb8
Fix: 28194068
Test: visual

7 years agoMerge "Add null pointer checks when updating A2DP configuration values" am: 6f7437580...
Pavlin Radoslavov [Sat, 11 Feb 2017 01:31:52 +0000 (01:31 +0000)]
Merge "Add null pointer checks when updating A2DP configuration values" am: 6f7437580c am: bd3f96703c
am: fae23e1e00

Change-Id: I55f901bee2b1a7368cf28cf0b2c6a89e8af27342

7 years agoMerge "Add null pointer checks when updating A2DP configuration values" am: 6f7437580c
Pavlin Radoslavov [Sat, 11 Feb 2017 01:28:22 +0000 (01:28 +0000)]
Merge "Add null pointer checks when updating A2DP configuration values" am: 6f7437580c
am: bd3f96703c

Change-Id: I04f7187c23a0f17c5ef2d37f75d892e4da54111e

7 years agoMerge "Add null pointer checks when updating A2DP configuration values"
Pavlin Radoslavov [Sat, 11 Feb 2017 01:25:50 +0000 (01:25 +0000)]
Merge "Add null pointer checks when updating A2DP configuration values"
am: 6f7437580c

Change-Id: I567042ca38e74e2ce228e4bb03c73095c8cf6513

7 years agoMerge "Add null pointer checks when updating A2DP configuration values"
Treehugger Robot [Sat, 11 Feb 2017 01:21:25 +0000 (01:21 +0000)]
Merge "Add null pointer checks when updating A2DP configuration values"

7 years agoAdd null pointer checks when updating A2DP configuration values
Pavlin Radoslavov [Fri, 10 Feb 2017 20:52:04 +0000 (12:52 -0800)]
Add null pointer checks when updating A2DP configuration values

Under expected circumstances, those null pointer checks are not
needed: onCreate() is always called before onCreateView(),
and the former creates the objects: mBluetoothSelectA2dpCodec,
mBluetoothSelectA2dpSampleRate, mBluetoothSelectA2dpBitsPerSample,
mBluetoothSelectA2dpChannelMode, mBluetoothSelectA2dpLdacPlaybackQuality .

For some unknown reason, somehow the following chain of calls is executed
before onCreate() :
  onCreateView() ->
  getActivity().registerReceiver(mBluetoothA2dpReceiver, ...) ->
  mBluetoothA2dpReceiver.onReceive(...) ->
  updateBluetoothA2dpConfigurationValues()

Adding the null pointer checks until the issue is understood.

Test: Code compilation
Bug: 35204511
Change-Id: I7c1d81015e66b26544b7b26f36cbc75f11713496

7 years agoMerge "Remove Bluetooth autoconnect on dock" am: b65c7fc810 am: e7d5b13f53
Marie Janssen [Fri, 10 Feb 2017 18:20:28 +0000 (18:20 +0000)]
Merge "Remove Bluetooth autoconnect on dock" am: b65c7fc810 am: e7d5b13f53
am: deb32c220b

Change-Id: I9742b1388b6b8702df0459e77414e3eb273115a8

7 years agoMerge "Remove Bluetooth autoconnect on dock" am: b65c7fc810
Marie Janssen [Fri, 10 Feb 2017 18:18:00 +0000 (18:18 +0000)]
Merge "Remove Bluetooth autoconnect on dock" am: b65c7fc810
am: e7d5b13f53

Change-Id: I696af3c6b2c3a2538e93356041c16f9c7149265c

7 years agoMerge "Remove Bluetooth autoconnect on dock"
Marie Janssen [Fri, 10 Feb 2017 18:15:28 +0000 (18:15 +0000)]
Merge "Remove Bluetooth autoconnect on dock"
am: b65c7fc810

Change-Id: Id3cf62ca55ff39867041b495aa832e220fbf70ee

7 years agoMerge "Remove Bluetooth autoconnect on dock"
Treehugger Robot [Fri, 10 Feb 2017 18:12:00 +0000 (18:12 +0000)]
Merge "Remove Bluetooth autoconnect on dock"

7 years agoMerge "Provide calling package name in cell info APIs" am: 5c365f9b54 am: f040f78303...
Sooraj Sasindran [Fri, 10 Feb 2017 05:57:31 +0000 (05:57 +0000)]
Merge "Provide calling package name in cell info APIs" am: 5c365f9b54 am: f040f78303  -s ours
am: 56741e2f41  -s ours

Change-Id: Icdde072f471c1c5823235cb6608bcfc87b629325

7 years agoMerge "Provide calling package name in cell info APIs" am: 5c365f9b54
Sooraj Sasindran [Fri, 10 Feb 2017 05:50:27 +0000 (05:50 +0000)]
Merge "Provide calling package name in cell info APIs" am: 5c365f9b54
am: f040f78303  -s ours

Change-Id: Ia62560a2bd59edee436ee71338495e45d50b68be

7 years agoMerge "Provide calling package name in cell info APIs"
Sooraj Sasindran [Fri, 10 Feb 2017 05:45:18 +0000 (05:45 +0000)]
Merge "Provide calling package name in cell info APIs"
am: 5c365f9b54

Change-Id: I342921d22c83aadd77b75078f5d5e9191c8b683f

7 years agoMerge "Provide calling package name in cell info APIs"
Sooraj Sasindran [Fri, 10 Feb 2017 05:38:40 +0000 (05:38 +0000)]
Merge "Provide calling package name in cell info APIs"

7 years agoRemove Bluetooth autoconnect on dock
Marie Janssen [Fri, 10 Feb 2017 04:02:52 +0000 (20:02 -0800)]
Remove Bluetooth autoconnect on dock

Test: compiles
Change-Id: I31305c70269c685893132f14975c32a051280afc
Fix: 35219649

7 years agoProvide calling package name in cell info APIs
Sooraj Sasindran [Fri, 10 Feb 2017 03:04:08 +0000 (03:04 +0000)]
Provide calling package name in cell info APIs
am: 63d90ed55d

Change-Id: Ia2a1d01f2bb8fb257f756f7df6dfbedb755e87b1

7 years agoProvide calling package name in cell info APIs
Sooraj Sasindran [Thu, 18 Aug 2016 22:49:49 +0000 (15:49 -0700)]
Provide calling package name in cell info APIs

Provide calling package name in cell info APIs

BUG=31041780

Merged-In: Iad6e5c67ead2bf50d83d1ccad48c3f0341f53712
Change-Id: Iad6e5c67ead2bf50d83d1ccad48c3f0341f53712

7 years agoProvide calling package name in cell info APIs
Sooraj Sasindran [Thu, 18 Aug 2016 22:49:49 +0000 (15:49 -0700)]
Provide calling package name in cell info APIs

Provide calling package name in cell info APIs

BUG=31041780

Merged-In: Iad6e5c67ead2bf50d83d1ccad48c3f0341f53712
Change-Id: Iad6e5c67ead2bf50d83d1ccad48c3f0341f53712

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 9 Feb 2017 07:50:02 +0000 (07:50 +0000)]
Import translations. DO NOT MERGE
am: f9ef17c68e  -s ours

Change-Id: I513f51ecded981e02286080868d12e12e008c5d9

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 9 Feb 2017 02:55:40 +0000 (18:55 -0800)]
Import translations. DO NOT MERGE

Change-Id: I48c8f3d9a4b34c83e0bc5737446c002584ef86a7
Auto-generated-cl: translation import

7 years agoIgnore orientation change to preserve ApnEditor.
Junda Liu [Sat, 4 Feb 2017 00:39:23 +0000 (16:39 -0800)]
Ignore orientation change to preserve ApnEditor.

Test: manually w/ Vzw and Tmo SIM on marlin. UI rotates while preserving
all values
Bug: b/34956985
Change-Id: I1db34893fd91f99e38913565e7b67ccbfdcb0c93
(cherry picked from commit 76ad635ef7b5604cb314e244e1d7c42df020e743)

7 years agoMerge "Ignore orientation change to preserve ApnEditor." into nyc-mr2-dev
Junda Liu [Tue, 7 Feb 2017 20:40:12 +0000 (20:40 +0000)]
Merge "Ignore orientation change to preserve ApnEditor." into nyc-mr2-dev
am: 18fce0a7cf

Change-Id: I0492b3bd442c381f2b7b75707719cc3631bda796

7 years agoIgnore orientation change to preserve ApnEditor.
Junda Liu [Tue, 7 Feb 2017 20:40:11 +0000 (20:40 +0000)]
Ignore orientation change to preserve ApnEditor.
am: 76ad635ef7

Change-Id: Ic32658c295821565d1c20245d0f8cb99942639e6

7 years agoMerge "Ignore orientation change to preserve ApnEditor." into nyc-mr2-dev
Junda Liu [Tue, 7 Feb 2017 20:35:46 +0000 (20:35 +0000)]
Merge "Ignore orientation change to preserve ApnEditor." into nyc-mr2-dev

7 years agoMerge "Catch IllegalStateException when updating Bluetooth A2DP codec info" am: ad62f...
Pavlin Radoslavov [Tue, 7 Feb 2017 04:55:47 +0000 (04:55 +0000)]
Merge "Catch IllegalStateException when updating Bluetooth A2DP codec info" am: ad62fd52c9 am: 14eb8cfe57
am: 8e81cf1310

Change-Id: I513fdf69abc617944f5e0ce8195d16a451f61590

7 years agoMerge "Catch IllegalStateException when updating Bluetooth A2DP codec info" am: ad62f...
Pavlin Radoslavov [Tue, 7 Feb 2017 04:52:47 +0000 (04:52 +0000)]
Merge "Catch IllegalStateException when updating Bluetooth A2DP codec info" am: ad62fd52c9
am: 14eb8cfe57

Change-Id: Ie5f7b5157a6034ec7a206758b19cd51e3713fc12