Commit Graph

33929 Commits

Author SHA1 Message Date
TreeHugger Robot
65af66f0d8 Merge "Replace deprecated ACTION_MASTER_CLEAR by ACTION_FACTORY_RESET." 2017-02-13 17:46:23 +00:00
Bill Yi
3477a577f3 Import translations. DO NOT MERGE am: da8a98fb26 -s ours
am: daa2d5a23a  -s ours

Change-Id: I08237170e91f978d9f8718fff3df30c6f6be59f3
2017-02-13 17:34:16 +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
Lenka Trochtova
3393daccd9 Replace deprecated ACTION_MASTER_CLEAR by ACTION_FACTORY_RESET.
Both do the same, ACTION_FACTORY_RESET is the new name.

Test: manual - reset the device
BUG: 33656232

Change-Id: I30cedea600bfcbeffa5d1094a6e0e83326f7ccfc
2017-02-13 16:02:13 +01:00
Rubin Xu
52221d80d2 Do not show key entries used for user authentication flow
Bug: 33126414
Test: Enable new authentication flow; go to user credentials in Settings
      observe no entries related to user authentication are shown.
Change-Id: I62e5796cc73213b23ca7809a77082350a883fbee
2017-02-13 14:06:17 +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
Bill Yi
2c3d473e3a Import translations. DO NOT MERGE
Change-Id: Ic5485e66425141363f2c338fa41dc94816916eec
Auto-generated-cl: translation import
2017-02-12 22:56:48 -08:00
Tadashi G. Takaoka
23372e8994 Fix monkey crash by guarding singleton initializing
Fixes: 35203476
Test: Run monkey test and observe no crash happens.
      adb shell monkey -p com.google.android.launcher -p com.android.settings
           -c android.intent.category.LAUNCHER --ignore-security-exceptions
	   --monitor-native-crashes -s 454 -v -v -v 125000
Change-Id: Ib13afcc4e14470510f3ccbb20d7e7d6009347149
2017-02-13 12:58:30 +09:00
Fan Zhang
ac3b32932a Merge "Fix a memory leak caused by dashboard freature provider." 2017-02-12 20:52:07 +00:00
Fan Zhang
27ffe047f1 DO NOT MERGE Fix "3 dot" icon size so it displays fully am: fa190d437b
am: 6583bc3479  -s ours

Change-Id: I3f2e6b5aa6d3d86f2cc11fadff1f2d25c29b3612
2017-02-12 01:44:03 +00: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
TreeHugger Robot
c3136397a0 Merge "Sync search result loaders" 2017-02-12 01:19:15 +00:00
Fan Zhang
d69b443e35 Fix a memory leak caused by dashboard freature provider.
In constructor, use app context instead of fragment context

Change-Id: I24fbc457037c1d6854ecf0cb270110d73effb662
Fix: 35292764
Test: RunSettingsRoboTests
2017-02-11 16:57:31 -08: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
Robin Lee
11bf78028e CredentialFragment anti-pocket dialing measures.
Now it is necessary to actually press the exact "OK" or Back button to
get the dialog to dismiss. This makes pocket wiping that little bit less
likely.

Bug: 32934848
Test: manual, enter the password too many times. The dialog should appear. Attempt to dismiss it by tapping outside the dialog. This should not happen.
Test: correctness of .setCanceledOnTouchOutside is outside scope.
Change-Id: Icff8bd9068f636c0a75decb787b8a5c9161a8cbd
2017-02-11 19:49:02 +00:00
Pavlin Radoslavov
d6d92e5e4f Merge "Add null pointer checks when updating A2DP configuration values" am: 6f7437580c am: bd3f96703c am: fae23e1e00
am: 73aa2c6b3f

Change-Id: Iac81cb29671c198414a53c517deb6db962294d0a
2017-02-11 01:34:12 +00: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
Phil Weaver
a68c2f73d6 Remove a11y speak passwords settings.
Bug: 28139568
Test: Opened settings, and it's gone!
Change-Id: Ife931c3a076c9b8470b6cde24712cb9280999bea
2017-02-10 16:26:07 -08:00
Fan Zhang
1afcfa62c5 Merge "Update storage setting summary text format." 2017-02-10 21:58:34 +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
TreeHugger Robot
979cacd777 Merge "Distribute all the hidden items to apps" 2017-02-10 20:10:39 +00:00
Marie Janssen
9241c3ec3c Merge "Remove Bluetooth autoconnect on dock" am: b65c7fc810 am: e7d5b13f53 am: deb32c220b
am: 76405153d1

Change-Id: I5d4283ec0aa65b8faf6a97693dcdb40df353c48a
2017-02-10 18:23:00 +00: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
TreeHugger Robot
765062ac3d Merge "Prompt credentials for installing/deleting sounds" 2017-02-10 18:11:56 +00:00
Matthew Fritze
40ce0fab75 Sync search result loaders
The loaders should be syncronized so the results can be
properly ranked without sudden insertions.

This means InstalledAppsLoader needs to finish faster,
which is accomplished by delaying icon loading to bind time
rather than as the apps are queried.

Bug: 34772522
Test: make RunSettingsRoboTests
Change-Id: I7f5244c574d37c6cfd8bbd0d3d40488f38211be3
2017-02-10 10:10:55 -08:00
Julia Reynolds
c260bcc6df Merge "Link back to app settings from channel page" 2017-02-10 16:05:11 +00:00
Robin Lee
cccf3244b6 Prompt credentials for installing/deleting sounds
Actually we probably want to confirm credentials in all locked cases
not just when starting the user -- fewer corners to special case.

Fix: 34734809
Test: manual. set a work profile lock, screen off/on, open sound settings, try to set a work ringtone. first attempt should prompt for credentials, second attempt should not until next screen-off.
Change-Id: I1fea94f3b0d1b768b22741b887d9891f5e318549
2017-02-10 15:34:53 +00:00
Sooraj Sasindran
cc0fec8ed5 Merge "Provide calling package name in cell info APIs" am: 5c365f9b54 am: f040f78303 -s ours am: 56741e2f41 -s ours
am: 8bf0c2bce9  -s ours

Change-Id: Iccade74b97d0c1869a7c986422970ad6db3df19f
2017-02-10 06:02:08 +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
TreeHugger Robot
6c8bf4645c Merge "Don't truncate the GB used string." 2017-02-10 03:13:51 +00:00
Sooraj Sasindran
59268909c9 Provide calling package name in cell info APIs am: 63d90ed55d
am: 0ed4162914  -s ours

Change-Id: Idb3b6e4e5ef7636696d9278dcd78a6178d1674c0
2017-02-10 03:10:32 +00: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
Fan Zhang
ec463f8f1b Merge "Update top level menu items summary text." 2017-02-10 01:27:02 +00:00
TreeHugger Robot
5c29cfad84 Merge "Removing one all-purpose developer tile and replacing it with 4 separate tiles, for individual actions. Also adding a section in Developer Options for enabling these individual tiles." 2017-02-10 01:11:29 +00:00
Fan Zhang
4f9e8d4a14 Update storage setting summary text format.
New format: 38% used - 19.80 GB free

Bug: 34975053
Test: make RunSettingRoboTests
Change-Id: I7c8f5f0fe825eade8167764622c940e8234be6a9
2017-02-09 17:08:34 -08: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
TreeHugger Robot
97ce4d05d0 Merge "Increasing char limit for string" 2017-02-09 23:57:34 +00:00
Fan Zhang
7520e81ab5 Update top level menu items summary text.
- Use static summary for most items
- Move summary for user setting to user&account setting

Bug: 34975053
Test: RunSettingsRoboTests
Change-Id: I9bf87267778dc5933f97f5d3b9ae0f4f0b8da1a8
2017-02-09 15:22:47 -08:00
Fan Zhang
5780f569e9 Merge "Convert auto-fill default selector to full screen pattern." 2017-02-09 22:36:58 +00:00
TreeHugger Robot
cce13dcb52 Merge "Remove Downloads backup options." 2017-02-09 22:33:52 +00:00