OSDN Git Service

android-x86/packages-apps-Settings.git
9 years agoTry not to crash while AppInfo is finishing
Jason Monk [Fri, 15 May 2015 17:05:46 +0000 (13:05 -0400)]
Try not to crash while AppInfo is finishing

Bug: 21025020
Change-Id: Iebb9e6b24ca503f87b5648f0aaf02dde01903488

9 years agomerge in mnc-release history after reset to mnc-dev
The Android Automerger [Mon, 18 May 2015 08:02:32 +0000 (01:02 -0700)]
merge in mnc-release history after reset to mnc-dev

9 years agoHide platform platform legacy permissions behind a menu option - settings.
Svet Ganov [Sun, 17 May 2015 05:59:38 +0000 (22:59 -0700)]
Hide platform platform legacy permissions behind a menu option - settings.

bug:21195624

Change-Id: Ib1dcfe2a15685c36e2a59e0921ea74d46ec9738c

9 years agomerge in mnc-release history after reset to mnc-dev
The Android Automerger [Sat, 16 May 2015 08:03:47 +0000 (01:03 -0700)]
merge in mnc-release history after reset to mnc-dev

9 years agoBanish the memory page to Apps > Advanced
Jason Monk [Fri, 15 May 2015 15:35:45 +0000 (11:35 -0400)]
Banish the memory page to Apps > Advanced

Bug: 21129029
Change-Id: I5ea6c88505e553a4340e9c60377952af7e802a44

9 years agoMerge "Initial pass at storage benchmarks." into mnc-dev
Jeff Sharkey [Fri, 15 May 2015 21:55:51 +0000 (21:55 +0000)]
Merge "Initial pass at storage benchmarks." into mnc-dev

9 years agoMerge "Reflect Wifi config lockdown restriction in Settings" into mnc-dev
Zoltan Szatmary-Ban [Fri, 15 May 2015 20:22:34 +0000 (20:22 +0000)]
Merge "Reflect Wifi config lockdown restriction in Settings" into mnc-dev

9 years agoBanish the memory page to Apps > Advanced
Jason Monk [Fri, 15 May 2015 15:35:45 +0000 (11:35 -0400)]
Banish the memory page to Apps > Advanced

Bug: 21129029
Change-Id: I5ea6c88505e553a4340e9c60377952af7e802a44

9 years agoInitial pass at storage benchmarks.
Jeff Sharkey [Fri, 15 May 2015 04:08:48 +0000 (21:08 -0700)]
Initial pass at storage benchmarks.

After adopting a disk, run benchmarks to compare its performance
against internal storage.

Bug: 21172095
Change-Id: I7c9a5a89e37f7156677fc76bd1ba193eead6665e

9 years agoAdd strings for fullbackup data erase confirmation
Matthew Williams [Fri, 15 May 2015 01:57:32 +0000 (18:57 -0700)]
Add strings for fullbackup data erase confirmation

Added a new string called fullbackup_erase_dialog_message which
will be displayed when the user has seen the "opted into dolly"
text.
Old string remains in place for the case where the user
hasn't seen the text.
BUG: 20489775

Change-Id: Id6675d1510cf1598f84fdfdcda7f6502a6cf6715

9 years agoFix crash when removing fingerprint
Jorim Jaggi [Wed, 13 May 2015 21:14:05 +0000 (14:14 -0700)]
Fix crash when removing fingerprint

Also fix a strings in fingerprint enrollment.

Bug: 21030545
Change-Id: I2d250b51a01f02bee014d4bc8e192d11199113e3

9 years agoMerge "Fix a typo." into mnc-dev
Svet Ganov [Thu, 14 May 2015 23:29:27 +0000 (23:29 +0000)]
Merge "Fix a typo." into mnc-dev

9 years agoFix a typo.
Svet Ganov [Thu, 14 May 2015 23:27:46 +0000 (16:27 -0700)]
Fix a typo.

Change-Id: I38855b1f83d2524ff76b78a3109f18e128d803e1

9 years agoMerge "Fix crash when removing fingerprint" into mnc-dev
Jorim Jaggi [Thu, 14 May 2015 22:12:38 +0000 (22:12 +0000)]
Merge "Fix crash when removing fingerprint" into mnc-dev

9 years agoFix bug #21025020 Stability: JCs in Settings: Caused by: java.lang.NullPointerException
Fabrice Di Meglio [Thu, 14 May 2015 21:20:45 +0000 (14:20 -0700)]
Fix bug #21025020 Stability: JCs in Settings: Caused by: java.lang.NullPointerException

- prevent the NPE

Change-Id: Ief5a618e789e50eebcaa4386bd9ecec2192b4565

9 years agoMerge "Fix bug #21025020 Stability: JCs in Settings: Caused by: java.lang.NullPointer...
Fabrice Di Meglio [Thu, 14 May 2015 21:40:52 +0000 (21:40 +0000)]
Merge "Fix bug #21025020 Stability: JCs in Settings: Caused by: java.lang.NullPointerException" into mnc-dev

9 years agoFix bug #21025020 Stability: JCs in Settings: Caused by: java.lang.NullPointerException
Fabrice Di Meglio [Thu, 14 May 2015 21:20:45 +0000 (14:20 -0700)]
Fix bug #21025020 Stability: JCs in Settings: Caused by: java.lang.NullPointerException

- prevent the NPE

Change-Id: Ief5a618e789e50eebcaa4386bd9ecec2192b4565

9 years agoFix build
Amith Yamasani [Thu, 14 May 2015 04:37:51 +0000 (21:37 -0700)]
Fix build

Change-Id: Id5c76cc0c9ead630d345a4ce173e3e9d141c1af9

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Thu, 14 May 2015 04:14:07 +0000 (04:14 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Thu, 14 May 2015 04:12:10 +0000 (21:12 -0700)]
Import translations. DO NOT MERGE

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

9 years agoMerge "Developer settings screen for inactive apps" into mnc-dev
Amith Yamasani [Thu, 14 May 2015 04:04:54 +0000 (04:04 +0000)]
Merge "Developer settings screen for inactive apps" into mnc-dev

9 years agoMerge "Hotspot 2.0 UI for saved network." into mnc-dev
Sanket Padawe [Thu, 14 May 2015 02:40:36 +0000 (02:40 +0000)]
Merge "Hotspot 2.0 UI for saved network." into mnc-dev

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Thu, 14 May 2015 02:35:41 +0000 (02:35 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Thu, 14 May 2015 02:27:55 +0000 (19:27 -0700)]
Import translations. DO NOT MERGE

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

9 years agoDeveloper settings screen for inactive apps
Amith Yamasani [Thu, 14 May 2015 01:18:16 +0000 (18:18 -0700)]
Developer settings screen for inactive apps

Show a list of apps and allow toggling their active state.

Bug: 20066058
Change-Id: Id81e95c354a579773d39d3e7d7cfa1ff46df29e9

9 years agoReflect Wifi config lockdown restriction in Settings
Zoltan Szatmary-Ban [Thu, 14 May 2015 00:40:48 +0000 (01:40 +0100)]
Reflect Wifi config lockdown restriction in Settings

DO created WiFi configurations are now only locked down
for editing/removing if DISALLOW_CONFIG_WIFI is not set.
This needed to be reflected on Settings UI.

Bug: 20719934
Change-Id: Ibd218821ab46cca8396084e2d73ae5ee00b584b3

9 years agoMerge "Access mock location is no longer a runtime permission - settings" into mnc-dev
Svet Ganov [Wed, 13 May 2015 23:45:38 +0000 (23:45 +0000)]
Merge "Access mock location is no longer a runtime permission - settings" into mnc-dev

9 years agoAccess mock location is no longer a runtime permission - settings
Svet Ganov [Wed, 13 May 2015 17:39:35 +0000 (10:39 -0700)]
Access mock location is no longer a runtime permission - settings

The access mock location is no longer a runtime permission. It is a
signature protected one that apps cannot get but the fact they request
it means they want to inject location into the system. Now the user
gets to choose the current mock location app in developer options from
the apps that request the mock location permission. The access to mock
location is no longer guarded by the permisson but from a new app op
which is off by default and the settiings UI sets it to enabled only
for the currently selected mock location app.

bug:21078873

Change-Id: I6555179ecf0cc37d9bb857e9dfb3b04c091ea612

9 years agoMerge "New UI for controlling USB" into mnc-dev
Nick Kralevich [Wed, 13 May 2015 22:32:13 +0000 (22:32 +0000)]
Merge "New UI for controlling USB" into mnc-dev

9 years agoNew UI for controlling USB
Nick Kralevich [Wed, 13 May 2015 18:54:20 +0000 (11:54 -0700)]
New UI for controlling USB

Create a new UI for managing USB access control. This UI is implemented
as a transparent popup triggered by a persistent notification.

Delete the old UI for controlling this. It is no longer used.

Bug: 18905620
Change-Id: I54186961414447a9d37f68e946e1c167506170ae

9 years agoFix crash when removing fingerprint
Jorim Jaggi [Wed, 13 May 2015 21:14:05 +0000 (14:14 -0700)]
Fix crash when removing fingerprint

Also fix a strings in fingerprint enrollment.

Bug: 21030545
Change-Id: I2d250b51a01f02bee014d4bc8e192d11199113e3

9 years agoMerge "Start bluetooth scan on screen orientation change." into mnc-dev
Sanket Padawe [Wed, 13 May 2015 20:00:13 +0000 (20:00 +0000)]
Merge "Start bluetooth scan on screen orientation change." into mnc-dev

9 years agoMerge "Hide permission related summaries" into mnc-dev
Jason Monk [Wed, 13 May 2015 19:22:46 +0000 (19:22 +0000)]
Merge "Hide permission related summaries" into mnc-dev

9 years agoHide permission related summaries
Jason Monk [Wed, 13 May 2015 19:19:57 +0000 (15:19 -0400)]
Hide permission related summaries

We need to get this data from the PackageInstaller directly, in the
mean time hide the summaries since they are incorrect.

Bug: 21078474
Change-Id: I1c1b50ee6806cfbf16830fbff5bf8ffae344451a

9 years agoMerge "Settings: New string for zen messages summary." into mnc-dev
John Spurlock [Wed, 13 May 2015 19:07:51 +0000 (19:07 +0000)]
Merge "Settings: New string for zen messages summary." into mnc-dev

9 years agoSettings: New string for zen messages summary.
John Spurlock [Wed, 13 May 2015 19:02:58 +0000 (15:02 -0400)]
Settings: New string for zen messages summary.

Bug: 20064962
Change-Id: Ie39ee78b2ec351f6b41ad5584af44966efb2a3aa

9 years agoMerge "Add additional permissions button to manage perms" into mnc-dev
Jason Monk [Wed, 13 May 2015 18:40:49 +0000 (18:40 +0000)]
Merge "Add additional permissions button to manage perms" into mnc-dev

9 years agoAdd additional permissions button to manage perms
Jason Monk [Wed, 13 May 2015 17:08:55 +0000 (13:08 -0400)]
Add additional permissions button to manage perms

Bug: 20269176
Change-Id: Ic004204b0fd984717a6d3848e8295edc67047883

9 years agoMerge "replace temporary metrics categories with permanent ones." into mnc-dev
Chris Wren [Wed, 13 May 2015 18:05:54 +0000 (18:05 +0000)]
Merge "replace temporary metrics categories with permanent ones." into mnc-dev

9 years agoreplace temporary metrics categories with permanent ones.
Chris Wren [Wed, 13 May 2015 17:44:36 +0000 (13:44 -0400)]
replace temporary metrics categories with permanent ones.

Bug: 21114836
Change-Id: I05ca033e2e15fc1ae4330453bbe50aaa6cd1ea6c

9 years agoMerge "Migrate settings UI to use async security check" into mnc-dev
Xiyuan Xia [Wed, 13 May 2015 17:20:59 +0000 (17:20 +0000)]
Merge "Migrate settings UI to use async security check" into mnc-dev

9 years agoMerge "Start app notifications as fragment not intent" into mnc-dev
Jason Monk [Wed, 13 May 2015 15:40:07 +0000 (15:40 +0000)]
Merge "Start app notifications as fragment not intent" into mnc-dev

9 years agoStart app notifications as fragment not intent
Jason Monk [Wed, 13 May 2015 15:36:45 +0000 (11:36 -0400)]
Start app notifications as fragment not intent

This lets it show the back arrow when coming from within the settings
app.

Bug: 20561808
Change-Id: I103c8fb74197c5a0530c363a234da5e2148726a7

9 years agoMigrate settings UI to use async security check
Xiyuan Xia [Tue, 5 May 2015 23:04:00 +0000 (16:04 -0700)]
Migrate settings UI to use async security check

Bug: 20697812
Change-Id: Ieb0090ddb61198a60abb1e34ff9c6e8476c33789

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Wed, 13 May 2015 14:41:27 +0000 (14:41 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 13 May 2015 14:34:45 +0000 (07:34 -0700)]
Import translations. DO NOT MERGE

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

9 years agoFix connecting to secure wifi from QS
Jason Monk [Wed, 13 May 2015 14:17:33 +0000 (10:17 -0400)]
Fix connecting to secure wifi from QS

Sometimes the preference isn't created yet, so we need to hold on
to the ssid until the preference for that access point gets created.

Bug: 20975085
Change-Id: Ib5804611793550106f6059b1afe016de4e89bc64

9 years agoMerge "Show only APNs belonging to carrier (mno/mvno) under apn settings." into mnc-dev
Amit Mahajan [Wed, 13 May 2015 00:58:43 +0000 (00:58 +0000)]
Merge "Show only APNs belonging to carrier (mno/mvno) under apn settings." into mnc-dev

9 years agoShow only APNs belonging to carrier (mno/mvno) under apn settings.
Amit Mahajan [Tue, 12 May 2015 23:02:22 +0000 (16:02 -0700)]
Show only APNs belonging to carrier (mno/mvno) under apn settings.

Bug: 10719093
Change-Id: I942ce59995afffd395f7d73e4fd70674db0f643f

9 years agoMerge "No longer upgrade password quality based on keystore" into mnc-dev
Chad Brubaker [Tue, 12 May 2015 21:16:17 +0000 (21:16 +0000)]
Merge "No longer upgrade password quality based on keystore" into mnc-dev

9 years agoMemory icon should use theme accent color as tint
Alan Viverette [Tue, 12 May 2015 21:04:47 +0000 (14:04 -0700)]
Memory icon should use theme accent color as tint

Change-Id: I9d338680db7df437ab87d66dcfd9ca23441a4f58

9 years agoNo longer upgrade password quality based on keystore
Chad Brubaker [Fri, 8 May 2015 19:37:46 +0000 (12:37 -0700)]
No longer upgrade password quality based on keystore

Keystore no longer requires a password to operate and only deletes
encrypted at rest entries when the user removes their password, so
blocking password downgrade is no longer required.

Bug: 20764363
Change-Id: I6f06acc71a4165282985082203ae1194491844c7

9 years agoMerge "More updates to battery optimization whitelist" into mnc-dev
Jason Monk [Tue, 12 May 2015 20:05:26 +0000 (20:05 +0000)]
Merge "More updates to battery optimization whitelist" into mnc-dev

9 years agoMore updates to battery optimization whitelist
Jason Monk [Tue, 12 May 2015 19:47:44 +0000 (15:47 -0400)]
More updates to battery optimization whitelist

Mostly just string updates.

Also fix crash in power details.

Bug: 19991702
Bug: 21027488
Bug: 21063077
Change-Id: I5a5e382a20ffaecd9eb16454906c985cc1510572

9 years agoMerge "App info > storage updates" into mnc-dev
Jason Monk [Tue, 12 May 2015 19:20:38 +0000 (19:20 +0000)]
Merge "App info > storage updates" into mnc-dev

9 years agoApp info > storage updates
Jason Monk [Tue, 12 May 2015 15:33:34 +0000 (11:33 -0400)]
App info > storage updates

 - Fix button theme
 - Hide move dropdown when can't move
 - Cleanup by switching to using a horizontal preference layout, rather
   than custom layouts

Bug: 21060534
Change-Id: I2cc3ab4063ff6b4dfe873f9152b34130d702faae

9 years agoMerge "[WifiSetup] Use adjustResize for alert dialogs during Setup" into mnc-dev
Maurice Lam [Tue, 12 May 2015 18:03:34 +0000 (18:03 +0000)]
Merge "[WifiSetup] Use adjustResize for alert dialogs during Setup" into mnc-dev

9 years agoHotspot 2.0 UI for saved network.
Sanket Padawe [Tue, 12 May 2015 17:26:43 +0000 (10:26 -0700)]
Hotspot 2.0 UI for saved network.

Bug: 20182930
Change-Id: I455773f446dad323ed9cb559c2f2d69ca53af46c

9 years agoFix tuner key
Jason Monk [Tue, 12 May 2015 15:04:47 +0000 (11:04 -0400)]
Fix tuner key

Change-Id: I4bddf218dc34516134bd190ebf8c0f1c7b1a6544

9 years agoMerge "Add SystemUI Tuner Control" into mnc-dev
Jason Monk [Tue, 12 May 2015 15:03:40 +0000 (15:03 +0000)]
Merge "Add SystemUI Tuner Control" into mnc-dev

9 years agoAdd SystemUI Tuner Control
Jason Monk [Mon, 11 May 2015 20:58:34 +0000 (16:58 -0400)]
Add SystemUI Tuner Control

Change-Id: I321c3263612c752409beb46f4c96826954b96e26

9 years agoMerge "Add tap to wake setting" into mnc-dev
Jason Monk [Tue, 12 May 2015 14:35:12 +0000 (14:35 +0000)]
Merge "Add tap to wake setting" into mnc-dev

9 years agoAvoid SElinux denial accessing SIM card lock
Hemanth kumar B [Fri, 6 Feb 2015 10:13:26 +0000 (11:13 +0100)]
Avoid SElinux denial accessing SIM card lock

This change avoids the following SELinux denial:

  W/SharedPreferenc(28238): type=1400 audit(0.0:8): avc: denied\
  { search } for name="com.android.settings" dev="mmcblk0p25"\
  ino=8209 scontext=u:r:radio:s0 tcontext=u:object_r:system_app\
  _data_file:s0 tclass=dir op_res=-13 ppid=318 pcomm="main"\
  tgid=1850 tgcomm="m.android.phone"

When accessing Settings->Security->Set up SIM card lock.

There is really no need to store this information in
SharedPreferences anyway.

(cherrypicked from commit bef7221a7dc1a5827903e62bf3b02a42e52f5066)

Change-Id: I3ba30d5d5e2c5b3c379397fbb06325101acaf490

9 years agoStart bluetooth scan on screen orientation change.
Sanket Padawe [Mon, 11 May 2015 20:09:59 +0000 (13:09 -0700)]
Start bluetooth scan on screen orientation change.

Bug: 20666842
Change-Id: I95975f46c1ead1399c8f1a9197bd7357992cc3b0

9 years agoMerge "Update strings for ignore optimizations control" into mnc-dev
Jason Monk [Mon, 11 May 2015 20:03:45 +0000 (20:03 +0000)]
Merge "Update strings for ignore optimizations control" into mnc-dev

9 years agoUpdate strings for ignore optimizations control
Jason Monk [Mon, 11 May 2015 19:48:11 +0000 (15:48 -0400)]
Update strings for ignore optimizations control

Bug: 19991702
Change-Id: Ie5b54fd70176cfceb8b88cf18a9974321ba84c28

9 years agoMerge "Simplify Zen mode voice activity." into mnc-dev
Barnaby James [Mon, 11 May 2015 18:15:02 +0000 (18:15 +0000)]
Merge "Simplify Zen mode voice activity." into mnc-dev

9 years agoSimplify Zen mode voice activity.
Barnaby James [Sun, 10 May 2015 23:24:05 +0000 (16:24 -0700)]
Simplify Zen mode voice activity.

Zen mode voice activity now only sets the notification mode to alarms mode
or off. A duration may be specified if it was in the original intent.

Change-Id: Ica472ca9c6dcbce473832f4f922baf225df4951b
Bug: 21024455

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Mon, 11 May 2015 16:10:12 +0000 (16:10 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoSettings: Migrate notification access screens to switch prefs.
John Spurlock [Mon, 11 May 2015 15:16:37 +0000 (11:16 -0400)]
Settings: Migrate notification access screens to switch prefs.

Bug: 20916418
Change-Id: I729bc3a6f853f15780f12e7d7c9f337447e399c4

9 years agoMerge "log more settings actions" into mnc-dev
Chris Wren [Mon, 11 May 2015 15:07:17 +0000 (15:07 +0000)]
Merge "log more settings actions" into mnc-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 11 May 2015 14:50:14 +0000 (07:50 -0700)]
Import translations. DO NOT MERGE

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

9 years agoMerge "[LockScreenSetup] Fix "Choose Lock PIN" title" into mnc-dev
Maurice Lam [Sat, 9 May 2015 00:04:32 +0000 (00:04 +0000)]
Merge "[LockScreenSetup] Fix "Choose Lock PIN" title" into mnc-dev

9 years agoMerge "Fix Signal strength display issue in Settings." into mnc-dev
Sanket Padawe [Fri, 8 May 2015 23:32:48 +0000 (23:32 +0000)]
Merge "Fix Signal strength display issue in Settings." into mnc-dev

9 years agoFix Signal strength display issue in Settings.
Sanket Padawe [Fri, 8 May 2015 23:31:35 +0000 (16:31 -0700)]
Fix Signal strength display issue in Settings.

Bug: 20821065
Change-Id: Ib98e7b80f5ee331ef0adb8df706bb697f9fff008

9 years agolog more settings actions
Chris Wren [Fri, 8 May 2015 21:10:01 +0000 (17:10 -0400)]
log more settings actions

  airplane mode
  bluetooth
  cell data
  do not disturb

Bug: 20264417
Change-Id: I726033a126fba9f9dffc916806d636feea04033b

9 years agoMerge "Settings: Use new EventInfo.ANY_CALENDAR constant." into mnc-dev
John Spurlock [Fri, 8 May 2015 22:29:09 +0000 (22:29 +0000)]
Merge "Settings: Use new EventInfo.ANY_CALENDAR constant." into mnc-dev

9 years agoMerge "Settings: New DND access settings page." into mnc-dev
John Spurlock [Fri, 8 May 2015 22:28:49 +0000 (22:28 +0000)]
Merge "Settings: New DND access settings page." into mnc-dev

9 years ago[WifiSetup] Use adjustResize for alert dialogs during Setup
Maurice Lam [Fri, 8 May 2015 22:01:48 +0000 (15:01 -0700)]
[WifiSetup] Use adjustResize for alert dialogs during Setup

Created theme ThemeOverlay.AlertDialog that inherits from the default
ThemeOverlay.Material.Dialog.Alert and sets the windowSoftInputMode
to adjustResize.

Bug: 20953227
Change-Id: I20af124b6d92bff3a5807b2f8475acda92c90208

9 years agoMerge "Track keystore password method changes" into mnc-dev
Chad Brubaker [Fri, 8 May 2015 21:51:03 +0000 (21:51 +0000)]
Merge "Track keystore password method changes" into mnc-dev

9 years agoSettings: Use new EventInfo.ANY_CALENDAR constant.
John Spurlock [Fri, 8 May 2015 21:37:23 +0000 (17:37 -0400)]
Settings: Use new EventInfo.ANY_CALENDAR constant.

Bug: 20064962
Change-Id: I08a8c5feb61bfd440fc6a297d97de4abba5b19b3

9 years ago[LockScreenSetup] Fix "Choose Lock PIN" title
Maurice Lam [Fri, 8 May 2015 00:22:09 +0000 (17:22 -0700)]
[LockScreenSetup] Fix "Choose Lock PIN" title

Set the header text for SetupChooseLockPassword in onViewCreated
after the superclass has set the activity title.

Bug: 20861117
Change-Id: I27e4f06d16afd9a02647f8c10a76518f618bd6b8

9 years agoMerge "Button that goes from app info details to app info" into mnc-dev
Jason Monk [Fri, 8 May 2015 19:47:27 +0000 (19:47 +0000)]
Merge "Button that goes from app info details to app info" into mnc-dev

9 years agoButton that goes from app info details to app info
Jason Monk [Fri, 8 May 2015 19:03:14 +0000 (15:03 -0400)]
Button that goes from app info details to app info

This info button is shown on the header of all app detail pages.
This button is hidden when coming from app info, to avoid allowing
users to go in circles.

Since app notification details had a settings button where the new
info button goes, the app notification settings will move down to
be a preference (this matches the usage access screen UX).

Also fix a bug in launching app notification settings for managed
profiles.

Bug: 20633669
Change-Id: Idbb4f7c3326b4c6b0a19559b722ee0406eaba6c0

9 years agoMerge "Choose correct network template for data history" into mnc-dev
Jason Monk [Fri, 8 May 2015 18:13:13 +0000 (18:13 +0000)]
Merge "Choose correct network template for data history" into mnc-dev

9 years agoSettings: New DND access settings page.
John Spurlock [Thu, 7 May 2015 21:45:43 +0000 (17:45 -0400)]
Settings: New DND access settings page.

 - New advanced notification settings subpage for managing apps
   that have requested the ability to manage notification policy.
 - Create new "Advanced" section at the bottom of notification settings
   for this and the existing Notification access settings page.

Bug: 18298798
Change-Id: Ib415e634980d37d6492799f67a6619700ee2a01c

9 years agoMerge "Fix crash on unistalling app" into mnc-dev
Jason Monk [Fri, 8 May 2015 17:16:41 +0000 (17:16 +0000)]
Merge "Fix crash on unistalling app" into mnc-dev

9 years agoFix crash on unistalling app
Jason Monk [Fri, 8 May 2015 15:37:01 +0000 (11:37 -0400)]
Fix crash on unistalling app

Only update the battery info if the app exists.

Bug: 20918104
Change-Id: I61481be53cfc72d49868f14a940a09c83f7a5cc2

9 years agoChoose correct network template for data history
Jason Monk [Fri, 8 May 2015 15:24:03 +0000 (11:24 -0400)]
Choose correct network template for data history

Bug: 19921796
Change-Id: I90376ed0314c47fcbee21c81b85f60d3cc3312a6

9 years agoMerge "Fix crash in settings -> apps after adding profile" into mnc-dev
Jason Monk [Fri, 8 May 2015 14:48:54 +0000 (14:48 +0000)]
Merge "Fix crash in settings -> apps after adding profile" into mnc-dev

9 years agoFix crash in settings -> apps after adding profile
Jason Monk [Fri, 8 May 2015 14:18:48 +0000 (10:18 -0400)]
Fix crash in settings -> apps after adding profile

Bug: 20652411
Change-Id: I766f99ee520ab106ec2765c77057042ed14e8fed

9 years agoMerge "Add settings for persisting the mobile data connection." into mnc-dev
Erik Kline [Fri, 8 May 2015 08:12:19 +0000 (08:12 +0000)]
Merge "Add settings for persisting the mobile data connection." into mnc-dev

9 years agoMerge "Making the behavior deterministic when the IME picker is shown." into mnc-dev
Yohei Yukawa [Thu, 7 May 2015 23:20:26 +0000 (23:20 +0000)]
Merge "Making the behavior deterministic when the IME picker is shown." into mnc-dev

9 years agoMaking the behavior deterministic when the IME picker is shown.
Seigo Nonaka [Tue, 5 May 2015 00:31:00 +0000 (17:31 -0700)]
Making the behavior deterministic when the IME picker is shown.

In the language & input settings, the auxiliary IME subtypes have been
hidden since they should not be a default.  With Id156c85535a22, now we
can explicitly control the behavior of input method picker.
Note the this CL should not change any user visible behaviors.

Bug: 20763994
Change-Id: I9f797d07ba02363fab58ceb9aecb3cc11fbc407e

9 years agoTrack keystore password method changes
Chad Brubaker [Thu, 7 May 2015 17:29:18 +0000 (10:29 -0700)]
Track keystore password method changes

Change-Id: I324914c00195d762cbaa8c63084e41fa796b7df8

9 years agoMerge "Add user selectable Default Browser feature - part 4" into mnc-dev
Fabrice Di Meglio [Thu, 7 May 2015 22:37:05 +0000 (22:37 +0000)]
Merge "Add user selectable Default Browser feature - part 4" into mnc-dev

9 years agoAdd user selectable Default Browser feature - part 4
Fabrice Di Meglio [Thu, 7 May 2015 18:52:04 +0000 (11:52 -0700)]
Add user selectable Default Browser feature - part 4

- refresh Browser list depending on package installation / removal

See bug #20144393

Change-Id: I529f6e0bd8b5bd4cae1dea9479acfca9cf9a6b26

9 years agoAvoid SElinux denial accessing IMEI information
Raju Yadav [Tue, 5 May 2015 07:01:39 +0000 (09:01 +0200)]
Avoid SElinux denial accessing IMEI information

Set persistent attribute to false so preferences are not
stored in shared preferences, this avoids the SElinux
denial:

  W/SharedPreferenc( 6950): type=1400 audit(0.0:4): avc: \
  denied { search } for name="com.android.settings" \
  dev="mmcblk0p25" ino=48929 scontext=u:r:radio:s0 \
  tcontext=u:object_r:system_app_data_file:s0 tclass=dir\
  op_res=-13 ppid=319 pcomm="main" tgid=1589\
  tgcomm="m.android.phone"

Observed when entering IMEI information in:
Settings > About Phone > Status > IMEI information.

It makes no sense to store this information in shared
preferences anyway so no functinoality is lost with this
change.

(cherrypicked from commit b2ad5bb522e378a7ef63e5e9f6329217d8f2f0c2)

Change-Id: Id778bbadc8141167d679177b39e1d7a540d5752c

9 years agoMerge "Detect uninstalled apps during resume" into mnc-dev
Jason Monk [Thu, 7 May 2015 20:36:17 +0000 (20:36 +0000)]
Merge "Detect uninstalled apps during resume" into mnc-dev

9 years agoDetect uninstalled apps during resume
Jason Monk [Thu, 7 May 2015 17:41:28 +0000 (13:41 -0400)]
Detect uninstalled apps during resume

Also cleanup disabled apps check while here

Bug: 20651305
Change-Id: I5ba8f6e7aee817842bb2ae2ee825647089bcacd3