Commit Graph

6680 Commits

Author SHA1 Message Date
Alexandra Gherghina
7d748c0267 Handle choosing and adding accounts for a managed profile
The user id can now be passed through the app as a fragment argument.

Bug: 15466880
Change-Id: I0e2be20551b4ec8c9226640ac74ea74115156ccd
2014-07-17 19:05:57 +00:00
Amith Yamasani
d888b543b2 Revert "Update Location Settings for Enterprise" due to
build breakage.

This reverts commit ca153c55dd.

Change-Id: Id6d6c98e8504f50b1764bcb87052eb567b6284a1
2014-07-17 18:26:38 +00:00
Dianne Hackborn
be875db541 Merge "Battery chart fixes." into lmp-dev 2014-07-17 17:59:02 +00:00
Dianne Hackborn
c19eb361a4 Battery chart fixes.
When there is no data to show, don't make a crazy collapsed chart.

Also avoid re-creating the chart when scrolling.

And fix various other things.

Change-Id: Ia1895bc7c46e6d830e66f66e66f17726e1e23e3f
2014-07-17 12:09:54 -07:00
Zoltan Szatmary-Ban
ca153c55dd Update Location Settings for Enterprise
Find packages of the corporate user and show them
with badged icon on the "Recent location requests" list.

Bug: 15467321
Change-Id: Ib0fdb9f0c811307875296c37bab6d1fbab919022
2014-07-17 18:47:17 +01:00
Amith Yamasani
920c57d499 Follow split of DISALLOW_TELEPHONY
Save both DISALLOW_OUTGOING_CALLS and DISALLOW_SMS together.

Change-Id: I06dd23b3fb4a21f3a22661da17491fc5b0bce4ed
2014-07-17 11:03:41 -07:00
Fabrice Di Meglio
9b435f29d7 Merge "Fix bug #15702424 add-wifi setting screen has no title" into lmp-dev 2014-07-16 23:30:53 +00:00
Chris Craik
7babd05509 Merge "Accessibility text contrast control" into lmp-dev 2014-07-16 22:04:55 +00:00
Chris Craik
fc72424cd7 Accessibility text contrast control
b/14624452

Change-Id: I0f6708680eb37cf8e7dc63cae56b639eaf7c8dbd
2014-07-16 18:04:26 -07:00
Michael Wright
bdf28e4025 Add OP_PROJECT_MEDIA to AppOps
Bug: 9905068
Change-Id: Ie929cfbe0001f6e6645316ea8b2eca13aab35675
2014-07-16 00:04:19 +00:00
Lifu Tang
42fa973457 Avoid removing switch even listener multiple times
- Fix b/16118646

Change-Id: I36cdc5c8d98dfb63924737af40efff35b9ca2e66
2014-07-16 23:12:03 +00:00
PauloftheWest
b64a1f2fde Merge "Added Wifi Assistant Card" into lmp-dev 2014-07-16 16:25:13 +00:00
PauloftheWest
060e01a93e Added Wifi Assistant Card
+ Show Wi-Fi Assistant card above network list that scroll under the action bar with the rest of the list
+ Display a promo image and text
+ Clicking "Setup" should link to the selected Wi-Fi assistant app (must be open to 3rd parties)
+ Touching "No, Thanks" should snooze this card for 30 days / 2nd time 90 / 3rd time 180 days / then forever

Bug: 15703202

Change-Id: If74101bea630246c6bda2de3ed79fee72eca4c0c
2014-07-16 15:46:09 -07:00
Alexandra Gherghina
6f877156e0 Merge "Only show AccountSyncSettings when we have an account" into lmp-dev 2014-07-16 00:46:50 +00:00
Alexandra Gherghina
defdfc54bb Only show AccountSyncSettings when we have an account
Also removes useless list of accounts

Bug: 16295803
Change-Id: Ida3c1846327874af9f97695a485b12ec689fd343
2014-07-16 13:27:26 +01:00
Fabrice Di Meglio
fd1415d204 Merge "Fix bug #16319697 ACTION_DEVICE_INFO_SETTINGS intent causes Settings app to crash" into lmp-dev 2014-07-15 20:35:01 +00:00
Fabrice Di Meglio
1b18665dbc Fix bug #16319697 ACTION_DEVICE_INFO_SETTINGS intent causes Settings app to crash
- fix the way we are passing switchBarMarginStart / switchBarMarginEnd

Change-Id: Ic6e67643be10877a74ae68075460fa5fd4cc5da1
2014-07-15 18:52:37 -07:00
Jeff Davidson
eda4acbb49 Fix excessively long logtag.
Change-Id: Idb0846269623550d891d8e98765d630a17da7d14
2014-07-16 01:51:55 +00:00
Paul Lawrence
41eb85226c Merge "Make crypt dialogs material" into lmp-dev 2014-07-15 20:35:01 +00:00
Paul Lawrence
89c7570dd4 Make crypt dialogs material
White on black material theme
Center text
Remove fade to black task
Fix emergency call button

Note - does not implement all requirements of frames in the defect. More
to follow.

Bug: 15328359
Change-Id: I878e59dccffff366ba2484bb77482e168cbd2b81
2014-07-16 08:07:35 -07:00
Maurice Lam
ca1ad09280 Merge "[WifiSetup] Make illustration header not clickable" into lmp-dev 2014-07-15 20:35:01 +00:00
Maurice Lam
5aee7d5c68 [WifiSetup] Make illustration header not clickable
No more "pop" sound when the illustration is tapped on.

Bug: 16331851
Change-Id: Ib528e1d6f669f71e0c2f24164726cee47b06700b
2014-07-15 18:24:18 -07:00
Chris Wren
62a8aa7ac9 Merge "Implement application-level high priority setting." into lmp-dev 2014-07-15 16:05:17 +00:00
Alan Viverette
97e5aac732 Use activity for brightness dialog
BUG: 15512088
Change-Id: Ibe38525b78d06e97cdf7e6369ca8179ab63e59d7
2014-07-14 15:07:34 -07:00
Tadashi G. Takaoka
fc8202463e (DO NOT MERGE) Refactor InputMethodAndSubtypeEnabler to separate loops
Change-Id: I1b7d26c37293e03dc20f87d60eb146017a574c47
(cherry picked from commit 61d97ddda8)
2014-07-15 02:51:57 +00:00
Tadashi G. Takaoka
989c364f2d (DO NOT MERGE) Refactor InputMethodAndSubtypeEnabler a bit
Change-Id: Id91b62ed084f98e3a6dc724aac9d926d89a96201
(cherry picked from commit a5db65fe11)
2014-07-15 02:49:36 +00:00
Amith Yamasani
04b550e27a Merge "Handle android.settings.HOME_SETTINGS intent" into lmp-dev 2014-07-15 00:22:01 +00:00
Amith Yamasani
3033ce0723 Handle android.settings.HOME_SETTINGS intent
Launch the Home picker activity for the new public intent.

Bug: 16303152
Change-Id: I91cfffdec6c8ed13d3b0e57d7903b4a06dcbb6e6
2014-07-14 18:03:15 -07:00
Lifu Tang
218f99c0e5 Register the listener for switch during onResume
- Fix b/16118646

Change-Id: I9ec87422ecc4e05ca332e116af71c07f06c6c65a
2014-07-14 21:06:26 +00:00
Chris Wren
a7d0062efd Implement application-level high priority setting.
Bug: 15080024
Change-Id: I87a68cf89a643096ae374d0a808f820814e0b81b
Depends-On: Ib1d3b0b5ca4fcfdc52c2cb6838a009b9addf1094
2014-07-14 18:52:02 +00:00
Jason Monk
f43bbeb247 Revert "Add lock-to-app to settings"
This reverts commit 315070d58b.

Change-Id: Id78311a4e0f371a87c975cc97587a404e0dfdb7f
2014-07-14 16:44:56 +00:00
Alexandra Gherghina
cfc7f9d960 Remove old accounts tile, replaced by a separate screen
Bug: 15815948
Bug: 15819268
Change-Id: I3b6978cff346c73cca1d6a2c209ffe4c71808244
2014-07-14 10:02:14 +01:00
Paul Lawrence
02701420bb Merge "Don't put credentials in results from externally accessible activities" 2014-07-10 20:49:26 +00:00
Tadashi G. Takaoka
72c2a6e5c2 Small refactor, remove unused/unnecessary code, and cosmetic fix
Change-Id: Ia0771f547b0489d3519faf23495e5c6bdfefa42e
2014-07-12 20:19:14 +09:00
Tadashi G. Takaoka
55aee12406 Remove Collator from InputMethodSubtypePreference
Change-Id: Id1eb16aee77460c5c930ad08e1354501bfd0b5ab
2014-07-12 16:27:59 +09:00
Tadashi G. Takaoka
47a359a7da Refactor InputMethodSubtypePreference constructor
Change-Id: I959c0be5ebe4f39ca0b06e3f1b262a10f214c5bd
2014-07-12 16:16:07 +09:00
Tadashi G. Takaoka
d3f4618f1d Make InputMethodSubtypePreference as a top level class
Change-Id: I07d974f161ecd68e5422b0ae1c369a502ab8b1a9
2014-07-12 15:22:54 +09:00
PauloftheWest
059a70fdc0 Numerous minor updates for Bluetooth Settings
+ Remove top "this device" item from the list
+ Upon opening Bluetooth settings, cue a search for available, pair-ready devices
+ Upon opening Bluetooth settings, make the phone/tablet visible to other devices
+ Keep phone/tablet visible as long Bluetooth settings is open and screen is on
+ Filter this list so that only pair-ready devices are displayed
+ Add non-interactive text “<Device name> is now visible to nearby devices” at the bottom of the available devices list

Overflow menu:
- Remove “visibility timeout”
+ Replace “Search for devices” with “Refresh”

Bug: 15716927

Change-Id: I7c5225784af9bfb48dde511e05503ddc59be2b2b
2014-07-11 16:52:47 -07:00
PauloftheWest
cc4e973d72 Merge "Add BT message access" 2014-07-10 21:35:02 +00:00
PauloftheWest
c9dc66d605 Add BT message access
+ List available email accounts
+ Allow for turning each account on/off with switches--making the message content available to bluetooth devices that can read emails (like cars)

Bug: 15720425

Change-Id: Ia0c91c1e74a2644fc99a8b902c42212453d8f86e
2014-07-11 15:55:00 -07:00
Zoltan Szatmary-Ban
36d2bdaddd Merge "Update Battery Settings for Enterprise" 2014-07-10 20:28:35 +00:00
Tadashi G. Takaoka
cd6fdead7c Reorganize spell checkers settings
Bug: 15976603
Bug: 16115751
Change-Id: I3b23d7f01d8d39da27215a5263b12304ac64db0f
2014-07-11 19:51:30 +09:00
Fabrice Di Meglio
f7ef68712f Merge "FR #14318673 Search - add synonyms" 2014-07-10 20:49:26 +00:00
Fabrice Di Meglio
e6b336d1a0 FR #14318673 Search - add synonyms
- add synonyms to be indexed at the same time as titles and sub-titles
- fix Wi-Fi keywords

Change-Id: I1cb026775592c29c2b813153574c6695e3e90f31
2014-07-10 15:05:51 -07:00
Fabrice Di Meglio
957ccf30b9 Search - add support for saving the UserId in the Index - part 2
- get UserId for remote SearchIndexablesProvider and put it into
the Index too

This CL depends on that Framework CL: a0791edf01524be7c9ae819b11c05e8191a97ded

See bug: ##15837747 Search - update for Enterprise support

Change-Id: I47789aa02545bbacc68468cabfb32a253003ec5b
2014-07-10 12:16:02 -07:00
Fabrice Di Meglio
0a3931d8fe Merge "Search - add support for saving the UserId in the Index - part 2" 2014-07-10 18:27:37 +00:00
Paul Lawrence
204440427a Don't put credentials in results from externally accessible activities
ConfirmLockPattern and ConfirmLockPassword return an intent that contains the
password, and as such are dangerous. Create internal versions that are locked
down, and don't put this info in the externally accessible versions.

Bug: 13741939
Change-Id: I0df4d1e720b3c33d2c9ca086636dc54f17b19bf0
2014-07-10 10:23:12 -07:00
Andres Morales
7568392c00 Don't try to set OEM checkbox if not available
Bug: 16199128
Change-Id: I09765de60d60a2351f915607e737db90fbd90c9e
2014-07-10 09:49:09 -07:00
Fabrice Di Meglio
d17a15bbc4 Search - add support for saving the UserId in the Index
- add the new "user_id" colum
- use -1 as a default value

This CL depends on that Framework CL for SearchIndexableData: 0d94539e67e997ed7687f33854fc581ce4668da5

See bug: #15837747 Search - update for Enterprise support

Change-Id: I0cf2866600732e8e99006050bf9ad388fa44b509
2014-07-10 16:39:43 +00:00
Zoltan Szatmary-Ban
298f325f54 Update Battery Settings for Enterprise
Items related to the managed profile should show up on the
Battery usage list in Settings.

Bug: 15466789
Change-Id: Iaa5f5752130423a30dad3b0354fe558a17d3d9b3
2014-07-10 13:03:07 +01:00