OSDN Git Service

android-x86/packages-apps-Settings.git
9 years agoSettings: Ensure CryptKeeper dismisses secure keyguards.
John Spurlock [Wed, 17 Sep 2014 16:55:17 +0000 (12:55 -0400)]
Settings: Ensure CryptKeeper dismisses secure keyguards.

Otherwise, the lockscreen can be shown during the decryption
challenge, which hides the challenge activity window until
the next reboot.

Bug:17512377
Change-Id: Idb6b5b3dddb3cf2dc70b784413ea310c401880af

9 years agoMerge "[WifiSetup] Update connection state for auto-finish" into lmp-dev
Maurice Lam [Tue, 16 Sep 2014 18:35:38 +0000 (18:35 +0000)]
Merge "[WifiSetup] Update connection state for auto-finish" into lmp-dev

9 years ago[WifiSetup] Update connection state for auto-finish
Maurice Lam [Tue, 16 Sep 2014 03:40:26 +0000 (20:40 -0700)]
[WifiSetup] Update connection state for auto-finish

In Wi-Fi setup, when the connection state changed, query
ConnectivityManager for the latest Wi-Fi connection state instead of
relying the NetworkInfo attached in the intent, because the first
network info upon changing AP still shows the network as connected.

Bug: 17511772
Change-Id: I9c7765086dc8fbc5e1c2a37124ca89db3eab04a3

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Tue, 16 Sep 2014 15:16:36 +0000 (15:16 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoMerge "Alignment updates for Wi-Fi Settings dialog." into lmp-dev
PauloftheWest [Tue, 16 Sep 2014 02:13:29 +0000 (02:13 +0000)]
Merge "Alignment updates for Wi-Fi Settings dialog." into lmp-dev

9 years agoMigrates PBAP and MAP access permission data from Settings to Bluetooth.
Edward Jee [Mon, 8 Sep 2014 23:45:29 +0000 (16:45 -0700)]
Migrates PBAP and MAP access permission data from Settings to Bluetooth.

Currently, users' preference in phonebook and call history or message
access per each Bluetooth-paired device is stored in Settings application's
shared preferences.

However, some privileged applications other than Settings need to access
such data. So we decided to migrate the data from Settings application's
shared preferences to Bluetooth application's.

Bug: 17158953
Change-Id: I44fde350ea35027df0de77feec1ea19c65f2f1c6

9 years agoMerge "Do not show phonebook access permission dialog if pairing dialog has already...
Edward Jee [Tue, 16 Sep 2014 01:19:07 +0000 (01:19 +0000)]
Merge "Do not show phonebook access permission dialog if pairing dialog has already been shown." into lmp-dev

9 years agoAlignment updates for Wi-Fi Settings dialog.
PauloftheWest [Mon, 15 Sep 2014 16:27:25 +0000 (09:27 -0700)]
Alignment updates for Wi-Fi Settings dialog.

Bug: 17489021
Change-Id: Id394dbe67625cd33745ccbe0f58921fcc38115ec

9 years agoDo not show phonebook access permission dialog if pairing dialog has already been...
Edward Jee [Fri, 5 Sep 2014 05:18:21 +0000 (22:18 -0700)]
Do not show phonebook access permission dialog if pairing dialog has already been shown.

Bug: 169641161388694716345619

Change-Id: I9cf2622b49c3812771d57432fed030affaa5ba48

9 years agoMerge "Removed all references to "Google Wi-Fi Assistant" from Settings." into lmp-dev
PauloftheWest [Mon, 15 Sep 2014 21:25:13 +0000 (21:25 +0000)]
Merge "Removed all references to "Google Wi-Fi Assistant" from Settings." into lmp-dev

9 years agoLittle more on issue #17495264: tweak when we ignore initial times.
Dianne Hackborn [Sun, 14 Sep 2014 21:39:52 +0000 (14:39 -0700)]
Little more on issue #17495264: tweak when we ignore initial times.

Change-Id: I7053eb64d7d2281984baef9606334c2df4783cc5

9 years agoMerge "Fix issue #17495264: Battery history graph is bad" into lmp-dev
Dianne Hackborn [Mon, 15 Sep 2014 20:51:46 +0000 (20:51 +0000)]
Merge "Fix issue #17495264: Battery history graph is bad" into lmp-dev

9 years ago[WifiSetup] Disable app starting window
Maurice Lam [Mon, 15 Sep 2014 18:40:34 +0000 (11:40 -0700)]
[WifiSetup] Disable app starting window

Disable the app starting window when start WifiSetupActivity so that
there will not be a blank black screen the first time this activity
is started.

Bug: 17457465
Change-Id: I4fa019a603a088d458fa9bcf126364fbb49b1b1f

9 years agoRemoved all references to "Google Wi-Fi Assistant" from Settings.
PauloftheWest [Thu, 11 Sep 2014 23:10:18 +0000 (16:10 -0700)]
Removed all references to "Google Wi-Fi Assistant" from Settings.

+ Removed Wi-Fi Assistant message in Wi-Fi Advanced since it was
overridden by the Wi-Fi Assistant.
+ Removed Wi-Fi Assistant message in Wi-Fi Assistant Card.  Instead,
it is programatically created when the scorer is known.
+ "Google" was replaced with a placeholder.

Bug: 17457236
Change-Id: If3aab06c911ecf6ec13cbf00dea2fe9333abc1fc

9 years agoMerge "Updated Wi-Fi Settings icons to new filled-in teal format." into lmp-dev
PauloftheWest [Mon, 15 Sep 2014 14:35:45 +0000 (14:35 +0000)]
Merge "Updated Wi-Fi Settings icons to new filled-in teal format." into lmp-dev

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 15 Sep 2014 06:05:45 +0000 (23:05 -0700)]
Import translations. DO NOT MERGE

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

9 years agoFix issue #17495264: Battery history graph is bad
Dianne Hackborn [Sun, 14 Sep 2014 21:39:52 +0000 (14:39 -0700)]
Fix issue #17495264: Battery history graph is bad

Deal better with wall clock time changes in the battery history.

Change-Id: I9d63edafc37bbf663e328a08ba09300be2142594

9 years agoMerge "Remove UI for Forget AP as a secondary user." into lmp-dev
Prem Kumar [Sun, 14 Sep 2014 23:51:21 +0000 (23:51 +0000)]
Merge "Remove UI for Forget AP as a secondary user." into lmp-dev

9 years agoMerge "Settings: Use new PowerManager call to set low power mode." into lmp-dev
John Spurlock [Sun, 14 Sep 2014 19:36:18 +0000 (19:36 +0000)]
Merge "Settings: Use new PowerManager call to set low power mode." into lmp-dev

9 years agoSettings: Use new PowerManager call to set low power mode.
John Spurlock [Sun, 14 Sep 2014 15:20:37 +0000 (11:20 -0400)]
Settings: Use new PowerManager call to set low power mode.

Bind the master switch to the power manager state instead
of directly to the single setting.

Depends on frameworks/base change:
  Ic030504c9cad9868a7137abbe837b170da37852b

Bug:17460535
Change-Id: I8c68735308f58fdc07d4f64e765e84286918be7a

9 years agoRenaming Telecomm to Telecom.
Tyler Gunn [Wed, 10 Sep 2014 22:21:33 +0000 (15:21 -0700)]
Renaming Telecomm to Telecom.

- Changing package from android.telecomm to android.telecom
- Changing package from com.android.telecomm to
com.android.server.telecomm.
- Renaming TelecommManager to TelecomManager.

Bug: 17364651
Change-Id: Ia6e2d082eac1c1f306da691e95dd9bfb9afd37eb

9 years agoMerge "Prevent PIN/Passwword disappearing during boot" into lmp-dev
Paul Lawrence [Fri, 12 Sep 2014 21:44:48 +0000 (21:44 +0000)]
Merge "Prevent PIN/Passwword disappearing during boot" into lmp-dev

9 years agoPrevent PIN/Passwword disappearing during boot
Paul Lawrence [Wed, 14 May 2014 20:57:06 +0000 (13:57 -0700)]
Prevent PIN/Passwword disappearing during boot

During startup, when the telephony service starts, a configChange is sent
to the CryptKeeper activity, causing it to lose its data.

Ignore this change since it is immaterial to what we display.

Bug: 17421115

Change-Id: I83f867f3de5d90ff1050e3906da142d99fd6c276

9 years agoMerge "Fix crash when showing accounts." into lmp-dev
Kenny Guy [Fri, 12 Sep 2014 19:17:09 +0000 (19:17 +0000)]
Merge "Fix crash when showing accounts." into lmp-dev

9 years agoFix crash when showing accounts.
Kenny Guy [Fri, 12 Sep 2014 18:49:11 +0000 (19:49 +0100)]
Fix crash when showing accounts.

Accounts page crashed when showing a disabled
manged profile.

Bug: 17486462
Change-Id: Iaaef23e135ee723bcf0d3101d85f9f0422b64c33

9 years agoMerge "Switch to using system-wide default user icons" into lmp-dev
Alexandra Gherghina [Fri, 12 Sep 2014 16:03:52 +0000 (16:03 +0000)]
Merge "Switch to using system-wide default user icons" into lmp-dev

9 years agoSwitch to using system-wide default user icons
Alexandra Gherghina [Wed, 3 Sep 2014 09:22:09 +0000 (10:22 +0100)]
Switch to using system-wide default user icons

User icons were either User Settings specific, or missing. This makes it
consistent with the ones in the new helper class.

Bug: 17311038
Change-Id: I20cc1deba989cf7a397c5a8dba41bd91bd62472b

9 years agoUpdated Wi-Fi Settings icons to new filled-in teal format.
PauloftheWest [Thu, 11 Sep 2014 22:21:00 +0000 (15:21 -0700)]
Updated Wi-Fi Settings icons to new filled-in teal format.

+ Added a filled-in teal Wi-Fi unlocked and locked icons.
+ Added a teal theme to Settings.
+ Updated Wi-Fi Settings and Setup Wizard to use the new teal format.
+ Updated the Settings icon (used in the Settings dashboard and in
search) to the new format.

Bug: 17331199
Change-Id: I0565ef6f2fa1be035c1bd150ea853cb976dc504c

9 years agoMerge "Fixed multiple Bluetooth Settings crashes." into lmp-dev
PauloftheWest [Fri, 12 Sep 2014 13:06:41 +0000 (13:06 +0000)]
Merge "Fixed multiple Bluetooth Settings crashes." into lmp-dev

9 years agoMerge "Fix some things in settings: manage apps, battery, procstats" into lmp-dev
Dianne Hackborn [Fri, 12 Sep 2014 02:24:16 +0000 (02:24 +0000)]
Merge "Fix some things in settings: manage apps, battery, procstats" into lmp-dev

9 years agoFix some things in settings: manage apps, battery, procstats
Dianne Hackborn [Fri, 12 Sep 2014 01:09:29 +0000 (18:09 -0700)]
Fix some things in settings: manage apps, battery, procstats

Issue #17461567: java.lang.ArithmeticException: divide by zero when
looking at Settings > Battery

Yeah, let's not do that.

Issue #17365562: Running services RAM totals are wrong

Okay so like a few months ago, I had this vacation coming up, and
it was around the feature complete (hahah) deadline, and I had to
rush to get this in before I left.  So I rushed.  And, well, I forgot
a few things.  Here they are.  We now show the right numbers and
even update things correctly when you change what processes are
being shown.  Wow.

Finally, fixed a few issues in the dev tools procstats UI.

Change-Id: I8348a9c2ec3226a455c5c8465729e4487f324c8b

9 years agoFix settings crash in print job screen.
Svetoslav [Thu, 11 Sep 2014 21:30:13 +0000 (14:30 -0700)]
Fix settings crash in print job screen.

The code was looking up the print job from the print manager
based on the lifecycle event of the hosting fragment. There
was a case missing and the print job not initialized on
rotation. This change looks up the job lazily making the
code more robust.

bug:17471952

Change-Id: I00075e161f69ca711bac6857f5ec00c20b5b17a0

9 years agoFixed multiple Bluetooth Settings crashes.
PauloftheWest [Wed, 10 Sep 2014 13:45:00 +0000 (06:45 -0700)]
Fixed multiple Bluetooth Settings crashes.

+ Fixed a crash when selecting On/Off multiple times on an input device.
+ Fixed a crash when visiting different Bluetooth Settings after
disabling an input device.

Bug: 17402421
Change-Id: I23efa3a36ba8cf0df02cf41397586a10dae9e08c

9 years agoMerge "Don't require CONNECTIVITY_INTERNAL check for protected broadcasts" into lmp-dev
Vinit Deshpande [Thu, 11 Sep 2014 18:16:59 +0000 (18:16 +0000)]
Merge "Don't require CONNECTIVITY_INTERNAL check for protected broadcasts" into lmp-dev

9 years agoMerge "Fix print icons in settings." into lmp-dev
Svetoslav [Thu, 11 Sep 2014 17:28:30 +0000 (17:28 +0000)]
Merge "Fix print icons in settings." into lmp-dev

9 years agoam ea2fa0d9: am db591467: am 737d2d53: am 61ced6d4: am 01137c20: am 663b4e97: am...
Carlos Valdivia [Thu, 11 Sep 2014 17:25:05 +0000 (17:25 +0000)]
am ea2fa0d9: am db591467: am 737d2d53: am 61ced6d4: am 01137c20: am 663b4e97: am 37b58a42: SECURITY: Don\'t pass a usable Pending Intent to 3rd parties.

* commit 'ea2fa0d98a9777e37815624bf3e4345b4c6df643':
  SECURITY: Don't pass a usable Pending Intent to 3rd parties.

9 years agoam db591467: am 737d2d53: am 61ced6d4: am 01137c20: am 663b4e97: am 37b58a42: SECURIT...
Carlos Valdivia [Thu, 11 Sep 2014 17:12:11 +0000 (17:12 +0000)]
am db591467: am 737d2d53: am 61ced6d4: am 01137c20: am 663b4e97: am 37b58a42: SECURITY: Don\'t pass a usable Pending Intent to 3rd parties.

* commit 'db591467f6ae0e082c0ce627874a851f1926d63a':
  SECURITY: Don't pass a usable Pending Intent to 3rd parties.

9 years agoam 737d2d53: am 61ced6d4: am 01137c20: am 663b4e97: am 37b58a42: SECURITY: Don\'t...
Carlos Valdivia [Thu, 11 Sep 2014 17:05:31 +0000 (17:05 +0000)]
am 737d2d53: am 61ced6d4: am 01137c20: am 663b4e97: am 37b58a42: SECURITY: Don\'t pass a usable Pending Intent to 3rd parties.

* commit '737d2d538b81ee843192d229ef558e69f2a944a9':
  SECURITY: Don't pass a usable Pending Intent to 3rd parties.

9 years agoam 61ced6d4: am 01137c20: am 663b4e97: am 37b58a42: SECURITY: Don\'t pass a usable...
Carlos Valdivia [Thu, 11 Sep 2014 16:59:49 +0000 (16:59 +0000)]
am 61ced6d4: am 01137c20: am 663b4e97: am 37b58a42: SECURITY: Don\'t pass a usable Pending Intent to 3rd parties.

* commit '61ced6d4270b86c336520856cb1545865cb01107':
  SECURITY: Don't pass a usable Pending Intent to 3rd parties.

9 years agoam 01137c20: am 663b4e97: am 37b58a42: SECURITY: Don\'t pass a usable Pending Intent...
Carlos Valdivia [Thu, 11 Sep 2014 16:49:32 +0000 (16:49 +0000)]
am 01137c20: am 663b4e97: am 37b58a42: SECURITY: Don\'t pass a usable Pending Intent to 3rd parties.

* commit '01137c2004a617dae870f9c07b34a29f8706b615':
  SECURITY: Don't pass a usable Pending Intent to 3rd parties.

9 years agoam 663b4e97: am 37b58a42: SECURITY: Don\'t pass a usable Pending Intent to 3rd parties.
Carlos Valdivia [Thu, 11 Sep 2014 16:42:54 +0000 (16:42 +0000)]
am 663b4e97: am 37b58a42: SECURITY: Don\'t pass a usable Pending Intent to 3rd parties.

* commit '663b4e9733e3c9dbfd2966f52edc2c7f7cff55c4':
  SECURITY: Don't pass a usable Pending Intent to 3rd parties.

9 years agoam 37b58a42: SECURITY: Don\'t pass a usable Pending Intent to 3rd parties.
Carlos Valdivia [Thu, 11 Sep 2014 16:37:09 +0000 (16:37 +0000)]
am 37b58a42: SECURITY: Don\'t pass a usable Pending Intent to 3rd parties.

* commit '37b58a420ff59254cbe9420c64685fdb7ea4e375':
  SECURITY: Don't pass a usable Pending Intent to 3rd parties.

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Thu, 11 Sep 2014 15:49:25 +0000 (15:49 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoMerge "Show a better list of apps." into lmp-dev
Dan Sandler [Thu, 11 Sep 2014 11:58:54 +0000 (11:58 +0000)]
Merge "Show a better list of apps." into lmp-dev

9 years agoMerge "Check for DeviceAdminInfo type before casting" into lmp-dev
Zoltan Szatmary-Ban [Thu, 11 Sep 2014 10:52:56 +0000 (10:52 +0000)]
Merge "Check for DeviceAdminInfo type before casting" into lmp-dev

9 years agoMerge "Fixing Trusted Credentials Settings crash" into lmp-dev
Zoltan Szatmary-Ban [Thu, 11 Sep 2014 09:23:53 +0000 (09:23 +0000)]
Merge "Fixing Trusted Credentials Settings crash" into lmp-dev

9 years agoDon't require CONNECTIVITY_INTERNAL check for protected broadcasts
Vinit Deshpande [Thu, 11 Sep 2014 01:38:26 +0000 (18:38 -0700)]
Don't require CONNECTIVITY_INTERNAL check for protected broadcasts

This change removes requirement that sender has this permission for
protected broadcasts (since they can only come from framework)

Bug: 17409667

Change-Id: I3431c20a4ed28b3ba2bfc3cf53772e63a3424a2c

9 years agoFix print icons in settings.
Svetoslav [Thu, 11 Sep 2014 01:33:25 +0000 (18:33 -0700)]
Fix print icons in settings.

The print icons are in the framework resources and are not tinted
to enable usage from various places such as print spooler and
settings with different tinting. Settings was using not-tinted
print icons which were invisible on the white background. This
change switches settings to user tinted drawables.

bug:16966145

Change-Id: I2cf55d36d90b0192ba23686aac4f1d8e7e23f75a

9 years agoMerge "Fix bug #17459965 Take photo for Profile twice leads to "A resource was acquir...
Fabrice Di Meglio [Thu, 11 Sep 2014 00:23:32 +0000 (00:23 +0000)]
Merge "Fix bug #17459965 Take photo for Profile twice leads to "A resource was acquired at attached stack trace but never released" into lmp-dev

9 years agoFix bug #17459965 Take photo for Profile twice leads to "A resource was acquired...
Fabrice Di Meglio [Wed, 10 Sep 2014 23:35:36 +0000 (16:35 -0700)]
Fix bug #17459965 Take photo for Profile twice leads to "A resource was acquired at attached stack trace but never released

- close the stream properly in all cases

Change-Id: I3a593be534ea444a2e2659458918cce221891456

9 years agoAdded bluetooth_device_settings_header to fix build breakage.
PauloftheWest [Wed, 10 Sep 2014 22:51:47 +0000 (15:51 -0700)]
Added bluetooth_device_settings_header to fix build breakage.

Change-Id: Ieca78c6bc34119e0cccc51a27cbcbf966b913bb1

9 years agoMerge "Keep unlock attempt count after configuration change" into lmp-dev
Jim Miller [Wed, 10 Sep 2014 22:18:22 +0000 (22:18 +0000)]
Merge "Keep unlock attempt count after configuration change" into lmp-dev

9 years agoMerge "Made Bluetooth device dialog fully scrollable." into lmp-dev
PauloftheWest [Wed, 10 Sep 2014 22:11:56 +0000 (22:11 +0000)]
Merge "Made Bluetooth device dialog fully scrollable." into lmp-dev

9 years agoSettings: Remove fixed dropdown width from "From" pref.
John Spurlock [Wed, 10 Sep 2014 21:49:28 +0000 (17:49 -0400)]
Settings: Remove fixed dropdown width from "From" pref.

Bug:17457729
Change-Id: I99d294f43211765e410af53e87bb96b06715c0e3

9 years agoMerge "Updated Bluetooth keyboard icon to teal." into lmp-dev
PauloftheWest [Wed, 10 Sep 2014 21:35:15 +0000 (21:35 +0000)]
Merge "Updated Bluetooth keyboard icon to teal." into lmp-dev

9 years agoMade Bluetooth device dialog fully scrollable.
PauloftheWest [Wed, 10 Sep 2014 17:29:19 +0000 (10:29 -0700)]
Made Bluetooth device dialog fully scrollable.

+ Also updated padding around Available Devices.
+ Also updated opacity on Bluetooth's "your device is visible" message.

Bug: 17398966
Change-Id: Id9631334ee0f3a01e40b00470d6debf6a31abe47

9 years agoUpdated Bluetooth keyboard icon to teal.
PauloftheWest [Wed, 10 Sep 2014 21:21:44 +0000 (14:21 -0700)]
Updated Bluetooth keyboard icon to teal.

Bug: 17140804
Change-Id: I59a4c0ff81b723ff4676b607e3da6cdc5c73625e

9 years agoSECURITY: Don't pass a usable Pending Intent to 3rd parties.
Carlos Valdivia [Mon, 8 Sep 2014 00:45:58 +0000 (17:45 -0700)]
SECURITY: Don't pass a usable Pending Intent to 3rd parties.

Unfortunately the Settings app has super powers. We shouldn't let
untrusted 3rd party authenticators re-purpose those powers to their own
nefarious ends.  This means that we shouldn't pass along PendingIntents
that can have addressing information (component, action, category)
filled in by third parties.

Bug: 17356824
Change-Id: I397d26c5f465ddfb0e58bbc66cd44756e58cc507
(cherry picked from commit f5d3e74ecc2b973941d8adbe40c6b23094b5abb7)

9 years agoKeep unlock attempt count after configuration change
Jorim Jaggi [Tue, 9 Sep 2014 16:25:46 +0000 (18:25 +0200)]
Keep unlock attempt count after configuration change

Bug: 17416448
Change-Id: I79839a5e8020b184dd8928b47fc018d5209988ed

9 years agoAdding zen mode condition dialog
Jason Monk [Mon, 8 Sep 2014 14:16:06 +0000 (10:16 -0400)]
Adding zen mode condition dialog

So that when you turn on priority or none in settings, you can
select the end condition.

Depends on framework changes: I9300af4f8b6d80042452b75db3418b20c5c5cc81

Bug: 15454830
Change-Id: I7856beabdd54de2ef10fa5c3d38bf27f36014693

9 years agoMerge "Fix bug #17449527 On Profile info alert box, profile picture button is unlabel...
Fabrice Di Meglio [Wed, 10 Sep 2014 20:14:15 +0000 (20:14 +0000)]
Merge "Fix bug #17449527 On Profile info alert box, profile picture button is unlabeled in accessibility" into lmp-dev

9 years agoFix bug #17449527 On Profile info alert box, profile picture button is unlabeled...
Fabrice Di Meglio [Wed, 10 Sep 2014 20:12:25 +0000 (13:12 -0700)]
Fix bug #17449527 On Profile info alert box, profile picture button is unlabeled in accessibility

- add missing string

Change-Id: I9c6a50353075b05d0f80d112c999b2579cdb6676

9 years agoShow a better list of apps.
Dan Sandler [Wed, 10 Sep 2014 13:54:28 +0000 (09:54 -0400)]
Show a better list of apps.

By using the new LauncherApps service we can make sure to
use the same filter that launchers do. (For example, many apps
don't set CATEGORY_DEFAULT on their front door activity.)

Bug: 17423134
Change-Id: I9538f306c9e2a8607b0c25b1a9a6ac3a7879a2c8

9 years agoSettings: Use the same day sequence for downtime.
John Spurlock [Wed, 10 Sep 2014 15:38:30 +0000 (11:38 -0400)]
Settings: Use the same day sequence for downtime.

Make the starting day (Monday) the same between
the selection dialog and the summary text.

Bug:17390052

Change-Id: I4f884cb5e02c1cc2642ab05915cd94c655b9f362

9 years agoSettings: Make downtime days scrollable.
John Spurlock [Wed, 10 Sep 2014 14:04:44 +0000 (10:04 -0400)]
Settings: Make downtime days scrollable.

Bug:17428288
Change-Id: I389aece9d79d002426a0bcb03d4a523293012892

9 years agoFixing Trusted Credentials Settings crash
Zoltan Szatmary-Ban [Wed, 10 Sep 2014 11:22:36 +0000 (12:22 +0100)]
Fixing Trusted Credentials Settings crash

List adapter's getCount method did not check for the case of uninitialised
data. This CL fixes that.

Bug:17437943
Change-Id: I72d7f2c92aa380b1aaafe0658bd920017ff23906

9 years agoMerge "Do not remove bonded devices from cached device list upon a device scan" into...
Matthew Xie [Wed, 10 Sep 2014 00:48:40 +0000 (00:48 +0000)]
Merge "Do not remove bonded devices from cached device list upon a device scan" into lmp-dev

9 years agoMerge "SECURITY: Prevent preference intents from exploiting settings." into lmp-dev
Carlos Valdivia [Wed, 10 Sep 2014 00:16:15 +0000 (00:16 +0000)]
Merge "SECURITY: Prevent preference intents from exploiting settings." into lmp-dev

9 years agoDo not remove bonded devices from cached device list upon a device scan
Matthew Xie [Tue, 9 Sep 2014 05:30:18 +0000 (22:30 -0700)]
Do not remove bonded devices from cached device list upon a device scan

Bug: 17405122

Change-Id: I3f5cc6ddc8f85d3b6223f9ff60e1d5eeb76c530a

9 years agoMerge "Always use the LocalePicker's preferred locale names." into lmp-dev
Elliott Hughes [Tue, 9 Sep 2014 21:49:39 +0000 (21:49 +0000)]
Merge "Always use the LocalePicker's preferred locale names." into lmp-dev

9 years agoAlways use the LocalePicker's preferred locale names.
Elliott Hughes [Tue, 9 Sep 2014 21:33:11 +0000 (14:33 -0700)]
Always use the LocalePicker's preferred locale names.

Without this change we have the odd situation where LocalePicker goes out of
its way to avoid saying certain things but then -- as long as there's more than
one locale for a given language -- Settings would happily report the name we'd
been avoiding. (Either because it's too specific or because it's too sensitive.)

Also remove the unused bit-rotted duplicate of the blacklist; even if we needed
to access that list directly, we should use LocalePicker's copy.

Bug: 17150708
Change-Id: I9bfa0bf9a82bebd29ba45f4cbeaabb4e78570779

9 years agoMerge "Fix layout issues with landscape pattern/password layouts" into lmp-dev
Jorim Jaggi [Tue, 9 Sep 2014 21:18:38 +0000 (21:18 +0000)]
Merge "Fix layout issues with landscape pattern/password layouts" into lmp-dev

9 years agoFix layout issues with landscape pattern/password layouts
Jorim Jaggi [Tue, 9 Sep 2014 16:25:46 +0000 (18:25 +0200)]
Fix layout issues with landscape pattern/password layouts

Bug: 17416448
Change-Id: I12067846b05659dc7b56fe61f872a4ba85941604

9 years agoMerge "Fixed a Null Pointer Error in Bluetooth Settings." into lmp-dev
PauloftheWest [Tue, 9 Sep 2014 20:45:59 +0000 (20:45 +0000)]
Merge "Fixed a Null Pointer Error in Bluetooth Settings." into lmp-dev

9 years agoMerge "Handle disallowed NFC beam restriction" into lmp-dev
Amith Yamasani [Tue, 9 Sep 2014 20:30:35 +0000 (20:30 +0000)]
Merge "Handle disallowed NFC beam restriction" into lmp-dev

9 years agoMerge "Make UsageAccess WarningDialog actually instatiatable." into lmp-dev
Adam Lesinski [Tue, 9 Sep 2014 20:30:11 +0000 (20:30 +0000)]
Merge "Make UsageAccess WarningDialog actually instatiatable." into lmp-dev

9 years agoHandle disallowed NFC beam restriction
Amith Yamasani [Tue, 9 Sep 2014 19:07:11 +0000 (12:07 -0700)]
Handle disallowed NFC beam restriction

Don't enable the beam setting and toggle if it is disallowed for
the current user.

Bug: 17387303
Change-Id: Ifdfe049bef281454c978a37acb49c59758344ae6

9 years agoMake UsageAccess WarningDialog actually instatiatable.
Adam Lesinski [Tue, 9 Sep 2014 18:34:55 +0000 (11:34 -0700)]
Make UsageAccess WarningDialog actually instatiatable.

The DialogFragment used for WarningDialog was not instatiatable
by the fragment manager.

Bug:17435234
Change-Id: I5f65dd1e0ec0b95d048934480bd5fafd8648ab7c

9 years agoSECURITY: Prevent preference intents from exploiting settings.
Carlos Valdivia [Tue, 9 Sep 2014 03:12:24 +0000 (20:12 -0700)]
SECURITY: Prevent preference intents from exploiting settings.

Settings has super powers because it shares the system uid. We prevent
those powers from being exploited by malicious authenticators by
checking the intents those authenticators provide.

We will only launch intents that resolve to Activities that are exported=true
or owned by the same UID as the authenticator.

Bug: 14408627
Change-Id: Ia179df8561d29745767dac0f3c97eb0f68083f59

9 years agoMerge "Removed connect button from Saved Networks dialog." into lmp-dev
PauloftheWest [Tue, 9 Sep 2014 18:00:49 +0000 (18:00 +0000)]
Merge "Removed connect button from Saved Networks dialog." into lmp-dev

9 years agoFixed a Null Pointer Error in Bluetooth Settings.
PauloftheWest [Tue, 9 Sep 2014 17:04:46 +0000 (10:04 -0700)]
Fixed a Null Pointer Error in Bluetooth Settings.

+ The root of the problem is that the callback for a device change may be
set before the fragment has a layout.  Then if a change does come in,
getView() would return null.  This fix delays registering the callback
until appropiate.

Bug: 17404518
Change-Id: Ibd0e90f82593d45729f427bcc2e40fe9195eb42a

9 years agoMerge "Update Trusted Credentials screen in settings" into lmp-dev
Zoltan Szatmary-Ban [Tue, 9 Sep 2014 11:05:54 +0000 (11:05 +0000)]
Merge "Update Trusted Credentials screen in settings" into lmp-dev

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 9 Sep 2014 05:39:52 +0000 (22:39 -0700)]
Import translations. DO NOT MERGE

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

9 years agoMerge "Start cleaning up percentage formatting in Settings." into lmp-dev
Elliott Hughes [Mon, 8 Sep 2014 23:26:20 +0000 (23:26 +0000)]
Merge "Start cleaning up percentage formatting in Settings." into lmp-dev

9 years agoRemoved connect button from Saved Networks dialog.
PauloftheWest [Fri, 5 Sep 2014 13:54:39 +0000 (06:54 -0700)]
Removed connect button from Saved Networks dialog.

Bug: 17065357
Change-Id: Idb46ac404b171733ccac271ba74188224ca2611d

9 years agoMerge "Fixed scrolling on the Wi-Fi Settings Dialog." into lmp-dev
PauloftheWest [Mon, 8 Sep 2014 22:34:50 +0000 (22:34 +0000)]
Merge "Fixed scrolling on the Wi-Fi Settings Dialog." into lmp-dev

9 years agoMerge "Disabled SIM Cards in Settings." into lmp-dev
PauloftheWest [Mon, 8 Sep 2014 22:02:11 +0000 (22:02 +0000)]
Merge "Disabled SIM Cards in Settings." into lmp-dev

9 years agoMerge "Material theme updates for Wifi Dialog." into lmp-dev
PauloftheWest [Mon, 8 Sep 2014 22:01:06 +0000 (22:01 +0000)]
Merge "Material theme updates for Wifi Dialog." into lmp-dev

9 years agoFixed scrolling on the Wi-Fi Settings Dialog.
PauloftheWest [Mon, 8 Sep 2014 21:52:37 +0000 (14:52 -0700)]
Fixed scrolling on the Wi-Fi Settings Dialog.

+ When needed, scrollbars will always appear on the Wi-Fi Settings Dialog.

Bug: 17166502
Change-Id: I7f61746b505d1a1476e987571dc757d01ce636df

9 years agoMaterial theme updates for Wifi Dialog.
PauloftheWest [Fri, 5 Sep 2014 20:52:26 +0000 (13:52 -0700)]
Material theme updates for Wifi Dialog.

Bug: 17014192
Change-Id: I1e5dd04199a433d8d1c5c4e4c48329e871e28db5

9 years agoDisabled SIM Cards in Settings.
PauloftheWest [Mon, 8 Sep 2014 18:08:41 +0000 (11:08 -0700)]
Disabled SIM Cards in Settings.

+ Multi-SIM has been punted out from the L release. This change disables
the SIM Cards UI while keeping the code base.

Bug: 16808006
Change-Id: I2bd7ad430a6309f3f2241cd26ec86268aa31b699

9 years agoMerge "Fix issue where can't FR Volantis if OEM unlock is enabled" into lmp-dev
Andres Morales [Mon, 8 Sep 2014 21:07:48 +0000 (21:07 +0000)]
Merge "Fix issue where can't FR Volantis if OEM unlock is enabled" into lmp-dev

9 years agoMerge "Turning Bluetooth on will make the device discoverable." into lmp-dev
PauloftheWest [Mon, 8 Sep 2014 21:00:11 +0000 (21:00 +0000)]
Merge "Turning Bluetooth on will make the device discoverable." into lmp-dev

9 years agoTurning Bluetooth on will make the device discoverable.
PauloftheWest [Thu, 4 Sep 2014 21:45:40 +0000 (14:45 -0700)]
Turning Bluetooth on will make the device discoverable.

Bug: 17368189
Change-Id: Ic526fb1ff9dcc15e6fe1db055a471cc570b6a2e1

9 years agoFix issue where can't FR Volantis if OEM unlock is enabled
Andres Morales [Mon, 8 Sep 2014 20:14:00 +0000 (13:14 -0700)]
Fix issue where can't FR Volantis if OEM unlock is enabled

Bug: 17426800
Change-Id: I02340d1ec4b80d9e3b05d35d36653c6ff4ff3232

9 years agoMerge "Use correct list index for search highlighting" into lmp-dev
Alan Viverette [Mon, 8 Sep 2014 19:47:53 +0000 (19:47 +0000)]
Merge "Use correct list index for search highlighting" into lmp-dev

9 years agoUse correct list index for search highlighting
Alan Viverette [Mon, 8 Sep 2014 19:40:59 +0000 (12:40 -0700)]
Use correct list index for search highlighting

BUG: 14974443
Change-Id: Iad3d3efb2449fc61636c221bde92169293bf5356

9 years agoMerge "prettify the wifi verbose logging string" into lmp-dev
vandwalle [Mon, 8 Sep 2014 19:22:39 +0000 (19:22 +0000)]
Merge "prettify the wifi verbose logging string" into lmp-dev

9 years agoMerge "Splits out ACTION_MAIN intent filter for Settings and doesn't forward it....
Alexandra Gherghina [Mon, 8 Sep 2014 19:13:09 +0000 (19:13 +0000)]
Merge "Splits out ACTION_MAIN intent filter for Settings and doesn't forward it." into lmp-dev

9 years agoMerge "SECURITY: Don't pass a usable Pending Intent to 3rd parties." into lmp-dev
Carlos Valdivia [Mon, 8 Sep 2014 18:21:03 +0000 (18:21 +0000)]
Merge "SECURITY: Don't pass a usable Pending Intent to 3rd parties." into lmp-dev