Commit Graph

30311 Commits

Author SHA1 Message Date
Chen Xu
fbf747bb76 Merge "move ACTION_CARRIER_SETUP intent to public api"
am: d989558616

Change-Id: Ic1b747c58bd8dc786e98bb3786e7ccecee7889be
2017-02-25 01:11:04 +00:00
Chen Xu
d989558616 Merge "move ACTION_CARRIER_SETUP intent to public api" 2017-02-25 01:05:30 +00:00
fionaxu
181138d2d1 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
2017-02-24 10:45:12 -08:00
Marie Janssen
dd0c9e6265 Merge "Bluetooth: service for pairing notification" am: 7dfc705ad9
am: 7b9f96983d

Change-Id: I0392be2a4016dd8df5cb5f682a858178a3a2dd37
2017-02-23 21:56:41 +00:00
Marie Janssen
7b9f96983d Merge "Bluetooth: service for pairing notification"
am: 7dfc705ad9

Change-Id: Ib48d174e99ac1debd9cf578c222bdcfd5fc10ea1
2017-02-23 21:52:24 +00:00
Marie Janssen
7dfc705ad9 Merge "Bluetooth: service for pairing notification" 2017-02-23 21:41:05 +00:00
Bill Yi
8d36f807bc Import translations. DO NOT MERGE
am: 55ba636186  -s ours

Change-Id: I9d64b082f425dbc5bd37b453e51a5e01127400a4
2017-02-22 18:51:16 +00:00
Bill Yi
55ba636186 Import translations. DO NOT MERGE
Change-Id: Ied9c4535fc4e6739099864f17584108b1d938c50
Auto-generated-cl: translation import
2017-02-22 08:50:31 -08:00
Marie Janssen
d06d83c531 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
2017-02-21 14:43:40 -08:00
Dmitry Dementyev
75ae46d035 Add permission check to Intents used by Authenticator Settings.
Setting shares system uid and can be used to bypass different security
checks.
We add proper handling for intents which resolve toexported=true
activities with permission filed.
Added nested preferences filtering.

Bug: 33123882
Test: manual tests
Change-Id: Ib5bab7989fc44b4391f9050c6b18f81c58c09cf6
2017-02-21 11:05:45 -08:00
Junda Liu
3e24e46b39 Ignore orientation change to preserve ApnEditor. am: f414d58ddf am: 77f75b3859
am: 8db5e61fac

Change-Id: I0b00e7afb390fb91556f0abc5b2bfdee39af767f
2017-02-17 18:12:27 +00:00
Junda Liu
7372d9d323 Ignore orientation change to preserve ApnEditor. am: f414d58ddf am: 77f75b3859
am: 1bc3adf38a

Change-Id: Id8fa449ad8bc7f3b36c26ad2bfb0c8d79a04376e
2017-02-17 18:12:08 +00:00
Junda Liu
1bc3adf38a Ignore orientation change to preserve ApnEditor. am: f414d58ddf
am: 77f75b3859

Change-Id: Idf45ab75502d89ed26cf082e11f155b7d6201658
2017-02-17 18:07:06 +00:00
Junda Liu
8db5e61fac Ignore orientation change to preserve ApnEditor. am: f414d58ddf
am: 77f75b3859

Change-Id: I9e58a2cb02bc3c71f97ac43061e2ceb5d5702c2e
2017-02-17 18:07:06 +00:00
Junda Liu
77f75b3859 Ignore orientation change to preserve ApnEditor.
am: f414d58ddf

Change-Id: I76b7df13239829f0fbba24db30babf640b2506fd
2017-02-17 18:02:35 +00:00
Bill Yi
8f405abe1a Import translations. DO NOT MERGE
am: 6f3ae7778c  -s ours

Change-Id: I10a744f60859902543922168db03a878614f641e
2017-02-17 00:44:39 +00:00
Bill Yi
6f3ae7778c Import translations. DO NOT MERGE
Change-Id: Ie282481af5e8303bdbbdf8f0e91b70cfe433440e
Auto-generated-cl: translation import
2017-02-16 13:47:19 -08:00
Bill Yi
f6247a41f7 Import translations. DO NOT MERGE
am: 7e0985b644  -s ours

Change-Id: I90c3ee4b3610f62d693663cb7372b0e96806e9b5
2017-02-16 15:49:10 +00:00
Bill Yi
7e0985b644 Import translations. DO NOT MERGE
Change-Id: I9e1516012801af3f6f21231d6615f9a8969625ed
Auto-generated-cl: translation import
2017-02-16 05:24:28 -08:00
Li Bai
642e717704 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
2017-02-16 06:28:51 +00:00
Philip P. Moltmann
afe6320d70 resolve merge conflicts of 9ac842a753 to nyc-mr2-dev-plus-aosp
Test: built
Change-Id: I156db22c13da98bce0077b2acb8d9f1a3d2ce406
2017-02-14 09:51:34 -08:00
Philip P. Moltmann
9ac842a753 Merge "[DO NOT MERGE] Revert "[DO NOT MERGE] Use new QueuedWork interface."" into nyc-mr2-dev 2017-02-14 16:03:28 +00:00
Philip P. Moltmann
b92663afb1 [DO NOT MERGE] Revert "[DO NOT MERGE] Use new QueuedWork interface."
This reverts commit 81758edffa.

Bug: 30662828
Change-Id: I5c877a3a888f075afcfb9f49ec92cf3ad43f6304
2017-02-13 23:44:55 +00:00
Bill Yi
daa2d5a23a Import translations. DO NOT MERGE
am: da8a98fb26  -s ours

Change-Id: I111397e147e83c3cc0e8d83d365627792035b238
2017-02-13 17:31:14 +00:00
Bill Yi
da8a98fb26 Import translations. DO NOT MERGE
Change-Id: Ia85aa9d355617a44a438932f30332cfcbb70842a
Auto-generated-cl: translation import
2017-02-12 23:02:41 -08:00
Fan Zhang
6583bc3479 DO NOT MERGE Fix "3 dot" icon size so it displays fully
am: fa190d437b

Change-Id: I7deb37ac62ff85f37d945d453bd6285a809779f1
2017-02-12 01:42:03 +00:00
Fan Zhang
fa190d437b 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
2017-02-11 16:00:31 -08:00
Pavlin Radoslavov
73aa2c6b3f Merge "Add null pointer checks when updating A2DP configuration values" am: 6f7437580c am: bd3f96703c
am: fae23e1e00

Change-Id: I55f901bee2b1a7368cf28cf0b2c6a89e8af27342
2017-02-11 01:31:52 +00:00
Pavlin Radoslavov
fae23e1e00 Merge "Add null pointer checks when updating A2DP configuration values" am: 6f7437580c
am: bd3f96703c

Change-Id: I04f7187c23a0f17c5ef2d37f75d892e4da54111e
2017-02-11 01:28:22 +00:00
Pavlin Radoslavov
bd3f96703c Merge "Add null pointer checks when updating A2DP configuration values"
am: 6f7437580c

Change-Id: I567042ca38e74e2ce228e4bb03c73095c8cf6513
2017-02-11 01:25:50 +00:00
Treehugger Robot
6f7437580c Merge "Add null pointer checks when updating A2DP configuration values" 2017-02-11 01:21:26 +00:00
Pavlin Radoslavov
c851f854bb 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
2017-02-10 12:52:04 -08:00
Marie Janssen
76405153d1 Merge "Remove Bluetooth autoconnect on dock" am: b65c7fc810 am: e7d5b13f53
am: deb32c220b

Change-Id: I9742b1388b6b8702df0459e77414e3eb273115a8
2017-02-10 18:20:28 +00:00
Marie Janssen
deb32c220b Merge "Remove Bluetooth autoconnect on dock" am: b65c7fc810
am: e7d5b13f53

Change-Id: I696af3c6b2c3a2538e93356041c16f9c7149265c
2017-02-10 18:18:00 +00:00
Marie Janssen
e7d5b13f53 Merge "Remove Bluetooth autoconnect on dock"
am: b65c7fc810

Change-Id: Id3cf62ca55ff39867041b495aa832e220fbf70ee
2017-02-10 18:15:28 +00:00
Treehugger Robot
b65c7fc810 Merge "Remove Bluetooth autoconnect on dock" 2017-02-10 18:12:01 +00:00
Sooraj Sasindran
8bf0c2bce9 Merge "Provide calling package name in cell info APIs" am: 5c365f9b54 am: f040f78303 -s ours
am: 56741e2f41  -s ours

Change-Id: Icdde072f471c1c5823235cb6608bcfc87b629325
2017-02-10 05:57:31 +00:00
Sooraj Sasindran
56741e2f41 Merge "Provide calling package name in cell info APIs" am: 5c365f9b54
am: f040f78303  -s ours

Change-Id: Ia62560a2bd59edee436ee71338495e45d50b68be
2017-02-10 05:50:27 +00:00
Sooraj Sasindran
f040f78303 Merge "Provide calling package name in cell info APIs"
am: 5c365f9b54

Change-Id: I342921d22c83aadd77b75078f5d5e9191c8b683f
2017-02-10 05:45:18 +00:00
Sooraj Sasindran
5c365f9b54 Merge "Provide calling package name in cell info APIs" 2017-02-10 05:38:41 +00:00
Marie Janssen
c2ab27e2f8 Remove Bluetooth autoconnect on dock
Test: compiles
Change-Id: I31305c70269c685893132f14975c32a051280afc
Fix: 35219649
2017-02-09 20:02:52 -08:00
Sooraj Sasindran
0ed4162914 Provide calling package name in cell info APIs
am: 63d90ed55d

Change-Id: Ia2a1d01f2bb8fb257f756f7df6dfbedb755e87b1
2017-02-10 03:04:08 +00:00
Sooraj Sasindran
63d90ed55d Provide calling package name in cell info APIs
Provide calling package name in cell info APIs

BUG=31041780

Merged-In: Iad6e5c67ead2bf50d83d1ccad48c3f0341f53712
Change-Id: Iad6e5c67ead2bf50d83d1ccad48c3f0341f53712
2017-02-09 16:35:46 -08:00
Sooraj Sasindran
8cd6d07ef2 Provide calling package name in cell info APIs
Provide calling package name in cell info APIs

BUG=31041780

Merged-In: Iad6e5c67ead2bf50d83d1ccad48c3f0341f53712
Change-Id: Iad6e5c67ead2bf50d83d1ccad48c3f0341f53712
2017-02-09 22:01:56 +00:00
Bill Yi
041604d96c Import translations. DO NOT MERGE
am: f9ef17c68e  -s ours

Change-Id: I513f51ecded981e02286080868d12e12e008c5d9
2017-02-09 07:50:02 +00:00
Bill Yi
f9ef17c68e Import translations. DO NOT MERGE
Change-Id: I48c8f3d9a4b34c83e0bc5737446c002584ef86a7
Auto-generated-cl: translation import
2017-02-08 18:55:40 -08:00
Junda Liu
f414d58ddf 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 76ad635ef7)
2017-02-08 18:04:24 +00:00
Junda Liu
dd9d72df53 Merge "Ignore orientation change to preserve ApnEditor." into nyc-mr2-dev
am: 18fce0a7cf

Change-Id: I0492b3bd442c381f2b7b75707719cc3631bda796
2017-02-07 20:40:12 +00:00
Junda Liu
d7a13ef2b6 Ignore orientation change to preserve ApnEditor.
am: 76ad635ef7

Change-Id: Ic32658c295821565d1c20245d0f8cb99942639e6
2017-02-07 20:40:11 +00:00
Junda Liu
18fce0a7cf Merge "Ignore orientation change to preserve ApnEditor." into nyc-mr2-dev 2017-02-07 20:35:47 +00:00