Commit Graph

5001 Commits

Author SHA1 Message Date
Lifu Tang
8a4c53ac2b Limits the broadcast to system apps only
- Part of b/10974059

Change-Id: I1f0b6eeece88a2ee29b76636b9ce58dcc3d71aad
2013-10-08 16:23:52 -07:00
Svetoslav
31962228aa Merge "Fix a crash in the print service settigns." into klp-dev 2013-10-08 21:28:22 +00:00
Christopher Tate
eff0927df2 Merge "Once we decide to show Home settings, keep it shown forever" into klp-dev 2013-10-08 21:20:13 +00:00
Svetoslav
39392ef9b0 Fix a crash in the print service settigns.
When the search view is attached and detached we announce that
 for accessibility. The trouble is that if the activity is being
 torn down we are trying to access resources from a fragment that
 is detached and the qcrash occurs. This change does not try to
 access resources if the activity is finishing and also we do not
 load resource strings if accessibility is not enabled.

bug:11127814

Change-Id: If3e97b6e94687775386a43c8fa54fd45140306eb
2013-10-08 12:08:18 -07:00
Christopher Tate
dc7be10734 Once we decide to show Home settings, keep it shown forever
Principle of Least Surprise FTW.

Bug 11131794

Change-Id: I1df720fa86fb870aa74a5d0074ca966843317f12
2013-10-08 11:33:03 -07:00
Lifu Tang
1673fbc029 Broadcasting a message for mode changing
- Fix b/10974059

Change-Id: I219ea35e65a36af9f041a487dd8039bb5e2f048b
2013-10-08 09:48:41 -07:00
Chris Wren
a50f78515e Merge "Hide Camera in CryptKeeperConfirm" into klp-dev 2013-10-07 20:01:35 +00:00
David Braun
1c17255d5e Block "SMS Default Dialog" on non-phone devices
This change also handles the case where getDefaultSmsApplication returns
null more elegantly, though this is only really possible on a device that
is a tablet (blocked earlier in the method) or a phone device that had no
SMS apps at boot (when we force the setting of an SMS app.)

Bug: 11072894 People app should not launch into default SMS app on tablets
Change-Id: I1e253873e053c21bc1652bd03d7b486aaf9be5e1
2013-10-07 09:35:52 -07:00
Chris Wren
0481dc7172 Hide Camera in CryptKeeperConfirm
Bug: 10900437
Change-Id: Ie9bbe3bacba6fb37ddd6c2753e011dc7abb63c77
2013-10-07 01:11:08 -04:00
Svetoslav
9379d93555 Make printers for a print service not react to press.
We show a list of printers for the a print service in the
print service settings activity. This list is there to
inform the user of which printers are available and
optionally offers adding a printer affordance. The printer
list items do nothing so they should not react to press
and create a false impression they do.

bug:10983508

Change-Id: I43b19ebb0acf6662c489826c192fd6daf8ad103d
2013-10-04 17:52:39 -07:00
Amith Yamasani
c778bc560d Use a public media content uri for viewing local media files
Bug: 11061566
Change-Id: I7e049f48d37a68a0a41b7a62383eea71f3938c44
2013-10-04 14:59:40 -07:00
Amith Yamasani
16d358daf0 Merge "Exit restrictions fragment if user was deleted" into klp-dev 2013-10-04 19:55:18 +00:00
Vinit Deshapnde
db750e8f2c Merge "Fix EAP-TLS reconnect after reboot issue" into klp-dev 2013-10-04 18:20:42 +00:00
Amith Yamasani
38e7610512 Exit restrictions fragment if user was deleted
When resuming the restricted user fragment, make sure that the user still
exists, as it may have been deleted by the restricted user.

Bug: 11010340

Change-Id: I3360dbc42586c5bb28013844f8c788e641ad8b6a
2013-10-03 16:08:56 -07:00
Svetoslav
672b845eec Merge "Polish print settings accessibility." into klp-dev 2013-10-02 23:48:07 +00:00
Svetoslav
24e49f0613 Polish print settings accessibility.
bug:10983508

Change-Id: I986e28a2cd8e52b7c8422e825de9174d6e2377c3
2013-10-02 15:16:16 -07:00
Christopher Tate
e7358028d1 Merge "Back out of Home settings when penultimate home app is uninstalled" into klp-dev 2013-10-02 22:11:50 +00:00
Christopher Tate
e0d934fcb1 Back out of Home settings when penultimate home app is uninstalled
When the user deletes the last-but-one, there's nothing more that
they can do in Home settings (and we'll be suppressing it from the
top level of the Settings UI as well), so we now back out with
a dialog explaining the situation.

Bug 10918801

Change-Id: Id03169dace976f7de639e3b3ab3d50ed161258d8
2013-10-02 13:26:36 -07:00
Amith Yamasani
d462e86866 Merge "Load account type icons in a background thread before scrolling down" into klp-dev 2013-10-02 20:19:45 +00:00
David Braun
6e5956ebe2 Merge "Default SMS app setting should still be shown even if SIM is removed." into klp-dev 2013-10-02 20:15:35 +00:00
Amith Yamasani
2972c0136d Load account type icons in a background thread before scrolling down
This reduces the jank when scrolling down in top-level Settings if you
happen to have several account types like Google, Twitter, Facebook, etc.

In the process of doing this, discovered that headers get built even when
they're not showing (SubSettings). Skip setting up the headers, which can
be expensive when there are several accounts.

Bug: 11006601
Change-Id: I8b4eafdcc2fc2beecac01317c3c8f07a82febcc0
2013-10-02 11:48:46 -07:00
David Braun
d5b60019b2 Default SMS app setting should still be shown even if SIM is removed.
Change-Id: Ia7bd7b690a2637999b96438667ebd4e4bed96051
2013-10-01 17:10:46 -07:00
Svetoslav Ganov
ff75201aee Merge "Missing return statement if a print job is no longer present." into klp-dev 2013-10-01 21:30:36 +00:00
Lifu Tang
c120c6cf9f Fixed crash when rotating screen
- Fix b/11006855

Change-Id: I406727ca4260aae006e6128835f05f5f2ed9c1a3
2013-10-01 13:02:32 -07:00
Lifu Tang
5ab9fa432d Renamed "App settings" back to "Location services"
- Fix b/10610559

Change-Id: Id98a1b4e8d04238f371322fe6232647fa13b5c4a
2013-10-01 12:29:17 -07:00
Lifu Tang
c6578818d8 Merge "Make recent location app list package based" into klp-dev 2013-10-01 19:04:00 +00:00
Alon Albert
394b80ce5b Merge "Hide Camera in CryptKeeper" into klp-dev 2013-10-01 16:01:52 +00:00
Lifu Tang
5cbf971e19 Make recent location app list package based
- Link all items to app info pages instead of battery page

- Fix b/10855516

Change-Id: I241e81b179f468364b324ae714964fc3253cd2c9
2013-10-01 08:55:29 -07:00
Maggie Benthall
490e072c84 Merge "UX tweaks for CA cert monitoring" into klp-dev 2013-10-01 15:45:25 +00:00
Svetoslav Ganov
dc00bf6483 Missing return statement if a print job is no longer present.
bug:11012251

Change-Id: I2ea925d903571aa676e4c48d78b4c0c6a91d7af1
2013-10-01 00:23:51 -07:00
Alon Albert
66d050bb4b Hide Camera in CryptKeeper
Bug: 10993393

Change-Id: Idaddd01f099ae40283eb86fd92232845f9d436b8
2013-09-30 17:57:14 -07:00
Svetoslav
1b881bcc41 Merge "Show appropriate empty state if not printers are found." into klp-dev 2013-10-01 00:25:35 +00:00
Svetoslav
033b5739ba Merge "Remove Google Play specific search URIs from Settings." into klp-dev 2013-09-30 23:41:08 +00:00
Svetoslav
9a2ace9587 Show appropriate empty state if not printers are found.
One can search for printers in the print service settings
and we need to show appropriate empty state if none is found.

bug:11009053

Change-Id: If3ed6aa3a5e2eb4d7f7bae37f885e4b8eb0909b4
2013-09-30 16:22:33 -07:00
Svetoslav
5c30529368 Remove Google Play specific search URIs from Settings.
1. If there are no installed print services or NFC payment services,
   we would like to allow the user to search for one in Play. However,
   Play is Google specific and we should not have hard coded URI that
   rely on it in settings. Declare secure settings for each of these
   URI and check at runtime if the URI is non-empty, then show the
   add menu item.

bug:11011519

Change-Id: I2c5cb172015bbecd7d2f8ffd3cb7fd790b01dab8
2013-09-30 15:59:46 -07:00
Jim Miller
277827fb27 Merge "Disable keyguard widgets on low memory devices" into klp-dev 2013-09-30 20:38:10 +00:00
Jim Miller
0366d14fb8 Disable keyguard widgets on low memory devices
Fixes bug 10784493

Change-Id: Idc1c35faf0715814fa1a257319888945c82527c6
2013-09-30 13:27:39 -07:00
Martijn Coenen
81ab81778b Don't show tap&pay if NFC is off.
Bug: 11007036
Change-Id: Ie19609fa928b2806c76b8bd94cdfd1872b9da032
2013-09-30 12:07:02 -07:00
Vinit Deshapnde
6c0a193050 Fix EAP-TLS reconnect after reboot issue
After a reboot, KeyStore is locked, and certificates encrypted with user
PIN are not accessible. So statemachines are not able to connect to
EAP-TLS networks. This change makes the problem less severe by

1. Not signing certificates with user PIN on devices with hardware backed
KeyStore.
2. Issuing a reconnect upon first USER_PRESENT event.

This means HH (which has a hardware backed keystore) will connect to
EAP-TLS networks without requiring user intervention; and other devices
will automatically connect to those networks after user punches PIN.

Bug: 10325089

Change-Id: I023d60e58d8214152f051bd9ec84b85b702d829a
2013-09-30 10:41:39 -07:00
Dianne Hackborn
768dc8f729 Merge "Fix issue #10948509: Crash in procstats when there is no data" into klp-dev 2013-09-30 00:22:01 +00:00
Dianne Hackborn
5635594c38 Fix issue #10948509: Crash in procstats when there is no data
Also make us much better about determining which app to blame for
a particular running process, organize the display of services by
their owning app, apply some new heuristics for deciding what goes
in the process list so that we can still display interesting processes
when we haven't collected pss data for them yet, etc.

Change-Id: I7e87225d3dabc66cf3ff020b5db48401b14aaf47
2013-09-29 17:07:49 -07:00
Alan Viverette
77165f6d4b Merge "Restore default locale in Captioning Settings" into klp-dev 2013-09-27 23:13:05 +00:00
Martijn Coenen
86f74d2ad4 Merge "Tap & pay: change empty state UX and strings." into klp-dev 2013-09-27 22:37:37 +00:00
Martijn Coenen
b412e18296 Tap & pay: change empty state UX and strings.
Bug: 10965661
Change-Id: Iee0b8bf111ef2105babb0912942f5c764b75ac59
2013-09-27 14:51:46 -07:00
Alan Viverette
c402322a5b Restore default locale in Captioning Settings
BUG: 10967083
Change-Id: Id607a108d3d56a89fcecf345d2e12af88dc38690
2013-09-27 12:22:34 -07:00
Svetoslav
8181c8166f Merge "Add icons to the printer list items in settings." into klp-dev 2013-09-27 02:25:36 +00:00
Svetoslav
a749adae03 Add icons to the printer list items in settings.
bug:10955751

Change-Id: Iea87a9a07624d6e26274030a51f912f8d2ef0e10
2013-09-26 18:56:27 -07:00
Lifu Tang
4ba66781f3 Merge "Hacked to display Puzzle icon for GCore" into klp-dev 2013-09-27 00:18:22 +00:00
Lifu Tang
2f78d82ab3 Merge "Don't show help menu when browser unavailable" into klp-dev 2013-09-27 00:17:54 +00:00
Svetoslav Ganov
bc2c3db8f9 Add print job settings screen.
Added a list of active print jobs to the main print settings
screen. Selecting a print job from there leads to a print job
settings screen with more information about the print job and
actions to change the prit job state such as cancel and restart.

bug:10935736

Change-Id: Idd6826a998309941c3d8478dafe4b039c8ca4f45
2013-09-26 13:58:59 -07:00