OSDN Git Service
TreeHugger Robot [Wed, 1 Feb 2017 05:13:58 +0000 (05:13 +0000)]
Merge "Enable SMS in carrier demo mode" into nyc-mr2-dev
Justin Klaassen [Wed, 1 Feb 2017 03:39:57 +0000 (19:39 -0800)]
Enable SMS in carrier demo mode
Fixes:
34861667
Test: manually verified default SMS app works in carrier demo mode.
Change-Id: Ic6f1065954e5bb54c6b78b3d604811333f6863e4
Selim Cinek [Wed, 1 Feb 2017 00:52:08 +0000 (00:52 +0000)]
Merge "Fixed an issue where heads-upped notifications would stay" into nyc-mr2-dev
Selim Cinek [Tue, 31 Jan 2017 22:37:14 +0000 (14:37 -0800)]
Fixed an issue where heads-upped notifications would stay
If a heads up notification was briefly removed right after
it was added it could linger around in systemUI until
the panel collapsed.
We need to make sure not to apply this improvement if
reordering isn't allowed, otherwise it will never time out
Test: existing tests pass
Bug:
34608075
Merged-In: I7768f6111ada30edcb997a42940e5e336efe1cf2
Change-Id: I7768f6111ada30edcb997a42940e5e336efe1cf2
Manu Cornet [Tue, 31 Jan 2017 23:27:03 +0000 (23:27 +0000)]
Merge "2D Recents: Keep nav bar hidden from transition thumbnail" into nyc-mr2-dev
Manu Cornet [Tue, 31 Jan 2017 23:24:59 +0000 (23:24 +0000)]
Merge "2D recents: fix layout to show 3 tasks on a single line" into nyc-mr2-dev
Ying Wai (Daniel) Fan [Tue, 31 Jan 2017 20:53:26 +0000 (20:53 +0000)]
Correct the formula of battery capacity estimation.
am:
c800ddc824
Change-Id: Ia0a16cd15fc71f6ff2af89d7ecbb7a319b5ece92
TreeHugger Robot [Tue, 31 Jan 2017 08:31:11 +0000 (08:31 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev
TreeHugger Robot [Tue, 31 Jan 2017 07:28:41 +0000 (07:28 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev
Bill Yi [Tue, 31 Jan 2017 06:39:49 +0000 (22:39 -0800)]
Import translations. DO NOT MERGE
Change-Id: I0ef2e2fb59b03df8ce1c4ebb29154ef815b6154b
Auto-generated-cl: translation import
Bill Yi [Tue, 31 Jan 2017 04:45:03 +0000 (20:45 -0800)]
Import translations. DO NOT MERGE
Change-Id: Icf17a6fb6b941caea8a843c0cac96f0b1883d4f3
Auto-generated-cl: translation import
Bill Yi [Tue, 31 Jan 2017 04:36:40 +0000 (20:36 -0800)]
Import translations. DO NOT MERGE
Change-Id: Ifb3e58e4528c1d7ea44bac121b7e210672aa6a7f
Auto-generated-cl: translation import
Ying Wai (Daniel) Fan [Wed, 18 Jan 2017 23:50:19 +0000 (15:50 -0800)]
Correct the formula of battery capacity estimation.
Instead of
(current charge) * (current battery level percentage)
the formula should be
(current charge) / (current battery level percentage)
to estimate the charge at 100% battery level.
Bug:
34255953
Fixes:
34255953
Test: formula change CL. No existing unit tests found.
Change-Id: I56ef7af3fb097a3082e0ef24329f522d2a0229cc
(cherry picked from commit
9238b6124c72a216ccbbaa82f5f75828571d5841)
Robert Greenwalt [Mon, 30 Jan 2017 18:14:19 +0000 (18:14 +0000)]
Merge "SFR sims should treat Spain as roaming" into nyc-mr2-dev
Makoto Onuki [Mon, 30 Jan 2017 17:17:59 +0000 (17:17 +0000)]
Merge "Do not call RecoverySystem with DPMS lock held" into nyc-mr2-dev
Torbjorn Eklund [Wed, 18 Jan 2017 10:46:46 +0000 (19:46 +0900)]
SFR sims should treat Spain as roaming
Since there are unnecessary "config_operatorConsideredNonRoaming" values
in the following file, UE mistakenly recognizes all Spain network as
non-roaming when SFR sim is inserted. Fix the issue by removing the
values.
- core/res/res/values-mcc208-mnc10/config.xml
Bug:
34369673
Bug:
33902721
Change-Id: I7353e260ec7d3d298346a48c74b7b71bb75b14de
Makoto Onuki [Wed, 4 Jan 2017 22:36:59 +0000 (14:36 -0800)]
Do not call RecoverySystem with DPMS lock held
Note DPM.wipeData() on a secondary user is now blocking, just like
it's been always blocking on the primary user.
Test: Manually tested wipeData() with ApiDemos, both on 1) the primary user,
2) a secondary user and 3) work profile.
Test: adb shell am instrument -e class com.android.server.devicepolicy.DevicePolicyManagerTest -w com.android.frameworks.servicestests
Bug
30681079
Change-Id: Ia832bed0f22396998d6307ab46e262dae9463838
Merged-in: Ib97a92a6af87a5589d2643b9ae0522395735e1a5
TreeHugger Robot [Fri, 27 Jan 2017 20:36:29 +0000 (20:36 +0000)]
Merge "Fixed the logic for tethering provisioning re-evaluation" into nyc-mr2-dev
Jack Yu [Mon, 16 Jan 2017 18:49:55 +0000 (10:49 -0800)]
Fixed the logic for tethering provisioning re-evaluation
Previously we only re-evaluate provisioning for SIM swap case
The new logic covers both SIM swap case
(ABSENT->NOT_READY->UNKNOWN->READY->LOADED) and modem reset
case (NOT_READY->READY->LOADED)
Test: Manual
bug:
33815946
Merged-In: I9960123605b10d3fa5f3584c6c8b70b616acd6f8
Change-Id: I9960123605b10d3fa5f3584c6c8b70b616acd6f8
Paul Navin [Fri, 27 Jan 2017 16:54:58 +0000 (16:54 +0000)]
Add hidden API for whether permission review mode is on.
am:
7b89a7b1f7
Change-Id: Ic7f4d30bd689bf5677600552030a3e696b16dfbb
Jason Monk [Fri, 27 Jan 2017 15:08:03 +0000 (15:08 +0000)]
Merge "Add separate roaming icon for status bar + QS" into nyc-mr2-dev
Manu Cornet [Fri, 27 Jan 2017 07:21:38 +0000 (16:21 +0900)]
2D recents: fix layout to show 3 tasks on a single line
Make the computation easier to read.
Bug:
34750498
Tested: Checked layout for n tasks for n between 0 and 8
Change-Id: I6d801f9f7d3839ed4a985233c82d93ab0823d6b0
Paul Navin [Thu, 26 Jan 2017 23:56:08 +0000 (23:56 +0000)]
Add hidden API for whether permission review mode is on.
BUG:
34240393
Change-Id: I68e55767a7da1d457a6cedd210aac9e339fb996c
Daniel Nishi [Fri, 27 Jan 2017 00:35:22 +0000 (00:35 +0000)]
Merge "Add a flag to enable/disable the diskstats logging service." into nyc-mr2-dev
TreeHugger Robot [Fri, 27 Jan 2017 00:26:05 +0000 (00:26 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev
Daniel Nishi [Wed, 25 Jan 2017 19:43:55 +0000 (11:43 -0800)]
Add a flag to enable/disable the diskstats logging service.
Bug:
34704947
Test: Service tests
Change-Id: I224cfb38682f1fd2bd33750b664bd3aacdaa4bde
Winson Chung [Thu, 26 Jan 2017 22:17:08 +0000 (22:17 +0000)]
Merge "DO NOT MERGE Fixing crash in SystemUI fetching task description icons." into nyc-mr2-dev
Jason Monk [Mon, 19 Dec 2016 20:36:13 +0000 (15:36 -0500)]
Add separate roaming icon for status bar + QS
Now data + roaming will be shown at the same time.
Test: runtest systemui
Bug:
31205845
Change-Id: I8fe167a0909c952ad0824e24e178857df2541554
Michal Karpinski [Thu, 26 Jan 2017 14:52:16 +0000 (14:52 +0000)]
Merge "DO NOT MERGE Change batch finalization timeout mechanism from Handler#sendMessageDelayed() to a wakeful alarm" into nyc-mr2-dev
Michal Karpinski [Wed, 25 Jan 2017 16:53:12 +0000 (16:53 +0000)]
DO NOT MERGE Change batch finalization timeout mechanism from
Handler#sendMessageDelayed() to a wakeful alarm
Messages sent with Handler#sendMessageDelayed() didn't get delivered
until the device woke up after being idle, which resulted in
potentially very long windows of logs accumulation and highly possible
network log loss from before the device becaming idle.
Bug:
34157435
Test: manual with decreased timeout over a few timeout iterations
Change-Id: I22d9cc743acb1a478d2da5407c5718e7f95e89cb
TreeHugger Robot [Thu, 26 Jan 2017 07:10:23 +0000 (07:10 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev
TreeHugger Robot [Thu, 26 Jan 2017 07:07:36 +0000 (07:07 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev
Winson Chung [Thu, 26 Jan 2017 01:58:56 +0000 (17:58 -0800)]
DO NOT MERGE Fixing crash in SystemUI fetching task description icons.
When we compose the TaskDescription for the task, we update it with
information from each activity from top down. If an activity has a
saved icon, the filepath for that icon will be encoded with the user
id of the activity and saved into the task description. However, if
that activity's user is different from the user id of the root
activity of the task, we will later try to fetch the icon with the
user id of the task which will cause an exception to be thrown.
Instead, because the task description describes the task and information
belonging to the task description is always fetched as the user of
that task, we can save the icon with the task's user encoded instead
of the activity's.
Bug:
34692261
Test: Launch primary user activity with a custom task description icon
in a task that is rooted with a work profile activity, then restart
before the primary user activity is finished.
Change-Id: I66240cd488271e677cce7923cfef8e3e0cea5621
Elliot Waite [Thu, 26 Jan 2017 04:40:47 +0000 (04:40 +0000)]
Merge "Fix @links in reference docs." into nyc-mr1-dev am:
3366d4beb4
am:
6cc3802e50
Change-Id: I52ddc7a726e5b12d136e0e524225422e5e6aa1a6
Elliot Waite [Thu, 26 Jan 2017 04:39:53 +0000 (04:39 +0000)]
Fix @links in reference docs. am:
54de77470d
am:
ab978c035e
Change-Id: Ibec2b85708f9ff923156f4d867c9c2f71c75d41c
Elliot Waite [Thu, 26 Jan 2017 04:35:00 +0000 (04:35 +0000)]
Merge "Fix @links in reference docs." into nyc-mr1-dev
am:
3366d4beb4
Change-Id: I90aa2e4ca0553d5816024486015514b3e5d7bc86
Elliot Waite [Thu, 26 Jan 2017 04:34:57 +0000 (04:34 +0000)]
Fix @links in reference docs.
am:
54de77470d
Change-Id: Id38c30bad13d6b61ed504a06471b9f197b360f7b
TreeHugger Robot [Thu, 26 Jan 2017 04:31:36 +0000 (04:31 +0000)]
Merge "DO NOT MERGE: Allow launcher icon to be config'd in overlay." into nyc-mr2-dev
Elliot Waite [Thu, 26 Jan 2017 04:29:43 +0000 (04:29 +0000)]
Merge "Fix @links in reference docs." into nyc-mr1-dev
Bill Yi [Thu, 26 Jan 2017 03:35:15 +0000 (19:35 -0800)]
Import translations. DO NOT MERGE
Change-Id: I4d22b911e1f4a4828ef3eb5eed69b3ccc112552e
Auto-generated-cl: translation import
Bill Yi [Thu, 26 Jan 2017 01:47:34 +0000 (17:47 -0800)]
Import translations. DO NOT MERGE
Change-Id: Ied49499c963a70d4cadba0789f513ec9a056d16b
Auto-generated-cl: translation import
Bill Yi [Thu, 26 Jan 2017 01:38:56 +0000 (17:38 -0800)]
Import translations. DO NOT MERGE
Change-Id: I4540e172a904da8037f3cceab7fff06bf3e94803
Auto-generated-cl: translation import
Elliot Waite [Wed, 11 Jan 2017 23:30:35 +0000 (15:30 -0800)]
Fix @links in reference docs.
Change-Id: I40cea46efd80c448640ff69753698fe8404da40b
Steve McKay [Wed, 25 Jan 2017 18:19:06 +0000 (10:19 -0800)]
DO NOT MERGE: Allow launcher icon to be config'd in overlay.
Bug:
34441010
Test: Build and view in launcher.
Change-Id: I1f6cb4f2f6cb234e55aac1657aa6cdaa4a22550f
Jerry Zhang [Wed, 25 Jan 2017 20:30:17 +0000 (20:30 +0000)]
Merge changes from topic 'usb_bugfix' into nyc-mr2-dev
* changes:
Refactored setCurrentFunction and setUsbDataUnlocked into single method.
Clean up persistent usb state on boot.
Fixed handling of usb state during adb changes.
Andrew Sapperstein [Wed, 25 Jan 2017 16:01:04 +0000 (16:01 +0000)]
Merge "Decrease frequency of high temp warnings" into nyc-mr2-dev
Andrew Sapperstein [Wed, 25 Jan 2017 00:38:50 +0000 (16:38 -0800)]
Decrease frequency of high temp warnings
Instead of showing any time the temp is above throttling temp,
if the user has dismissed the notification (or clicked it), the notification
will not reshow until the temperature has gone below the throttling
temp and come back.
Test: manual
Change-Id: I4cef9144dfcff03a5e70ccd5b12efaab1e74d15b
Fixes:
34346625
TreeHugger Robot [Wed, 25 Jan 2017 00:24:33 +0000 (00:24 +0000)]
Merge "MessagingStyle: Fix buggy measure in MessagingLinearLayout" into nyc-mr2-dev
Siyamed Sinir [Tue, 24 Jan 2017 22:20:00 +0000 (22:20 +0000)]
Merge "Make SpannableStringBuilder.getSpans thread-safe" into nyc-mr2-dev
Siyamed Sinir [Tue, 24 Jan 2017 22:05:01 +0000 (22:05 +0000)]
Merge "Fix SpannableStringBuilder getSpans sort" into nyc-mr2-dev
Jerry Zhang [Wed, 12 Oct 2016 22:49:32 +0000 (15:49 -0700)]
Refactored setCurrentFunction and setUsbDataUnlocked into single method.
This gets rid of an extraneous configuration change when going from
adb to adb + file transfer as previously the config would have been
reset once for functions and once for data unlocked.
It also simplifies some of the code.
Bug:
31814300
Test: manually changing usb configurations
Change-Id: Ica10a195338b2189db13113f44657393db110bee
(cherry picked from commit
7a396be6d5ba8914933a54b5bfac25e118db0e9f)
TreeHugger Robot [Tue, 24 Jan 2017 20:55:07 +0000 (20:55 +0000)]
Merge "Vodafone SIMs should treat Spain as roaming" into nyc-mr2-dev
TreeHugger Robot [Tue, 24 Jan 2017 20:02:22 +0000 (20:02 +0000)]
Merge "Add Settings.Global configs to high temp warning." into nyc-mr2-dev
Adrian Roos [Mon, 5 Dec 2016 23:42:16 +0000 (15:42 -0800)]
MessagingStyle: Fix buggy measure in MessagingLinearLayout
Fixes a bug in MessagingLinearLayout where we would not
recompute the height of it after applying the computed
insets to the text views, leading to incorrect padding
and in rare cases a cut off message at the bottom.
Change-Id: If87a527555158e94e501832e9f49e380cc7da2bb
Test: runtest -x core/tests/coretests/src/com/android/internal/widget/MessagingLinearLayoutTest.java
Fixes:
31463075
(cherry picked from commit
4ac8f40d96196a2a36d7bda7d92eee9bbd4ee7e7)
TreeHugger Robot [Tue, 24 Jan 2017 18:55:13 +0000 (18:55 +0000)]
Merge "[DO NOT MERGE] Do not log boot times for secondary users and upgrades" into nyc-mr2-dev
Jesse Hall [Tue, 24 Jan 2017 18:08:12 +0000 (18:08 +0000)]
Merge "Don't lower priority of EGL Init thread" into nyc-mr2-dev
Jesse Hall [Tue, 24 Jan 2017 08:09:27 +0000 (00:09 -0800)]
Don't lower priority of EGL Init thread
The EGL Init thread spends a lot of time loading shared libraries,
which involves reading pages and adjusting VM pages. Previously it was
a low priority thread, which meant that when it blocked while holding
a VM lock, it might take a while to be scheduled again once ready, so
it would hold the VM lock longer than necessary, blocking other
threads waiting on soft faults, etc. Classic priority inversion.
Leaving the thread at normal priority causes it to interfere *less*
with critical-path Activity launch work.
Bug:
34611670
Test: go/platform-startup, specifically:
./tradefed.sh run google/template/local --template:map test
google/test/performance/app-launch-perf
--post-boot-command "service call persistent_data_block 6 i32 1"
--post-boot-command "service call persistent_data_block 7 i32 1"
--apps Clock alarmclock --trial-launch --launch-iteration 10
--launch-order cyclic --drop-cache --trace-directory sdcard
--trace-iteration 2 --simple-perf-cmd "simpleperf stat -a"
--report-metrics all --force-skip-system-props --alt-dir `pwd`
Change-Id: I17647c657da64d15f40f8f2b97ee3400e1f0be7f
Fyodor Kupolov [Tue, 24 Jan 2017 01:00:29 +0000 (17:00 -0800)]
[DO NOT MERGE] Do not log boot times for secondary users and upgrades
Do not log framework_boot_completed/framework_locked_boot_completed
for secondary users, runtime restarts or first boot/upgrade.
First boot/upgrade also applies to boot_system_server_ready/
boot_package_manager_init_ready
Cherry-picked from commit
4ba91b9a879290d3d810330d172161ab1f923da8
Test: Manual update with fingerprint change
Test: runtime restart - not logged
Bug:
34516002
Bug:
32807863
Change-Id: I64b960c96a0e45b4fefaf05547ea5ac5c701c765
Andrew Sapperstein [Fri, 20 Jan 2017 23:41:03 +0000 (15:41 -0800)]
Add Settings.Global configs to high temp warning.
Test: manual
Bug:
34480261
Merged-In: Icfd08c1c7dae456920b3978918ee01469e1dec95
Change-Id: I9ed444dfb89f86d94f3a0db699324318f5bf78d0
Ta-wei Yen [Mon, 23 Jan 2017 22:40:36 +0000 (22:40 +0000)]
Merge "Fix typo in the IS_OMPT_VOICEMAIL field." into nyc-mr2-dev
Siyamed Sinir [Wed, 14 Dec 2016 21:24:47 +0000 (13:24 -0800)]
Make SpannableStringBuilder.getSpans thread-safe
Add cached int buffers for sorting.
Test: All CtsTextTestCases
Merged-In: Ice0b3c3fffc541b26aca94c93fd01e30e13efe2e
Bug:
33609774
Change-Id: Ib728654a384cfc072d1c190611e4553aa8957fa8
Nancy Zheng [Mon, 23 Jan 2017 21:32:28 +0000 (21:32 +0000)]
Merge "Query for the settings package in KeyguardManager instead of hardcoding it." into cw-f-dev
am:
8ac1bff7e2
Change-Id: I2e4f9b4ea73ff5d0491b8cfda889a57aaac413ff
Nancy Zheng [Mon, 23 Jan 2017 21:32:26 +0000 (21:32 +0000)]
Query for the settings package in KeyguardManager instead of hardcoding it.
am:
e256a18dcd
Change-Id: I3eb7f475c44f815ad2f0e8e1f85c39e555774fcc
Nancy Zheng [Mon, 23 Jan 2017 21:17:15 +0000 (21:17 +0000)]
Merge "Query for the settings package in KeyguardManager instead of hardcoding it." into cw-f-dev
Ta-wei Yen [Mon, 23 Jan 2017 20:50:35 +0000 (12:50 -0800)]
Fix typo in the IS_OMPT_VOICEMAIL field.
This cause the voicemail content provider to crash on query.
Bug:
34610526
Change-Id: I561ae6616fe66ea49630fa6c4eb9280fdc24b153
Fixes:
34610526
Test: VoicemailContentProviderTest
Torbjorn Eklund [Fri, 8 Jul 2016 12:57:56 +0000 (14:57 +0200)]
Vodafone SIMs should treat Spain as roaming
Since there are unnecessary "config_operatorConsideredNonRoaming" values
in the following file, UE mistakenly recognizes all Spain network as
non-roaming when Vodafone sim from Spain is inserted. Fix the issue by
removing the values.
- core/res/res/values-mcc214-mnc01/config.xml
Bug:
30147413
Bug:
33902721
Change-Id: I75b3f4a112a625a80824516bb6ea06a43a4567da
Manu Cornet [Mon, 23 Jan 2017 10:37:53 +0000 (19:37 +0900)]
2D Recents: Keep nav bar hidden from transition thumbnail
Bug:
32101881
Bug:
33752154
Test: Checked (slow motion screencast) transitions on local sw600dp device
Change-Id: Id124f62df1063cf0fa81b5ef4367c047c3f51be3
TreeHugger Robot [Sun, 22 Jan 2017 00:50:15 +0000 (00:50 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev
TreeHugger Robot [Sun, 22 Jan 2017 00:49:12 +0000 (00:49 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev
Bill Yi [Sat, 21 Jan 2017 21:29:01 +0000 (13:29 -0800)]
Import translations. DO NOT MERGE
Change-Id: I62a808a76324482f44009f4ab8cf5916ba2f0477
Auto-generated-cl: translation import
Bill Yi [Sat, 21 Jan 2017 19:57:08 +0000 (11:57 -0800)]
Import translations. DO NOT MERGE
Change-Id: I5784ba9ac936cab4b2d809ff49d4e070c039cebe
Auto-generated-cl: translation import
Bill Yi [Sat, 21 Jan 2017 19:48:44 +0000 (11:48 -0800)]
Import translations. DO NOT MERGE
Change-Id: I015ec135dd7a62e001bee4c1356a9bc87814aa6d
Auto-generated-cl: translation import
Christine Franks [Sat, 21 Jan 2017 05:36:08 +0000 (05:36 +0000)]
Merge "DO NOT MERGE - Require password to FR in carrier demo mode" into nyc-mr2-dev
TreeHugger Robot [Sat, 21 Jan 2017 05:04:21 +0000 (05:04 +0000)]
Merge "Load EGL early in Activity launch, instead of in Zygote" into nyc-mr2-dev
Christine Franks [Fri, 20 Jan 2017 19:56:32 +0000 (11:56 -0800)]
DO NOT MERGE - Require password to FR in carrier demo mode
Bug:
34341567
Test: manual - password not required for regular user factory resets
and is required in carrier demo mode.
Change-Id: If696e5c5c806e31399e33a151b0d36e7a950ceb0
Jesse Hall [Fri, 20 Jan 2017 01:59:08 +0000 (17:59 -0800)]
Load EGL early in Activity launch, instead of in Zygote
Preloading EGL in Zygote was originally a memory footprint
optimization, but it turns out to be an important app startup time
optimization as well. Preloading EGL in Zygote is incompatible with
updatable graphics drivers, but we don't want to do it on-demand as
part of drawing the first frame either, since that increases
first-frame latency unacceptably.
This change removes Zygote preload, and instead loads EGL on a
low-priority background thread immediately after choosing which
graphics driver to use. This means it is usually done well before
drawing the first frame, without significantly disrupting other
activity launch work.
Test: observe systrace of Calculator launch on bullhead
Bug:
34404021
Change-Id: I6a0f6b90ade21848a10d51ddae62c936f70151b5
Merged-In: I887aa09bd35b088b16f53a89838a0c7c98f15761
Nancy Zheng [Mon, 21 Nov 2016 23:46:08 +0000 (15:46 -0800)]
Query for the settings package in KeyguardManager instead of
hardcoding it.
Bug:
33047002
Change-Id: I57bfab4750540789937d50c72ec05bb7a4535ae1
Philipp Weiß [Fri, 20 Jan 2017 19:12:44 +0000 (19:12 +0000)]
Merge "DO NOT MERGE Finalize device-monitoring dialog strings" into nyc-mr2-dev
phweiss [Fri, 20 Jan 2017 17:41:57 +0000 (18:41 +0100)]
DO NOT MERGE Finalize device-monitoring dialog strings
Add Char-limits, do minor style changes and remove STOPSHIP comment.
Related change on master:
ag/
1800040
0d08ca7d7fa12217f4a6562764b4ea65f3fa31f2
BUG:
33655277
BUG:
31207965
BUG:
29748723
Test: only string changes
Change-Id: I37d1b509c6344d7f7d144fc0d8950f45faeaaef4
Ta-wei Yen [Fri, 20 Jan 2017 18:31:41 +0000 (18:31 +0000)]
Merge "Add voicemail backup/restore columns" into nyc-mr2-dev
Fyodor Kupolov [Fri, 20 Jan 2017 18:17:58 +0000 (18:17 +0000)]
Merge "[DO NOT MERGE] Do not report boot timings on first boot or runtime restart" into nyc-mr2-dev
Fyodor Kupolov [Thu, 19 Jan 2017 20:11:32 +0000 (12:11 -0800)]
[DO NOT MERGE] Do not report boot timings on first boot or runtime restart
During first boot after OTA, additional dexopting has to be done
during PM initialization. Timings for OTA are reported separately,
so we should ignore first boot to avoid skewing the metrics.
The following metrics were updated:
- framework_locked_boot_completed
- framework_boot_completed
Cherry-picked from commit
1d87e40d4214a7f6d20a58d6f27cca174f0d974e
Test: manual
Bug:
32807863
Change-Id: I9d545cf38118f45f3f13597df2949d0ae4abd26a
TreeHugger Robot [Fri, 20 Jan 2017 04:05:27 +0000 (04:05 +0000)]
Merge "2D Recents: round task thumbnails properly." into nyc-mr2-dev
Ta-wei Yen [Fri, 20 Jan 2017 00:20:43 +0000 (16:20 -0800)]
Add voicemail backup/restore columns
BACKED_UP and RESTORED are required for dialer voicemail backup/restore
feature for N MR2. As there are no API bump the fields will be hidden
in NMR2. These fields will be made public in O.
ARCHIVED and IS_OMTP_VOICEMAIL is not used for NMR2, but added in
advance to avoid multiple database upgrades.
IS_OMTP_VOICEMAIL will be used in O to dedupe multiple apps implementing
VisualVoicemailService. All voicemail inserted by the service should
set this field to 1. The UI should only display voicemails with this
field set to 1 when the source_package is also the current active
VisualVoicemailService, as other sources represents the same source of
truth(the carrier) but is outdated.
For example, the query should be
WHERE (is_omtp_voicemail == 0) OR
(is_omtp_voicemail == 1 AND source_package = "current.vvm.package")
Test: VoicemailProviderTest
Bug:
34463609
Change-Id: I0f3e58fabff2102adf5bc29d81dac46c7e71d410
Svet Ganov [Fri, 20 Jan 2017 01:41:11 +0000 (01:41 +0000)]
Use separate switch ops for runtime permissions
am:
e710a6fc66
Change-Id: I86cd237bffdde972de69b91fa086ac5f5ec349e8
Jiaquan He [Mon, 9 Jan 2017 23:50:35 +0000 (15:50 -0800)]
2D Recents: round task thumbnails properly.
Test: Checked that on local sw600dp devices, task views are rounded with
8dp. Also checked that Recents works properly on phones.
Bug:
32101881
Change-Id: I6f7a09a12c3e3f1f7270bed1ae25b291fadfb8f2
Jiaquan He [Thu, 19 Jan 2017 23:23:56 +0000 (15:23 -0800)]
2D Recents: handle keyboard config changes.
While attaching or detaching a physical keyboard, we should handle the
configuration change in RecentsActivity, so that the activity isn't
relaunched and causes abnormal behaviors.
Test: Checked that while keyboard is attached or detached, Recents
behaves normally.
Bug:
32101881
Change-Id: Ibd185aeb48b31dbde032e235fdcaa17fbcdd9c8a
Siyamed Sinir [Wed, 14 Dec 2016 09:32:24 +0000 (01:32 -0800)]
Fix SpannableStringBuilder getSpans sort
Sort function was broken for odd number of elements.
Test: Added new CTS tests.
Bug:
33567024
Change-Id: I7457dee6ac279c6aab5b92431b347dc1f16a8fa0
TreeHugger Robot [Thu, 19 Jan 2017 19:36:40 +0000 (19:36 +0000)]
Merge "Add arrow key navigation support to Grid-based Recents." into nyc-mr2-dev
Svet Ganov [Thu, 22 Sep 2016 02:50:14 +0000 (19:50 -0700)]
Use separate switch ops for runtime permissions
If permissions review is enabled we allow individual
control of fine graned permissions in the SMS group.
This change ensures these permissions use the
corresponding app op as a switch to allow indifidual
control.
Change-Id: I83cd78a78a8266df8324b8a10cd9e36c04ff3112
(cherry picked from commit
99e4d51584202433f1628faa3441e5ced5cf7a0f)
TreeHugger Robot [Thu, 19 Jan 2017 07:57:11 +0000 (07:57 +0000)]
Merge "Eschew unspecified IP addresses for DNS servers" into nyc-mr2-dev
Lorenzo Colitti [Thu, 19 Jan 2017 06:27:20 +0000 (06:27 +0000)]
Merge "VPN reconnection fails after manually disabling VPN" into nyc-mr2-dev
Erik Kline [Thu, 19 Jan 2017 05:24:26 +0000 (14:24 +0900)]
Eschew unspecified IP addresses for DNS servers
Test: as follows
- built
- flashed
- booted
- runtest frameworks-wifi passes (though no test covers this code yet)
Bug:
34210527
Change-Id: I2d44445982dfb3221f7b6394daf0479c1fa8a6e1
TreeHugger Robot [Thu, 19 Jan 2017 04:43:46 +0000 (04:43 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev
TreeHugger Robot [Thu, 19 Jan 2017 04:43:03 +0000 (04:43 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev
Hisanobu Watanabe [Tue, 7 Jun 2016 10:55:41 +0000 (19:55 +0900)]
VPN reconnection fails after manually disabling VPN
When disabling VPN manually, there was no trigger for ipsec-tools to
send “delete message” to VPN server. Therefore, connection information
is left in VPN server and next connection fails.
Fix this issue as below:
- Add “delete message” sending via flush in ipsec-tools when racoon
daemon stops
- Keep daemon alive when VPN.java exit() to let it finish sending to
VPN server
- Move close(socket) and stop(daemon) in VPN.java execute()
and monitorDaemons() to run() to gather cleaning block.
(cherry picked from commit
047454c759b46bbadb87ee3b64bf3e29afda48d6)
Change-Id: Ibfbd389b17de5b5a5d23cba59c8d1e05fbe12c15
Bug:
28279646
Bug:
33467086
Michael Wright [Thu, 19 Jan 2017 02:16:46 +0000 (02:16 +0000)]
Merge "Validate custom pointer icons aren't null." into cw-f-dev
am:
05b2d3eb0d
Change-Id: I3a11e06dfe3f476b791838241bfb36e5362063ab
Michael Wright [Thu, 19 Jan 2017 02:16:42 +0000 (02:16 +0000)]
Validate custom pointer icons aren't null.
am:
35068079c8
Change-Id: I37fdde3c1ea735c4888760f3aab43caf7711dd0e
TreeHugger Robot [Thu, 19 Jan 2017 02:12:10 +0000 (02:12 +0000)]
Merge "Validate custom pointer icons aren't null." into cw-f-dev
TreeHugger Robot [Thu, 19 Jan 2017 01:26:00 +0000 (01:26 +0000)]
Merge "2D Recents: polish the app -> recents transition" into nyc-mr2-dev