Commit Graph

8590 Commits

Author SHA1 Message Date
Jeff Sharkey
954d8dad5e Migrate package movement to use new API.
We now kick off the move immediately, and pass along the "ID" of the
move in progress.  This allows the progress activity to be completely
destroyed and recreated without kicking off a second conflicting move
operation.

Also uses new cleaner movement API that accepts direct VolumeInfo.

Bug: 19993667
Change-Id: I28bc268fcb42dfc9152020b16ef7058d63157597
2015-04-23 20:11:48 -07:00
John Spurlock
4f8d4f0d2b Settings: Ensure zen day-of-week formats use current locale.
Don't share SimpleDateFormat instances per-process, convert to
per-instance to ensure we're always using the current locale.

Updated version of:
  https://android-review.googlesource.com/#/c/147246/

Change-Id: Id464c35035c1de0a7894e5e19b57934f77df9769
2015-04-23 20:32:56 -04:00
Tony Mantler
3a8a17d733 Merge "Move StorageMeasurement to SettingsLib" 2015-04-23 22:40:10 +00:00
Tony Mantler
d325f5d53c Move StorageMeasurement to SettingsLib
Change-Id: I00335fe896ef1bae11c382592eea2a354269818a
2015-04-23 15:23:44 -07:00
Jason Monk
50aa8a99eb Merge "Fix crash in notifications app list" 2015-04-23 19:56:21 +00:00
Jason Monk
365b3a6b4b Fix crash in notifications app list
Bug: 20310018
Change-Id: I670c4cd10607c84a6c185d6dce579da497b6bb65
2015-04-23 15:45:54 -04:00
Jason Monk
be292a5d52 Merge "Change owner info to be a dialog rather than screen" 2015-04-23 18:08:21 +00:00
Jason Monk
fb22526104 Merge "Allow users to re-enable apps once disabling them" 2015-04-23 17:55:34 +00:00
Yorke Lee
b0b514a2f6 Merge "Add default phone app to system settings" 2015-04-23 17:35:49 +00:00
Jason Monk
3d0bc10ce2 Allow users to re-enable apps once disabling them
Entries in the app list should not be disabled, instead we should
be filtering for only items the user can modify.

Bug: 20210219
Change-Id: Ida298a9ba16c1201ac238b85f299bdc7b0ae7a1d
2015-04-23 13:14:32 -04:00
Jason Monk
47d16e9bf6 Tint dashboard items coming from external tiles
So they can match the Settings theme.

Bug: 20449897
Change-Id: I33ad0d78dad6fbc9dae35552246a559b6508deaf
2015-04-23 12:41:40 -04:00
Jason Monk
1049f4d81b Merge "New UX for app usage screen" 2015-04-23 14:42:21 +00:00
Jason Monk
d8da51ccfe New UX for app usage screen
Now uses ManageApplications base, and has a details screen which has
a switch and a link to optional app settings.

Bug: 20290386
Change-Id: If32ce8d82e55f3908644c575925b3f6506a68e6e
2015-04-23 10:37:59 -04:00
Sanket Padawe
55d4d75f4a Disable data sim selection when phone call active.
Bug: 19301456
Bug: 19150497
Change-Id: I396641b24e78616c93510bf367b61fa7c47ec068
2015-04-22 16:21:56 -07:00
Maurice Lam
a15b87544e Merge "[Setup] Use SetupWizardLayout" 2015-04-22 17:36:50 +00:00
Robin Lee
1e13caf969 Merge "vpn2: show third-party VPN services" 2015-04-22 16:41:21 +00:00
Jason Monk
3bcd76ce63 Change owner info to be a dialog rather than screen
Bug: 15937670
Change-Id: I8d8609ff165c4a76e318a80a62fb1dc9effbc82a
2015-04-22 11:14:14 -04:00
Zoltan Szatmary-Ban
008c9238d9 Merge "Show dialog when user tries to edit a locked down WiFi config" 2015-04-22 10:10:36 +00:00
Yorke Lee
dc868a18f8 Add default phone app to system settings
Bug: 20303635

Change-Id: Ibf052fa92347bff49a638c4042d899c9d6587410
2015-04-21 17:26:16 -07:00
Lucky Zhang
86b44796c5 Merge "[SetupWizard] Refactor WifiSetupActivity" 2015-04-21 22:42:56 +00:00
Lucky Zhang
a62d2c800c [SetupWizard] Refactor WifiSetupActivity
Refactor WifiSetupActivity to respect the conventional logic of Setup
Wizard's SubactivityWrapper. WifiSetupActivity now returns the result
code back to WifiSettingsWrapper and lets the Wrapper invoke
WizardManager, instead of invoking WizardManager by itself and letting
its Wrapper finish early.

The related change in WifiSettingsWrapper on Setup Wizard side is
ag/676788.

Bug: 20309008
Change-Id: Ia3bc2ff390404ff87c427782b5e7b345050bea03
2015-04-21 15:09:40 -07:00
Jeff Sharkey
267582826b Merge "Use disk directly from volume in storage wizard." 2015-04-21 19:55:11 +00:00
Andres Morales
aef794a289 Fix crash when rotating NFC dialog
Bug: 18710540
Change-Id: I0f50a8aed555439e8beeff70276d646fc11afe0a
2015-04-21 12:43:03 -07:00
Robin Lee
2bd92d5d06 vpn2: show third-party VPN services
VPN apps are shown alongside configured VPNs now. The requirement that
a password is set is now only enforced when setting up a configured
VPN as this is not necessary for apps.

Some UI redesign.

Bug: 19573824
Bug: 17474682
Bug: 19575658
Change-Id: I02bd977136929647d65b9784fb4cc5df24b45428
2015-04-21 19:42:53 +01:00
Jason Monk
f1a6275488 Merge "Fix filtering for manage apps" 2015-04-21 18:07:50 +00:00
Jason Monk
38e7b26664 Fix filtering for manage apps
Bug: 20453766
Change-Id: Ia4a0f0d9a652332944ef846770d5bc4cc50395d9
2015-04-21 13:55:10 -04:00
Jim Miller
c225005b02 Merge "Remove enroll haptic feedback since it's now part of the framework." 2015-04-21 17:46:11 +00:00
Chris Wren
358e355942 Merge "Intrument the act of banning a package's notifications." 2015-04-21 17:24:39 +00:00
Maurice Lam
83301b5256 [Setup] Use SetupWizardLayout
Use SetupWizardLayout for the screens that show in Settings to get
better visual consistency and new features like showing a progress
bar in list view.

Bug: 19594252
Change-Id: I53ab17a4c2d922a362e3762f1cdccb512f7d8f6e
2015-04-21 10:19:35 -07:00
Chris Wren
8b96cb88b8 Intrument the act of banning a package's notifications.
Bug: 20451514
Change-Id: I0c065a7baaf84442e415d9a6c7dce79457fb311e
2015-04-21 12:34:57 -04:00
Barnaby James
6e042caff2 Add toast notification to VoiceSettingsActivity.
Change-Id: Ic007b2eda8d082cf27e4aa4edf19b5387edb4b74
2015-04-21 07:20:39 -07:00
Jim Miller
97180e34a9 Remove enroll haptic feedback since it's now part of the framework.
Change-Id: Ic108d2fcbcac5baa219f49e4441522bfaa85fbff
2015-04-20 19:14:42 -07:00
Stuart Scott
0ce64e26c0 Merge "Correct the way settings deals with subscriptions." 2015-04-20 17:56:49 +00:00
Maurice Lam
e5112fe766 Merge "[WifiSetup] Remove required info" 2015-04-20 16:55:39 +00:00
Zoltan Szatmary-Ban
89403529ad Show dialog when user tries to edit a locked down WiFi config
Also, 'FORGET' button is not shown on WifiDialogs of locked down configs.
Context menu only shows 'Connect' for them.

Bug: 20117316
Change-Id: I3fa986c10b6ff47d1a897794213c225c8c6f579b
2015-04-20 16:04:15 +01:00
Erik Kline
377c7c9afa Use CONNECTIVITY_ACTION instead _IMMEDIATE
With the demise of the connectivity change delay
CONNECTIVITY_ACTION and CONNECTIVITY_ACTION_IMMEDIATE are
issued back to back.

CONNECTIVITY_ACTION_IMMEDIATE is being reaped.

Bug: 20013379
Change-Id: I71d1752cf3b2ebc377127c5fb7bf0864da9a860a
2015-04-20 14:42:03 +09:00
Erik Kline
a71f1dc2ca Use CONNECTIVITY_ACTION instead _IMMEDIATE
With the demise of the connectivity change delay
CONNECTIVITY_ACTION and CONNECTIVITY_ACTION_IMMEDIATE are
issued back to back.

CONNECTIVITY_ACTION_IMMEDIATE is being reaped.

Bug: 20013379
Change-Id: I71d1752cf3b2ebc377127c5fb7bf0864da9a860a
2015-04-20 13:33:31 +09:00
Jeff Sharkey
f7db2b2f22 Use disk directly from volume in storage wizard.
Otherwise we're upset moving apps back to internal storage, which
is a private volume without a disk.

Bug: 19993667
Change-Id: I59e78bf13e14a68b0f4f1c6cbee35f6f7fd8d6ca
2015-04-19 14:59:04 -07:00
Jeff Sharkey
ea273b5c6e Merge "Use new VolumeInfo helper methods." 2015-04-18 23:25:33 +00:00
Jeff Sharkey
90daa80c5b Use new VolumeInfo helper methods.
Makes it clearer if we're checking for readable/writable state,
and puts emulated/private conversion logic in single place.

Bug: 19993667
Change-Id: I953f5c184ca62afc631d855e64cd8a4972320148
2015-04-18 16:22:12 -07:00
Maurice Lam
8834320c6e Merge "Use SetupWizardLib helpers" 2015-04-18 00:48:22 +00:00
xinhe
e11aa6f445 Change SoftAP Setup UI
Bug:20140630
Change-Id: I7f5696a5b78c70a6bc8ac38c5b99dd408e06a668
2015-04-17 16:13:26 -07:00
Andres Morales
40e0f243c9 Merge "Unbreak CC screen" 2015-04-17 19:42:52 +00:00
Maurice Lam
8bcac046b9 Merge "[LockScreenSetup] Start SUW-style screens in setup flow" 2015-04-17 19:17:22 +00:00
Tony Mantler
e0a14922ea Merge "Move PermissionsInfo to SettingsLib" 2015-04-17 16:13:43 +00:00
Maurice Lam
bddc566485 Use SetupWizardLib helpers
Use SystemBarHelper, WizardManagerHelper and themes from Setup Wizard
Library.

Bug: 19594252
Change-Id: I60b6ab4f086a170ac270fb08325fc42010293523
2015-04-17 04:46:09 +00:00
Maurice Lam
e0a4c2bfe7 [WifiSetup] Remove required info
Required info is not used anymore and can be removed.

Bug: 10929897
Change-Id: I9f5648426058a5fb1c5e52f1983fee1a5448edb0
2015-04-16 21:43:49 -07:00
Maurice Lam
3859643c5b [LockScreenSetup] Start SUW-style screens in setup flow
Implement the new overloaded methods in the setup-specific screens
so that the SUW-styled screens will be started instead of the regular
ones as seen in Settings.

Bug: 20304053
Change-Id: I68e778e6421cfe08e20c9b4af9ed98e0f5ebcee1
2015-04-16 18:21:31 -07:00
Andres Morales
59f5976e15 Unbreak CC screen
Re-add logic in authenticationSucceeded

Change-Id: Iac1925f5e2f2f67dd5d7c7f5d454f32691d51b61
2015-04-16 16:45:26 -07:00
Tony Mantler
2d566e7f05 Move PermissionsInfo to SettingsLib
Change-Id: Ibe587365b841d7e68d7bb7b7999656f73d9d9bc7
2015-04-16 15:42:46 -07:00