OSDN Git Service

android-x86/packages-apps-Settings.git
7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Tue, 13 Sep 2016 08:27:58 +0000 (08:27 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 13 Sep 2016 06:35:38 +0000 (23:35 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMerge "Disable NightDisplaySettingsActivity when not available" into nyc-mr1-dev
TreeHugger Robot [Tue, 13 Sep 2016 03:51:07 +0000 (03:51 +0000)]
Merge "Disable NightDisplaySettingsActivity when not available" into nyc-mr1-dev

7 years agoMerge "Make a11y settings display consistent" into nyc-mr1-dev
Phil Weaver [Tue, 13 Sep 2016 01:07:05 +0000 (01:07 +0000)]
Merge "Make a11y settings display consistent" into nyc-mr1-dev

7 years agoDisable NightDisplaySettingsActivity when not available
Justin Klaassen [Tue, 13 Sep 2016 00:04:33 +0000 (17:04 -0700)]
Disable NightDisplaySettingsActivity when not available

Not every device supports "Night Light" so this change disables the
NightDisplaySettingsActivity entry point using the system internal
R.bool.config_nightDisplayAvailable value.

Fixes: 30919608
Test: adb shell am start -a android.settings.NIGHT_DISPLAY_SETTINGS
Change-Id: I202c93069daaea08a0d754dd2f6b3de8c249c361

7 years agoMake a11y settings display consistent
Phil Weaver [Sat, 10 Sep 2016 00:36:03 +0000 (17:36 -0700)]
Make a11y settings display consistent

We were using two methods to decide whether or not to show
that an a11y service was enabled, one on the main
Accessibility screen and another on the individual service
screen. In some situations, an enabled service would show
up as enabled on the main screen but not enabled on its
individual screen.

Bug: 30829589
Change-Id: I560d86684a2fb8987d3dd06279e033ecb7cc1a58

7 years agoUpdate Night Light summary strings
Justin Klaassen [Mon, 12 Sep 2016 18:40:03 +0000 (11:40 -0700)]
Update Night Light summary strings

Bug: 30771506
Test: Verified new strings show up in Night Light settings.
Change-Id: I36cc92d2644016f8f417daf9c06bccbe9fbd2d8c

7 years agoMerge "Ignore onPreferenceChange for top level preference" into nyc-mr1-dev
Fyodor Kupolov [Fri, 9 Sep 2016 23:30:35 +0000 (23:30 +0000)]
Merge "Ignore onPreferenceChange for top level preference" into nyc-mr1-dev

7 years agoMerge "Check for missing preference before setting title." into nyc-mr1-dev
TreeHugger Robot [Fri, 9 Sep 2016 20:15:12 +0000 (20:15 +0000)]
Merge "Check for missing preference before setting title." into nyc-mr1-dev

7 years agoCheck for missing preference before setting title.
Jim Miller [Fri, 9 Sep 2016 18:54:12 +0000 (11:54 -0700)]
Check for missing preference before setting title.

Some preferences aren't available due to DPM, so check for null
before setting the title.

Fixes bug 31184335

Change-Id: I69f97274eef87755269fd8f7897edcc36087f8b2

7 years agoMerge "Direct launch to web action" into nyc-mr1-dev
TreeHugger Robot [Fri, 9 Sep 2016 01:50:07 +0000 (01:50 +0000)]
Merge "Direct launch to web action" into nyc-mr1-dev

7 years agoDirect launch to web action
Todd Kennedy [Tue, 6 Sep 2016 21:02:38 +0000 (14:02 -0700)]
Direct launch to web action

We want to be able to direct launch into the web action settings
Fixes: 31338071

Change-Id: I295729b8c9e0d3c1196ed820a9e9f6163bf611b4

7 years agoMerge "Fixed Sound Settings summary text" into nyc-mr1-dev
Salvador Martinez [Wed, 7 Sep 2016 16:06:41 +0000 (16:06 +0000)]
Merge "Fixed Sound Settings summary text" into nyc-mr1-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 7 Sep 2016 10:20:53 +0000 (03:20 -0700)]
Import translations. DO NOT MERGE

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

7 years agoFixed Sound Settings summary text
Salvador Martinez [Wed, 31 Aug 2016 21:17:35 +0000 (14:17 -0700)]
Fixed Sound Settings summary text

The summary for Sound settings was not
descriptive enough when the volume was set
to 0% so additional strings were added. Now
it will change let you know the status
of the ringer and vibration settings when
at 0% volume. Espresso tests added to test
that text is properly updated in each of
these states.

Test: make SettingsTests
Bug: 31099179
Change-Id: Id49e2d0c4b7ac0f17efcdaf31de48d5eb678ca46

7 years ago[Fingerprint] Remove learn more link if not provisioned. DO NOT MERGE am: c94f2b93af...
Maurice Lam [Tue, 6 Sep 2016 23:23:49 +0000 (23:23 +0000)]
[Fingerprint] Remove learn more link if not provisioned. DO NOT MERGE am: c94f2b93af am: d278da7952 am: 94a0fa5759 am: 746dff40ba  -s ours am: 17ec053dd5
am: 27aabcd4df

Change-Id: I1be1f917392a5102e9f7c5178ef9316aadd29ad2

7 years agoMerge "Null check intent before starting "learn more"." into nyc-dev am: 4e4e4ff19a
Andrew Sapperstein [Tue, 6 Sep 2016 23:23:48 +0000 (23:23 +0000)]
Merge "Null check intent before starting "learn more"." into nyc-dev am: 4e4e4ff19a
am: 27af0ed9e2

Change-Id: I701957dceecec49950ffab22ab6ca38f204d687e

7 years agoNull check intent before starting "learn more". am: e56d2be0b2 -s ours
Andrew Sapperstein [Tue, 6 Sep 2016 23:23:47 +0000 (23:23 +0000)]
Null check intent before starting "learn more". am: e56d2be0b2  -s ours
am: aa12cf603b

Change-Id: Ie9389929ab179aafd2066db6483ba2cebf5563ee

7 years ago[Fingerprint] Remove learn more link if not provisioned. DO NOT MERGE am: c94f2b93af...
Maurice Lam [Tue, 6 Sep 2016 23:22:52 +0000 (23:22 +0000)]
[Fingerprint] Remove learn more link if not provisioned. DO NOT MERGE am: c94f2b93af am: d278da7952 am: 94a0fa5759 am: 746dff40ba  -s ours
am: 17ec053dd5

Change-Id: I11ea83d07eebfb55b8f1fbd0f431120c791314b1

7 years agoMerge "Null check intent before starting "learn more"." into nyc-dev
Andrew Sapperstein [Tue, 6 Sep 2016 23:22:50 +0000 (23:22 +0000)]
Merge "Null check intent before starting "learn more"." into nyc-dev
am: 4e4e4ff19a

Change-Id: Ia2a0fec158a49c723cc3923baafa024aa3570c0b

7 years ago[Fingerprint] Remove learn more link if not provisioned. DO NOT MERGE am: c94f2b93af...
Maurice Lam [Tue, 6 Sep 2016 23:18:46 +0000 (23:18 +0000)]
[Fingerprint] Remove learn more link if not provisioned. DO NOT MERGE am: c94f2b93af am: d278da7952 am: 94a0fa5759
am: 746dff40ba  -s ours

Change-Id: I304081ab8e9ddaeb48af51cc07c4d3e131e7b13b

7 years agoNull check intent before starting "learn more".
Andrew Sapperstein [Tue, 6 Sep 2016 23:18:45 +0000 (23:18 +0000)]
Null check intent before starting "learn more".
am: e56d2be0b2  -s ours

Change-Id: Ia53a28a35679db7d25c15c9cc9b862da7065f68a

7 years agoRemove help links when device is not provisioned. DO NOT MERGE am: d0a95da564 -s...
Maurice Lam [Tue, 6 Sep 2016 23:16:47 +0000 (23:16 +0000)]
Remove help links when device is not provisioned. DO NOT MERGE am: d0a95da564  -s ours
am: 534fa13894

Change-Id: I6c98994b9b7629f38e7f718a8e559456ea97443c

7 years ago[Fingerprint] Remove learn more link if not provisioned. DO NOT MERGE am: c94f2b93af...
Maurice Lam [Tue, 6 Sep 2016 23:14:25 +0000 (23:14 +0000)]
[Fingerprint] Remove learn more link if not provisioned. DO NOT MERGE am: c94f2b93af am: d278da7952
am: 94a0fa5759

Change-Id: I76460eee64ad7bc84d67379dc4f952deb2232130

7 years agoRemove help links when device is not provisioned. DO NOT MERGE
Maurice Lam [Tue, 6 Sep 2016 23:14:15 +0000 (23:14 +0000)]
Remove help links when device is not provisioned. DO NOT MERGE
am: d0a95da564  -s ours

Change-Id: Ib1a0d40efcd380ea6dc3a959770a3ce1b4e6114f

7 years ago[Fingerprint] Remove learn more link if not provisioned. DO NOT MERGE am: c94f2b93af
Maurice Lam [Tue, 6 Sep 2016 23:11:17 +0000 (23:11 +0000)]
[Fingerprint] Remove learn more link if not provisioned. DO NOT MERGE am: c94f2b93af
am: d278da7952

Change-Id: I771b15c4c94314f7fb3f1d3d3734b0c97a35f782

7 years ago[Fingerprint] Remove learn more link if not provisioned. DO NOT MERGE
Maurice Lam [Tue, 6 Sep 2016 23:08:45 +0000 (23:08 +0000)]
[Fingerprint] Remove learn more link if not provisioned. DO NOT MERGE
am: c94f2b93af

Change-Id: Ib66b9b9d6b97fe1299a24b0c92991b4bd6a46656

7 years agoMerge "Null check intent before starting "learn more"." into nyc-dev
TreeHugger Robot [Tue, 6 Sep 2016 23:07:26 +0000 (23:07 +0000)]
Merge "Null check intent before starting "learn more"." into nyc-dev

7 years ago[Fingerprint] Remove learn more link if not provisioned. DO NOT MERGE
Maurice Lam [Fri, 2 Sep 2016 23:34:38 +0000 (16:34 -0700)]
[Fingerprint] Remove learn more link if not provisioned. DO NOT MERGE

Remove the learn more link during setup wizard, because HelpUtils is
returning null for the intent while the device is not provisioned.

Bug: 31246856
Change-Id: I4cf5c282f170188aef98a02d3b96af5e63ea7f39

7 years agoRemove help links when device is not provisioned. DO NOT MERGE
Maurice Lam [Fri, 2 Sep 2016 00:10:59 +0000 (17:10 -0700)]
Remove help links when device is not provisioned. DO NOT MERGE

Bug: 31246856
Change-Id: Id638de8ab1c6b815d62916a584892be84cabe1ae

7 years agoNull check intent before starting "learn more".
Andrew Sapperstein [Tue, 3 May 2016 01:28:21 +0000 (18:28 -0700)]
Null check intent before starting "learn more".

It is possible in certain build configurations to have an invalid
link. Instead of crashing, swallow the error and write to logs.

BUG: 28381984
Fixes: 31246856
Change-Id: I19f20b96afb42758187707f1b86a5817e8d737a8
(cherry picked from commit 6561d4870f031395316cf2fc956f69c306f04ae4)

7 years agoMerge "Prompt to turn on/unlock profile before showing account sync settings" into...
Rubin Xu [Thu, 1 Sep 2016 10:41:29 +0000 (10:41 +0000)]
Merge "Prompt to turn on/unlock profile before showing account sync settings" into nyc-mr1-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Thu, 1 Sep 2016 06:36:19 +0000 (06:36 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 1 Sep 2016 04:56:25 +0000 (21:56 -0700)]
Import translations. DO NOT MERGE

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

7 years agoFix NullPointerException when refreshing wifi preferences. am: b8011dbb93
Doris Ling [Thu, 1 Sep 2016 00:02:02 +0000 (00:02 +0000)]
Fix NullPointerException when refreshing wifi preferences. am: b8011dbb93
am: 7a15f88912

Change-Id: I3b04d4d87063f928fa76b4843ca0692c8d0311cb

7 years agoFix NullPointerException when refreshing wifi preferences.
Doris Ling [Wed, 31 Aug 2016 23:59:08 +0000 (23:59 +0000)]
Fix NullPointerException when refreshing wifi preferences.
am: b8011dbb93

Change-Id: Ib77f937b79813351594037eaa424fac33995f336

7 years agoFix NullPointerException when refreshing wifi preferences.
Doris Ling [Wed, 31 Aug 2016 21:27:19 +0000 (14:27 -0700)]
Fix NullPointerException when refreshing wifi preferences.

AccessPointPreference.refresh() is being called in different threads.
The refresh of the preference should only be updated in the main thread.
When access point updates is received not in the main thread, will post
the refreshing of the preference to the message queue to make the update
on the UI thread.

Test: auto - run monkey to verify there is no ANR or crash
      manual - go to Settings->Wifi, toggle on/off many times and verify
      there is no crash.

Change-Id: I656a70ecf2e7b9446c7b95b6b42ab19a5cc2e51c
Fixes: 30902893

7 years agoMerge "Make sure setting switch bar state is announced." into nyc-mr1-dev
Phil Weaver [Wed, 31 Aug 2016 21:32:07 +0000 (21:32 +0000)]
Merge "Make sure setting switch bar state is announced." into nyc-mr1-dev

7 years agoMerge "TetherSettings: check provisionApp array length" into nyc-mr1-dev
Rebecca Silberstein [Wed, 31 Aug 2016 20:28:56 +0000 (20:28 +0000)]
Merge "TetherSettings: check provisionApp array length" into nyc-mr1-dev

7 years agoMerge "Implement Web Action settings" into nyc-mr1-dev
TreeHugger Robot [Wed, 31 Aug 2016 02:20:47 +0000 (02:20 +0000)]
Merge "Implement Web Action settings" into nyc-mr1-dev

7 years agoMerge "Can restore state on rotate personal dict screen" into nyc-mr1-dev
Salvador Martinez [Wed, 31 Aug 2016 00:38:15 +0000 (00:38 +0000)]
Merge "Can restore state on rotate personal dict screen" into nyc-mr1-dev

7 years agoMerge "Use LinkTextView for support disclaimer text." into nyc-dr1-dev
Andrew Sapperstein [Wed, 31 Aug 2016 00:28:27 +0000 (00:28 +0000)]
Merge "Use LinkTextView for support disclaimer text." into nyc-dr1-dev
am: a200918af0

Change-Id: I7554d650756aad063d8cf091022fb2a04f823b81

7 years agoUse LinkTextView for support disclaimer text.
Andrew Sapperstein [Wed, 31 Aug 2016 00:28:27 +0000 (00:28 +0000)]
Use LinkTextView for support disclaimer text.
am: 7e9146950d

Change-Id: Ia4a998039bfcdea3419a512d342665248f0b7ac3

7 years agoMerge "Use LinkTextView for support disclaimer text." into nyc-dr1-dev
Andrew Sapperstein [Wed, 31 Aug 2016 00:21:29 +0000 (00:21 +0000)]
Merge "Use LinkTextView for support disclaimer text." into nyc-dr1-dev

7 years agoMake sure setting switch bar state is announced.
Phil Weaver [Tue, 30 Aug 2016 23:34:38 +0000 (16:34 -0700)]
Make sure setting switch bar state is announced.

When the switch is clicked, a TYPE_VIEW_CLICKED a11y
event is produced. It works fine if the switch bar is
clicked, but if the switch itself is clicked the event
comes from the switch, which is marked as not important
for accessibility. Re-dispatching events from the switch
as coming from the switch bar makes sure that the event
comes from a view that accessibility services can see.

Bug: 30484493
Change-Id: Ie48cc78594c64b1cc5735475e1cb5959fadaaf4a

7 years agoMerge "Only display System section for current user." into nyc-mr1-dev
TreeHugger Robot [Tue, 30 Aug 2016 22:24:15 +0000 (22:24 +0000)]
Merge "Only display System section for current user." into nyc-mr1-dev

7 years agoRemove preference "Searching for Wi-Fi networks..." am: b8e8485720
Doris Ling [Tue, 30 Aug 2016 20:07:38 +0000 (20:07 +0000)]
Remove preference "Searching for Wi-Fi networks..." am: b8e8485720
am: ba7e57ec06

Change-Id: Ic2e0b0c977cf11dcca4ed87deeb8bc6fe9a27420

7 years agoRemove preference "Searching for Wi-Fi networks..."
Doris Ling [Tue, 30 Aug 2016 20:05:09 +0000 (20:05 +0000)]
Remove preference "Searching for Wi-Fi networks..."
am: b8e8485720

Change-Id: Ie264fbdddf2aff8b8f5f4d6aac2fc079b98c9747

7 years agoUse LinkTextView for support disclaimer text.
Andrew Sapperstein [Tue, 30 Aug 2016 19:54:52 +0000 (12:54 -0700)]
Use LinkTextView for support disclaimer text.

LinkTextView uses LinkAccessibilityHelper to properly handle
making links accessible.

Deleted Settings' outdated fork for the version in setupwizardlib.

Test: manual

Change-Id: I38c031f96b5be0d45e4cc1aa358f95b229f17480
Fixes: 31077012

7 years agoOnly display System section for current user.
Felipe Leme [Mon, 29 Aug 2016 21:28:56 +0000 (14:28 -0700)]
Only display System section for current user.

Otherwise it will be displayed twice on work profiles.

Change-Id: Ic7d21a57f72b9f4a254d574adce90afd7cd27b90
Test: manual verification
Fixes: 31108318

7 years agoCan restore state on rotate personal dict screen
Salvador Martinez [Wed, 17 Aug 2016 18:53:14 +0000 (11:53 -0700)]
Can restore state on rotate personal dict screen

When adding/editing a word for your personal dictionary
rotating the screen could cause the language to change
back to the device default. This has been fixed.

Test: ag/1389633, robolectric not supported in this branch.
Bug: 30874931
Change-Id: I0c8ebec5f4d5e7b23112b656c482c3b2cda7791f

7 years agoRemove preference "Searching for Wi-Fi networks..."
Doris Ling [Tue, 30 Aug 2016 01:44:41 +0000 (18:44 -0700)]
Remove preference "Searching for Wi-Fi networks..."

When we add the preference "Searching for Wi-Fi networks...", we didn't
provide a key to the preference. As a result, each time when we get
access point update and try to show such tile, it creates a new one, and
results in multiple entries of such tile. Adding a key to the preference
will prevent the multiple entry from being added.

Test: Manual -
1. Turn wifi off and on several times, verify that there is only one entry
   of "Searching for Wi-Fi networks..." when initializing the wifi access
   point list.
2. Verifies that when the access point list is established, the
   "Searching for Wi-Fi networks..." entry is gone.

Change-Id: Iaad329d89f8e4b52129d0661501aa34fbd956692

Change-Id: I1bfa77051e068926e8c876a89adf14d143970e7e
Fixes: 31143961

7 years agoMerge "Add label to redaction interstitial activity" into nyc-mr1-dev
Maurice Lam [Mon, 29 Aug 2016 23:36:34 +0000 (23:36 +0000)]
Merge "Add label to redaction interstitial activity" into nyc-mr1-dev

7 years agoMerge "Hide unused recylerview to not confuse talkback." into nyc-mr1-dev
TreeHugger Robot [Mon, 29 Aug 2016 21:39:34 +0000 (21:39 +0000)]
Merge "Hide unused recylerview to not confuse talkback." into nyc-mr1-dev

7 years agoFix multiple bluetooth devices bug am: e2428aff75
Jason Monk [Mon, 29 Aug 2016 19:05:37 +0000 (19:05 +0000)]
Fix multiple bluetooth devices bug am: e2428aff75
am: 716313a533

Change-Id: I05f6b74325359b96e7d52dc5869d341346e9c591

7 years agoFix multiple bluetooth devices bug
Jason Monk [Mon, 29 Aug 2016 18:54:18 +0000 (18:54 +0000)]
Fix multiple bluetooth devices bug
am: e2428aff75

Change-Id: Ia4fadb8ea7e4818dde27e3806401735622c6a516

7 years agoHide unused recylerview to not confuse talkback.
Philip P. Moltmann [Mon, 29 Aug 2016 17:51:25 +0000 (10:51 -0700)]
Hide unused recylerview to not confuse talkback.

Fixes: 31088913
Change-Id: I1394cec881d8a1944004a69bc787e5341f8c9ddc

7 years agoFix multiple bluetooth devices bug
Jason Monk [Mon, 25 Jul 2016 14:37:39 +0000 (10:37 -0400)]
Fix multiple bluetooth devices bug

Was bug in some code trying to handle preference animations better.
Since those animations are all disabled now, just remove everything
again and re-add it.

Change-Id: If1ce07a8f2b4144d95a95cec6ebb1b423644825a
Fixes: 29314480
(cherry picked from commit 6666f9cc37ac8f9b99c6a174b1478924ed8fc6cd)

7 years agoMerge "Only show BootSounds preference if has_boot_sounds is true." into nyc-mr1-dev
Geoffrey Pitsch [Mon, 29 Aug 2016 13:06:21 +0000 (13:06 +0000)]
Merge "Only show BootSounds preference if has_boot_sounds is true." into nyc-mr1-dev

7 years agoMerge "Re-enable Ambient Display double tab." into nyc-mr1-dev
Doris Ling [Sat, 27 Aug 2016 00:04:19 +0000 (00:04 +0000)]
Merge "Re-enable Ambient Display double tab." into nyc-mr1-dev

7 years agoRe-enable Ambient Display double tab.
Doris Ling [Fri, 26 Aug 2016 21:29:52 +0000 (14:29 -0700)]
Re-enable Ambient Display double tab.

Restoring the changes to move Display->Ambient Display to Moves->Quick screen

This reverts commit 9b3000d8ac256093bbf62d04c518b67df244c311, except for
the removal of res/raw/gesture_ambient_move_lift.mp4

Test: Manual - Go to Settings->Display->Quick screen check and verify
the preference is restored.

Bug: 30595437
Change-Id: Ie50bcebd119714d49422b7139d0d0234f27584e2

7 years agoFix NullPointerException in DashboardSummary.
Doris Ling [Fri, 26 Aug 2016 18:13:21 +0000 (11:13 -0700)]
Fix NullPointerException in DashboardSummary.

In onSaveInstanceState(), move saving the suggestions logging lists to
the top so that it will be saved to the bundle even when layout manager
is null.

Test: run monkey
Change-Id: I248563a255158feadeb85898a920af96a1565fa9
Fixes:31111795

7 years agoMerge "Updated Nexus imprint screen" into nyc-mr1-dev
Salvador Martinez [Fri, 26 Aug 2016 17:01:11 +0000 (17:01 +0000)]
Merge "Updated Nexus imprint screen" into nyc-mr1-dev

7 years agoPrompt to turn on/unlock profile before showing account sync settings
Rubin Xu [Wed, 24 Aug 2016 09:15:07 +0000 (10:15 +0100)]
Prompt to turn on/unlock profile before showing account sync settings

Bug: 29087280
Change-Id: I39e175ab23d4f1071727fe9c0906e40da1e7aada

7 years agoMerge "Fix fingerprint progress bar in RTL" into nyc-mr1-dev
TreeHugger Robot [Fri, 26 Aug 2016 00:56:15 +0000 (00:56 +0000)]
Merge "Fix fingerprint progress bar in RTL" into nyc-mr1-dev

7 years agoMerge "Add the specific string for the tablet device" into nyc-mr1-dev
Lei Yu [Thu, 25 Aug 2016 23:48:50 +0000 (23:48 +0000)]
Merge "Add the specific string for the tablet device" into nyc-mr1-dev

7 years agoFix fingerprint progress bar in RTL
Maurice Lam [Thu, 25 Aug 2016 01:54:09 +0000 (18:54 -0700)]
Fix fingerprint progress bar in RTL

Bug: 31047779
Change-Id: Ia6961d9fa425a8a247365f75f5c00955d69d2c60
(cherry picked from commit 6e300bca3a3f2302d513a64fd03071170ac5fad1)

7 years agoAdd the specific string for the tablet device
jackqdyulei [Thu, 25 Aug 2016 22:04:12 +0000 (15:04 -0700)]
Add the specific string for the tablet device

Bug: 30761670

Add "product=default" in support_disclaimer_content to prevent crash
when merging down to master branch.

Change-Id: Ib9ce94288ca4cf13514ba2af64031bd3ecafab7f

7 years agoMerge "Added guard to logging in AsyncTask" into nyc-mr1-dev
Salvador Martinez [Thu, 25 Aug 2016 19:57:24 +0000 (19:57 +0000)]
Merge "Added guard to logging in AsyncTask" into nyc-mr1-dev

7 years agoImplement Web Action settings
Todd Kennedy [Thu, 25 Aug 2016 17:17:47 +0000 (10:17 -0700)]
Implement Web Action settings

Users can enable / disable Web Action from "Opening links" under
the apps setting.

Bug: 28140107
Change-Id: I4ed4b77953952a56316b780a54a482d0c564cbe4
Test: manual testing of the settings app

7 years agoUpdated Nexus imprint screen
Salvador Martinez [Wed, 24 Aug 2016 18:07:37 +0000 (11:07 -0700)]
Updated Nexus imprint screen

The fingerprint settings screen looked ugly so an
icon was added and the styles used in the
preferences normalized so everything lines up
and is flush now.

Test: Visually Inspect
Bug: 27834731
Change-Id: I208d7fc2aecbe64d3a0b771fc73f49c9612f6efa
(cherry picked from commit 3d2d5e040ac0d28012c480a5bf1f10d947cf629c)

7 years agoInflate necessary previews upon user interaction instead of inflating everything...
Noah Wang [Thu, 25 Aug 2016 18:42:57 +0000 (18:42 +0000)]
Inflate necessary previews upon user interaction instead of inflating everything on creation of the screen. This will improve the speed of opening the screen and refreshing screen upon commiting change.
am: ff23df19ba

Change-Id: I5667a6eecd3ab379a34a1d3488b6f03f354358d1

7 years agoAdded guard to logging in AsyncTask
Salvador Martinez [Wed, 24 Aug 2016 22:11:21 +0000 (15:11 -0700)]
Added guard to logging in AsyncTask

An async task was trying to get the context
in an InstrumentedFragment. This could return
null if the context disappears before the new
thread gets to that line. Logging will now
be aborted if context is null to avoid this.

Test: Manual/Monkey Stability Test
Bug: 31058928
Change-Id: Iae97d389e58a76b0f213a2749415501894ebf649
(cherry picked from commit 566b66e27c69fbf48860f367781800442c5110e7)

7 years agoInflate necessary previews upon user interaction instead of
Noah Wang [Tue, 23 Aug 2016 21:56:27 +0000 (14:56 -0700)]
Inflate necessary previews upon user interaction instead of
inflating everything on creation of the screen. This will
improve the speed of opening the screen and refreshing screen upon
commiting change.

Test: Manually tested by interacting with ViewPager and SeekBar.
Bug: 30697309
Change-Id: Ieb2fac95696b8be33fd508f3b75741529b68e946
(cherry picked from commit 5666ddfe5d96c8bb2454b5e9c296ef664e5af9ae)

7 years agoMerge "Add tablet and device product version for the Moves description text." into...
TreeHugger Robot [Thu, 25 Aug 2016 02:27:14 +0000 (02:27 +0000)]
Merge "Add tablet and device product version for the Moves description text." into nyc-mr1-dev

7 years agoFix animation video render issue when Settings->Moves is resumed from screen off.
Doris Ling [Thu, 25 Aug 2016 01:54:55 +0000 (01:54 +0000)]
Fix animation video render issue when Settings->Moves is resumed from screen off.
am: 465e926542

Change-Id: Ie92491dd5aa16a473ead297a56795fe0d72bbb93

7 years agoMerge "Fix crash in ChooseLockPassworkFragment." into nyc-mr1-dev
TreeHugger Robot [Thu, 25 Aug 2016 01:44:21 +0000 (01:44 +0000)]
Merge "Fix crash in ChooseLockPassworkFragment." into nyc-mr1-dev

7 years agoFix animation video render issue when Settings->Moves is resumed from
Doris Ling [Tue, 23 Aug 2016 23:08:34 +0000 (16:08 -0700)]
Fix animation video render issue when Settings->Moves is resumed from
screen off.

Re-initialize the animation video if necessary when the preference is
visible to the user.

Fixes: 31023261

Test: manual -
1. Go to Settings -> Moves and verify that the animation video are
displayed correctly on load.
2. Press power button to turn screen off, then on again. Verify when
Moves settings resumes, the animation video is displayed correctly.
3. Repeat #2 above but let display time out instead of turning off
screen by power button.

Change-Id: I0ee21d23a4c402b3a8463dca3b36fce67d651993
(cherry picked from commit 008ba4ec402c6b223ff4126d9a180b3931a049ef)

7 years agoAdd tablet and device product version for the Moves description text.
Doris Ling [Thu, 25 Aug 2016 00:27:50 +0000 (17:27 -0700)]
Add tablet and device product version for the Moves description text.

Provide corresponding version of the string device/phone/tablet
according to the product type.

Change-Id: I9f1e47b88ee0d72bb52b588f781470922ba572c2
Fixes: 30946424

7 years agoDon't remove wifi preferences when updating AP to avoid GC. am: 9d031f2fbc
Fan Zhang [Thu, 25 Aug 2016 00:47:51 +0000 (00:47 +0000)]
Don't remove wifi preferences when updating AP to avoid GC. am: 9d031f2fbc
am: 1330f130d6

Change-Id: Ifa8d1b0f30a07243a49a61bd92072de4e90e8709

7 years agoDon't remove wifi preferences when updating AP to avoid GC.
Fan Zhang [Thu, 25 Aug 2016 00:44:53 +0000 (00:44 +0000)]
Don't remove wifi preferences when updating AP to avoid GC.
am: 9d031f2fbc

Change-Id: I0a4c7204dcb79880aee5db620b9642b8a1314757

7 years agoFix crash in ChooseLockPassworkFragment.
Doris Ling [Thu, 25 Aug 2016 00:17:52 +0000 (17:17 -0700)]
Fix crash in ChooseLockPassworkFragment.

Check for null activity when the handler receives messages to ensure
that the fragment is still attached to the activity.

Fixes: 31034901

Test: Manual - Manually try to update password, verify it works. Run
monkey test on settings package and verify no crash seen.

Change-Id: I9753729ee64458fa1bc25d78abc946d2563a5067

7 years agoMerge "Don't remove wifi preferences when updating AP to avoid GC." into nyc-mr1-dev
TreeHugger Robot [Thu, 25 Aug 2016 00:09:49 +0000 (00:09 +0000)]
Merge "Don't remove wifi preferences when updating AP to avoid GC." into nyc-mr1-dev

7 years agoDon't remove wifi preferences when updating AP to avoid GC.
Fan Zhang [Wed, 24 Aug 2016 21:52:49 +0000 (14:52 -0700)]
Don't remove wifi preferences when updating AP to avoid GC.

Bug: 30870531

Removing wifi preferences every time will force update create a new set
of preferences, which leads to higher chance of GC.

Change-Id: Ifea2f63a3b54fa0d5861fb34a348d81e99bcab68

7 years agoDon't remove wifi preferences when updating AP to avoid GC.
Fan Zhang [Wed, 24 Aug 2016 21:52:49 +0000 (14:52 -0700)]
Don't remove wifi preferences when updating AP to avoid GC.

Bug: 30870531

Removing wifi preferences every time will force update create a new set
of preferences, which leads to higher chance of GC.

Change-Id: Ifea2f63a3b54fa0d5861fb34a348d81e99bcab68

7 years agoMerge "Inflate necessary previews upon user interaction instead of inflating everythi...
Noah Wang [Wed, 24 Aug 2016 21:16:13 +0000 (21:16 +0000)]
Merge "Inflate necessary previews upon user interaction instead of inflating everything on creation of the screen. This will improve the speed of opening the screen and refreshing screen upon commiting change." into nyc-mr1-dev

7 years agoInflate necessary previews upon user interaction instead of
Noah Wang [Tue, 23 Aug 2016 21:56:27 +0000 (14:56 -0700)]
Inflate necessary previews upon user interaction instead of
inflating everything on creation of the screen. This will
improve the speed of opening the screen and refreshing screen upon
commiting change.

Test: Manually tested by interacting with ViewPager and SeekBar.
Bug: 30697309
Change-Id: Ieb2fac95696b8be33fd508f3b75741529b68e946

7 years agoIgnore onPreferenceChange for top level preference
Fyodor Kupolov [Fri, 19 Aug 2016 02:21:56 +0000 (19:21 -0700)]
Ignore onPreferenceChange for top level preference

Top level preferences are handled in onClick. Returning true would
toggle the state of the switcher.

Test: Manually tested App & content access page
Bug: 30909943
Change-Id: I9487044aa67c20c9cb0e9bb9de8911f17e05d808

7 years agoMerge "Fix animation video render issue when Settings->Moves is resumed from screen...
Doris Ling [Wed, 24 Aug 2016 04:05:38 +0000 (04:05 +0000)]
Merge "Fix animation video render issue when Settings->Moves is resumed from screen off." into nyc-mr1-dev

7 years agoMerge "Use isOemUnlockEnabled to drive oem unlocking toggle." into nyc-mr1-dev
TreeHugger Robot [Wed, 24 Aug 2016 00:31:53 +0000 (00:31 +0000)]
Merge "Use isOemUnlockEnabled to drive oem unlocking toggle." into nyc-mr1-dev

7 years agoMerge "Only sync adapters with access can see an account - settings" into nyc-mr1-dev
TreeHugger Robot [Tue, 23 Aug 2016 23:26:47 +0000 (23:26 +0000)]
Merge "Only sync adapters with access can see an account - settings" into nyc-mr1-dev

7 years agoMerge "Show summary of "Add user" item" into nyc-mr1-dev
Sudheer Shanka [Tue, 23 Aug 2016 23:23:07 +0000 (23:23 +0000)]
Merge "Show summary of "Add user" item" into nyc-mr1-dev

7 years agoFix animation video render issue when Settings->Moves is resumed from
Doris Ling [Tue, 23 Aug 2016 23:08:34 +0000 (16:08 -0700)]
Fix animation video render issue when Settings->Moves is resumed from
screen off.

Re-initialize the animation video if necessary when the preference is
visible to the user.

Fixes: 31023261

Test: manual -
1. Go to Settings -> Moves and verify that the animation video are
displayed correctly on load.
2. Press power button to turn screen off, then on again. Verify when
Moves settings resumes, the animation video is displayed correctly.
3. Repeat #2 above but let display time out instead of turning off
screen by power button.

Change-Id: I0ee21d23a4c402b3a8463dca3b36fce67d651993

7 years agoMerge "Position fingerprint progress in the center on landscape" into nyc-mr1-dev
Maurice Lam [Tue, 23 Aug 2016 22:57:32 +0000 (22:57 +0000)]
Merge "Position fingerprint progress in the center on landscape" into nyc-mr1-dev

7 years agoForce phone number display to be LTR in support tab.
Fan Zhang [Tue, 23 Aug 2016 22:43:30 +0000 (22:43 +0000)]
Force phone number display to be LTR in support tab.
am: 68c6d9956f

Change-Id: Ib5a7b11f9063af047f37a1f342ec715c590cb337

7 years agoMerge "Remove duplicate string for fingerprint enroll" into nyc-mr1-dev
Maurice Lam [Tue, 23 Aug 2016 22:19:57 +0000 (22:19 +0000)]
Merge "Remove duplicate string for fingerprint enroll" into nyc-mr1-dev

7 years agoMerge "Log settings suggestions events only once." into nyc-mr1-dev
Doris Ling [Tue, 23 Aug 2016 22:15:52 +0000 (22:15 +0000)]
Merge "Log settings suggestions events only once." into nyc-mr1-dev

7 years agoUse isOemUnlockEnabled to drive oem unlocking toggle.
Fan Zhang [Tue, 23 Aug 2016 22:13:22 +0000 (15:13 -0700)]
Use isOemUnlockEnabled to drive oem unlocking toggle.

Bug: 31031467
Test: manually turned on/off persistent_data_block

Change-Id: I21d18a898a220f9e46a53715d4b4fa01c7116e7f

7 years agoOnly sync adapters with access can see an account - settings
Svetoslav Ganov [Tue, 12 Jul 2016 02:34:21 +0000 (19:34 -0700)]
Only sync adapters with access can see an account - settings

This change ensures that when the user tries to toggle a sync for a
sync adapter that doesn't have access to an account we show UI for
the user to approve the sync.

bug:28163381

Change-Id: I59802df6614572cf0eaf4b72a177beb111b87b34

7 years agoAdd label to redaction interstitial activity
Maurice Lam [Fri, 5 Aug 2016 23:57:59 +0000 (16:57 -0700)]
Add label to redaction interstitial activity

Bug: 30262038
Change-Id: Ic5f4f8b003acbe4f8735ec8da112f069b9d48e5a
(cherry picked from commit 43366f12d920186d616f719a10ef2d023e8c1e90)