OSDN Git Service
smain@google.com [Wed, 31 Aug 2016 03:40:37 +0000 (03:40 +0000)]
replace the N Preview landing page with the redirect to the package index also update version metadata (no longer preview, now 7.0)
am:
dde8deb950
Change-Id: Ide293756b6b7a75a434ff9ed3cf15cd40fbd3452
Mike Tsao [Wed, 31 Aug 2016 01:30:01 +0000 (01:30 +0000)]
Merge "Fix QS CTS failure caused by tile backup" into nyc-dr1-dev
Adam Seaton [Tue, 30 Aug 2016 23:28:44 +0000 (23:28 +0000)]
Revert "Bump up the uncrypt timeout to 30 min." Creates Null Build to test OTA failure fix. This reverts commit
8abcfed8a42a1ca517ee3c8d0448fda669ff9ded. am:
b57e6560d0
am:
e245037327
Change-Id: I477f3e1c5e685df2ef2a335790ab49aac6c13eef
Adam Seaton [Tue, 30 Aug 2016 23:15:49 +0000 (23:15 +0000)]
Revert "Bump up the uncrypt timeout to 30 min." Creates Null Build to test OTA failure fix. This reverts commit
8abcfed8a42a1ca517ee3c8d0448fda669ff9ded.
am:
b57e6560d0
Change-Id: Idaafcb7c835aa7b7b83bb7382900ef3d18fa551f
Jason Monk [Tue, 30 Aug 2016 23:03:16 +0000 (23:03 +0000)]
Merge "Backup system QS tiles DO NOT MERGE" into nyc-dev
am:
a845535045
Change-Id: I138faa4899fac332af6f2297c898beb187fa7483
Jason Monk [Tue, 30 Aug 2016 23:03:11 +0000 (23:03 +0000)]
Backup system QS tiles DO NOT MERGE
am:
37bd2be160 -s ours
Change-Id: Iec5455c466d2c92103666f24d1eee750061bebca
TreeHugger Robot [Tue, 30 Aug 2016 22:30:15 +0000 (22:30 +0000)]
Merge "Backup system QS tiles DO NOT MERGE" into nyc-dev
Adam Seaton [Tue, 30 Aug 2016 22:14:47 +0000 (22:14 +0000)]
Revert "Bump up the uncrypt timeout to 30 min."
Creates Null Build to test OTA failure fix.
This reverts commit
8abcfed8a42a1ca517ee3c8d0448fda669ff9ded.
Change-Id: I64474dad467ce8d8e379e0e2c47814d76ac0ee0d
smain@google.com [Tue, 30 Aug 2016 01:36:50 +0000 (18:36 -0700)]
replace the N Preview landing page with the redirect to the package index
also update version metadata (no longer preview, now 7.0)
Change-Id: I84af003daa9bae3bc932c8b87921ed82f813e1cf
Jason Monk [Tue, 30 Aug 2016 20:33:48 +0000 (16:33 -0400)]
Fix QS CTS failure caused by tile backup
The CTS tests weren't receiving the onTileAdded callbacks since the
shade was not in the listening state when tiles were added. This is
not possible for users (since tiles are added while the UI is
listening), but add a flushMessagesAndUnbind call to make sure the
tiles always receive onTileAdded.
Since now flushMessagesAndUnbind can be called before a real call
to setBindService(true), add a clause that will clear out its
immediate unbind state.
Change-Id: Idd13c432a4af5741813da9a9b1b292a47fd9443b
Fixes:
31147742
Pankaj Kanwar [Tue, 30 Aug 2016 20:11:06 +0000 (20:11 +0000)]
Merge changes Iccb6d089,I9c50a59f into nyc-dr1-dev
* changes:
Network switch notifications: rate & daily limits
Network Switching Notifications: add unit tests
Makoto Onuki [Tue, 30 Aug 2016 19:54:55 +0000 (19:54 +0000)]
Merge "Backport shortcut manager test utilities to DR" into nyc-dr1-dev
Jason Monk [Thu, 25 Aug 2016 19:57:14 +0000 (15:57 -0400)]
Backup system QS tiles DO NOT MERGE
Add QS tiles to the backup list. Non-system tiles will get removed
since they won't be installed when restore happens.
Change-Id: Iccf6e773384c45bd4d1f10c21aa8af356b3920d2
Bug:
28782938
Mark Goldstein [Tue, 30 Aug 2016 18:39:27 +0000 (18:39 +0000)]
Merge "docs: Fix broken camera example" into nyc-dev
am:
36f4638fe7
Change-Id: Id8a885af6c0f9887e6aaa82f662c264c86ba9791
Mark Goldstein [Tue, 30 Aug 2016 18:39:24 +0000 (18:39 +0000)]
docs: Fix broken camera example
am:
3f97bc25d4
Change-Id: I80f79eab0f11185f671bad1b57766f6fcf874464
Mark Goldstein [Tue, 30 Aug 2016 18:34:21 +0000 (18:34 +0000)]
Merge "docs: Fix broken camera example" into nyc-dev
Scott Main [Tue, 30 Aug 2016 18:14:17 +0000 (18:14 +0000)]
Merge "add a notice that Work profiles are not compatible with Instant Run Also includes the redirect for links from the Studio UI bug:
31098748" into nyc-dev
am:
4d1f3047e3
Change-Id: Ia0ba032f2035d2fcd326c658e348cf2d0fbdeed9
smain@google.com [Tue, 30 Aug 2016 18:14:12 +0000 (18:14 +0000)]
add a notice that Work profiles are not compatible with Instant Run Also includes the redirect for links from the Studio UI bug:
31098748
am:
99e44c903c
Change-Id: I6f407f90b8e53849a6d1c0ed70adb1ca8c90234f
Scott Main [Tue, 30 Aug 2016 18:09:03 +0000 (18:09 +0000)]
Merge "add a notice that Work profiles are not compatible with Instant Run Also includes the redirect for links from the Studio UI bug:
31098748" into nyc-dev
Raph Levien [Tue, 30 Aug 2016 17:33:35 +0000 (17:33 +0000)]
Merge "Enforce consistent sizes for arrays in SpannableStringInternal" into nyc-dev
am:
5d628b1e45
Change-Id: I4a2b24becdda847b7cf301d7224c218a1fab7dc7
Raph Levien [Tue, 30 Aug 2016 17:33:33 +0000 (17:33 +0000)]
Enforce consistent sizes for arrays in SpannableStringInternal
am:
9cde7244b6
Change-Id: I461863c5a4dad8f050b14f55d14020ab1a0874f7
Raph Levien [Tue, 30 Aug 2016 17:25:55 +0000 (17:25 +0000)]
Merge "Enforce consistent sizes for arrays in SpannableStringInternal" into nyc-dev
Lorenzo Colitti [Mon, 29 Aug 2016 05:03:11 +0000 (14:03 +0900)]
Network switch notifications: rate & daily limits
This patch adds a daily limit to the maximum number of notifications
shown when switching networks.
It also adds a rate limit to prevent rapid successive notifications in
flapping scenarios.
Bug:
31132499
Change-Id: Iccb6d0899646ea6df3cfad32a421922263e0eb85
Hugo Benichi [Tue, 30 Aug 2016 01:01:15 +0000 (10:01 +0900)]
Network Switching Notifications: add unit tests
BUG:
31132499
Change-Id: I9c50a59fe48efdcb51d2517f0a756691700c3ebe
TreeHugger Robot [Tue, 30 Aug 2016 10:46:30 +0000 (10:46 +0000)]
Merge "Don't notify on network switch if source network is validated." into nyc-dr1-dev
Paul Jensen [Tue, 30 Aug 2016 05:44:34 +0000 (05:44 +0000)]
Merge "Sanity check ICMP6 router advertisement packets" into nyc-dev
am:
b9d4f91630
Change-Id: Ibea7e0328b1f7c74bf2edcc054cad2a54def905b
Paul Jensen [Tue, 30 Aug 2016 05:42:04 +0000 (05:42 +0000)]
Sanity check ICMP6 router advertisement packets
am:
a36213867a -s ours
Change-Id: I8371809758391158effb378fae4b6fc9aaca553c
TreeHugger Robot [Tue, 30 Aug 2016 05:20:10 +0000 (05:20 +0000)]
Merge "Sanity check ICMP6 router advertisement packets" into nyc-dev
Paul Jensen [Wed, 20 Jul 2016 19:01:17 +0000 (15:01 -0400)]
Sanity check ICMP6 router advertisement packets
There is a chance a packet can slip by before we install the filter
on our socket listening for RAs, so add some basic sanity checking
to make sure we've recieved an RA.
Change-Id: I14cf84a0814896a41e00f50af376dfc4988d36cb
Fixes:
29586253
Todd Kennedy [Tue, 30 Aug 2016 01:48:47 +0000 (01:48 +0000)]
Merge "update shared libraries for system apps" into nyc-dev
am:
689c92db9d
Change-Id: Iea85964ca4ee5557599858572864b51ea7dd53f3
Todd Kennedy [Tue, 30 Aug 2016 01:48:45 +0000 (01:48 +0000)]
update shared libraries for system apps
am:
85a91def5c
Change-Id: Iea6f0e3809bc5e4c77a1d5d83be67d6c285bea65
TreeHugger Robot [Tue, 30 Aug 2016 01:44:29 +0000 (01:44 +0000)]
Merge "update shared libraries for system apps" into nyc-dev
John Reck [Mon, 29 Aug 2016 23:41:44 +0000 (23:41 +0000)]
Merge "Cherry pick TextureView fixes" into nyc-dev
am:
8eaa65b867
Change-Id: Iaf8ab16f6a1421ff6a19bf81a54b82111f6747f4
Chris Craik [Mon, 29 Aug 2016 23:41:42 +0000 (23:41 +0000)]
Cherry pick TextureView fixes
am:
2e8a8a2432
Change-Id: I1ae3cdc7181e9bef40e38204ede002de973dee98
John Reck [Mon, 29 Aug 2016 23:33:55 +0000 (23:33 +0000)]
Merge "Cherry pick TextureView fixes" into nyc-dev
Mark Goldstein [Fri, 26 Aug 2016 18:29:25 +0000 (11:29 -0700)]
docs: Fix broken camera example
Removed bad out of date instructions and link to better
training pages instead.
Bug:
15562334
Change-Id: I77fe558e665de509eb11a2c668ba7bdcdbab3c6f
Todd Kennedy [Thu, 28 Jul 2016 20:28:16 +0000 (13:28 -0700)]
update shared libraries for system apps
After removing updates for a system package, we weren't updating its
shared libraries when we should have. Make it so.
NOTE: This didn't affect device boot because we update all of the
shared libraries for all system applications after scanning packages.
Bug:
30266503
Change-Id: I8edf4344228fb3e793e7648ea70a041cb5db6af6
(cherry picked from commit
6058df65e645a81bdc7285dcd9f8b12b9f5b534f)
Yohei Yukawa [Mon, 29 Aug 2016 22:49:24 +0000 (22:49 +0000)]
Merge "Make sure IME focus is synced to View focus" into nyc-dev
am:
b7efddfc41
Change-Id: I6a5c98b87dffb4cd3db5e434743b463142a50e1d
Yohei Yukawa [Mon, 29 Aug 2016 22:45:50 +0000 (22:45 +0000)]
Make sure IME focus is synced to View focus
am:
8eb07090a4 -s ours
Change-Id: I32b177a7ea77566ed7b2f1808398b70c64bb756d
TreeHugger Robot [Mon, 29 Aug 2016 22:35:21 +0000 (22:35 +0000)]
Merge "Make sure IME focus is synced to View focus" into nyc-dev
Chet Haase [Mon, 29 Aug 2016 22:31:37 +0000 (22:31 +0000)]
Merge "ChooserActivity: Cannot start app that the icon overflows the layout" into nyc-dev
am:
59fb472858
Change-Id: I68cef7811c79e264c685fcaae30b501d29789af5
Yuichi Biwa [Mon, 29 Aug 2016 22:31:33 +0000 (22:31 +0000)]
ChooserActivity: Cannot start app that the icon overflows the layout
am:
cb3e1237b5
Change-Id: I93bb2ff3a13f31f6ce6d2ab7161eba3f1be17999
Chet Haase [Mon, 29 Aug 2016 22:31:28 +0000 (22:31 +0000)]
Merge "Set up view state before attaching, jump drawables if needed" into nyc-dev
am:
22e006214c
Change-Id: Ib19c9f7c09574796d8446f2195323d78aa6b8811
Alan Viverette [Mon, 29 Aug 2016 22:31:24 +0000 (22:31 +0000)]
Set up view state before attaching, jump drawables if needed
am:
c328f042a6 -s ours
Change-Id: If8eeea4957a19389c9fea47bd0b31dbcc5d51b21
Chet Haase [Mon, 29 Aug 2016 22:31:20 +0000 (22:31 +0000)]
Merge "Force AlertDialogLayout to have gravity start|top" into nyc-dev
am:
a1bbb76806
Change-Id: I1f1d1efab0844204df403fdc7619b6c6d8b1fb77
Adam Powell [Mon, 29 Aug 2016 22:31:16 +0000 (22:31 +0000)]
Force AlertDialogLayout to have gravity start|top
am:
00c4f7ba65
Change-Id: If329f03f0475cb0b65ed62d97ee97285f8d24038
Chet Haase [Mon, 29 Aug 2016 22:31:09 +0000 (22:31 +0000)]
Merge "FloatingActionMode: Fix screen coordinates." into nyc-dev
am:
c80a4d7ae3
Change-Id: I39589f091b9f34581f20323e721a3d1ab2887c32
Abodunrinwa Toki [Mon, 29 Aug 2016 22:31:04 +0000 (22:31 +0000)]
FloatingActionMode: Fix screen coordinates.
am:
99c340cad9
Change-Id: If69592a88c5296d1321a08d78231492efaac6645
Chet Haase [Mon, 29 Aug 2016 22:13:09 +0000 (22:13 +0000)]
Merge "ChooserActivity: Cannot start app that the icon overflows the layout" into nyc-dev
Chet Haase [Mon, 29 Aug 2016 22:12:07 +0000 (22:12 +0000)]
Merge "Set up view state before attaching, jump drawables if needed" into nyc-dev
Chet Haase [Mon, 29 Aug 2016 22:11:25 +0000 (22:11 +0000)]
Merge "Force AlertDialogLayout to have gravity start|top" into nyc-dev
Chet Haase [Mon, 29 Aug 2016 22:11:07 +0000 (22:11 +0000)]
Merge "FloatingActionMode: Fix screen coordinates." into nyc-dev
Christopher Tate [Mon, 29 Aug 2016 21:55:38 +0000 (21:55 +0000)]
Merge "Eliminate next-alarm-clock broadcast flapping" into nyc-dev
am:
2bbfe98062
Change-Id: I05c5b636f7edec76ab85c4e9b9d248c41acb4157
Christopher Tate [Mon, 29 Aug 2016 21:55:30 +0000 (21:55 +0000)]
Eliminate next-alarm-clock broadcast flapping
am:
c60da1edc1
Change-Id: Id45dadd7ccebf91435e197f86f5fba71127c0986
TreeHugger Robot [Mon, 29 Aug 2016 21:47:02 +0000 (21:47 +0000)]
Merge "Eliminate next-alarm-clock broadcast flapping" into nyc-dev
Pankaj Kanwar [Mon, 29 Aug 2016 21:37:39 +0000 (21:37 +0000)]
Merge "Update InCallService#onConnectionEvent comments." into nyc-dr1-dev
Chris Craik [Mon, 25 Jul 2016 22:29:59 +0000 (15:29 -0700)]
Cherry pick TextureView fixes
The following changes are in this commit:
Avoid destroying TextureView surfaces for onStop
bug:
30238922
TextureViews will hold onto their backing surfaces, which will allow
them to resume gracefully when the app's surfaces are saved.
Now only resources that are destroyed for onStop are DisplayLists.
(cherry picked from commit
391d560402c2902e0fd701f99eabd91025154201)
TextureView: destroy layer on destroyHardwareResources event
bug:
30468770
(cherry picked from commit
1c16c37d8646ed25e844af8472eede988ad0c2f0)
Fix NPE in TextureView
Bug:
30651595
(cherry picked from commit
3c2587f26eed32a8723488131d1d8940dc147ee1)
Fix NPE in TextureView
Bug:
30779663
(cherry picked from commit
7e237189c292cdb886733eb95c6069b7ac002527)
Fix maps resume being blank
Bug:
30889568
Fixes an issue where mLayer didn't have
the mSurface set on it in certain resume
scenarios.
(cherry picked from commit
03df0834e63b587dbfb8fdcd0086e3e1e72b9f9d)
Andrii Kulian [Mon, 29 Aug 2016 21:17:02 +0000 (21:17 +0000)]
Merge "DO NOT MERGE -- Fix finishing activity in non-focused stack" into nyc-dev
am:
c8417676ed
Change-Id: I74e1b45ce3eaf9edec6fb60394da3ad8a818d214
Andrii Kulian [Mon, 29 Aug 2016 21:16:59 +0000 (21:16 +0000)]
DO NOT MERGE -- Fix finishing activity in non-focused stack
am:
772c598f66
Change-Id: I890f3b460787682bbe0fdb4d8ce44364f1839dac
TreeHugger Robot [Mon, 29 Aug 2016 21:10:31 +0000 (21:10 +0000)]
Merge "DO NOT MERGE -- Fix finishing activity in non-focused stack" into nyc-dev
Christopher Tate [Wed, 3 Aug 2016 21:57:47 +0000 (14:57 -0700)]
Eliminate next-alarm-clock broadcast flapping
When multiple alarm clocks are scheduled at the same time, we would
flap among the alternatives for considering them the 'next upcoming
alarm clock', which in turn would generate [many] spurious broadcasts
about changes to the upcoming alarm situation. This is now fixed;
once we have found the soonest upcoming alarm clock, we stick with
that one until it becomes unavailable, eliminating the spurious
broadcast traffic.
Bug
29501073
Change-Id: Ice1892490bb339e05fa8bd9d324fa1c6718b4942
(cherry picked from commit
76389c00d3d3ce79e48d9e87b597707ed3e8970c)
Tao Bao [Mon, 29 Aug 2016 19:34:23 +0000 (19:34 +0000)]
Bump up the uncrypt timeout to 30 min. am:
8abcfed8a4
am:
c5a17fc39f
Change-Id: Ib637e1f00ddebbac5a3bea6ff31f08854a95b7ea
Tao Bao [Mon, 29 Aug 2016 19:26:43 +0000 (19:26 +0000)]
Bump up the uncrypt timeout to 30 min.
am:
8abcfed8a4
Change-Id: I35340614fe09f96f8c31cc53a99e366580294490
Andrii Kulian [Mon, 29 Aug 2016 18:51:55 +0000 (18:51 +0000)]
Merge "DO NOT MERGE -- Correctly finish activity in non-focused stack" into nyc-dev
am:
128a4419e9
Change-Id: I6c28db82c53af5a68c3d875ecca920b9a1364b32
Andrii Kulian [Mon, 29 Aug 2016 18:44:11 +0000 (18:44 +0000)]
DO NOT MERGE -- Correctly finish activity in non-focused stack
am:
620040db3f -s ours
Change-Id: I62703cc7f62bf42967021ce8defa30669e096ec2
Andrii Kulian [Fri, 29 Jul 2016 19:55:41 +0000 (12:55 -0700)]
DO NOT MERGE -- Fix finishing activity in non-focused stack
This CL explicitly checks if we're finishing activity in non-focused
stack as there are other cases except this one when we finish paused
activities in FINISH_AFTER_VISIBLE mode.
Bug:
29007436
Bug:
29458854
Change-Id: I67744d23cd72f2fe8861180008bfdd284a7b5e26
(cherry picked from commit
995fa2bd2d334a37e10760c21ac108f4a3595713)
Andrii Kulian [Mon, 29 Aug 2016 18:30:06 +0000 (18:30 +0000)]
Merge "DO NOT MERGE -- Correctly finish activity in non-focused stack" into nyc-dev
Jason Monk [Mon, 29 Aug 2016 18:26:00 +0000 (18:26 +0000)]
Merge "Fix double status bar icons" into nyc-dev
am:
2b4e612b10
Change-Id: Ib0d9e51d289215d96525b68d0432b959e9b58f2f
Jason Monk [Mon, 29 Aug 2016 18:25:57 +0000 (18:25 +0000)]
Fix double status bar icons
am:
12124d7eca
Change-Id: Ief00496f19d2e249129023a03cd9f53d76fa7bf8
Selim Cinek [Mon, 29 Aug 2016 18:25:54 +0000 (18:25 +0000)]
Merge "Fixed a bug where notifications could reappear" into nyc-dev
am:
4226dcef1e
Change-Id: I7c3c46bf360899387a0d2d33d4beb83a3b096aa0
Selim Cinek [Mon, 29 Aug 2016 18:25:51 +0000 (18:25 +0000)]
Fixed a bug where notifications could reappear
am:
f3b64692a3
Change-Id: I19719fc6112e82d9600b4196570f571f87291530
Selim Cinek [Mon, 29 Aug 2016 18:25:47 +0000 (18:25 +0000)]
Fixed a bug where the headsup would be stuck disappearing
am:
a4155bb7c0
Change-Id: Ic82cbac42cf17427ca5d6675a63d6f914a87f6cb
Yohei Yukawa [Fri, 5 Aug 2016 22:38:55 +0000 (15:38 -0700)]
Make sure IME focus is synced to View focus
This CL fixes an edge case that my previous CL [1] forgot to handle.
The goal of my previous CL was to avoid InputMethodManager from getting
confused by a false focus-in event from temporarily detached Views.
However, my CL forgot to take care of the case where the temporarily
detached View is still focused even after the temporary detach mode is
done.
The bad news is that such a situation is relatively easy to trigger by
having a ListView that has EditText as follows, which seems to be
known to be a common technique in Android developer community to put an
EditText in a ListView.
ListView#listView.addHeaderView(new EditText(context), null, true);
If the ListView is initialized as above, and the EditText has input
focus, View focus and IME focus start to disagree immediatelly after the
ListView's layout is re-evaluated. This is really easy to trigger, for
example just by dismissing the IME window.
In summary, the root cause is that InputMethodManager#focusIn(View) is
now always ignored as long as the View is temporarily detached, under an
assumption that IMM#focusIn(View) will be called back again with a View
that is not temporarily detached when everything is stable. Hence the
fix is to do so by hooking up View#dispatchFinishTemporaryDetach() to
call IMM#focusIn(View) again when the View is actually focused in the
final state.
[1]: Ia79bbd8468f768d546354382b47b39dd31ef7bb5
a4ed0cfcb6885beeb52f701bfc64c393b668f7ba
Bug:
30022872
Bug:
30578745
Bug:
30706985
Change-Id: Iecbdb00dcef8c72e4f7b31035c9bf0f4a40a578f
(cherry picked from commit
dd228fbb4d2cb3d178ed7f1889343bfe177aafa2)
Vineeta Srivastava [Mon, 29 Aug 2016 18:18:13 +0000 (18:18 +0000)]
Merge "whitelist sms code for TMO-DE and TMO-MK." into nyc-dr1-dev
Jason Monk [Mon, 29 Aug 2016 18:00:00 +0000 (18:00 +0000)]
Merge "Fix double status bar icons" into nyc-dev
TreeHugger Robot [Mon, 29 Aug 2016 17:58:28 +0000 (17:58 +0000)]
Merge "Fixed a bug where notifications could reappear" into nyc-dev
Jason Monk [Tue, 26 Jul 2016 17:04:50 +0000 (13:04 -0400)]
Fix double status bar icons
Don't allow the status bar icon slot list to be changed because
it confuses the relationship between StatusBarIconList and
StatusBarIconController. Set it in the constructor to enforce
this.
Change-Id: Ieeea0a9efad88179d1cccc0e5702899333de2e72
Fixes:
28524184
(cherry picked from commit
c6fe61c59c5a3a6ae691256c9afdde3820e3dd9e)
Lorenzo Colitti [Mon, 29 Aug 2016 05:03:11 +0000 (14:03 +0900)]
Don't notify on network switch if source network is validated.
Sometimes we switch away from a network to another (e.g., wifi to
cell data) not because the old network is unvalidated, but
because the score is lowered by a low signal strength.
In this case, don't notify the user of a network switch.
Bug:
31132499
Change-Id: I996a6e00096f8cb864fa9b00b36921725a4edb53
Felipe Leme [Wed, 10 Aug 2016 20:00:32 +0000 (13:00 -0700)]
Removed screen on/off callbacks from NPMS.
NetworkPolicyManagerService (NPMS) used to depend on screen on/off
changes to determine if a foreground activity should have network
restrictions, but such check is now redundant since ActivityManager
already changes the proper UID state (like going from TOP to
TOP_SLEEPING) when the screen status is changed.
Removing such code decreases the NPMS lock contention when the screen is
turned on in about 3-5ms.
Change-Id: I2853443efedbf14961ae9a5b2e72689d4d1a646c
BUG:
30785671
(cherry picked from commit
88f40ad9a721ee30708be82f66fb58c64f1d36b5)
(cherry picked from commit
f8dd7b4e8d548274c680644a2225951b97e94a4f)
Adam Powell [Thu, 28 Jul 2016 23:30:10 +0000 (16:30 -0700)]
Force AlertDialogLayout to have gravity start|top
AlertDialogLayout overrides LinearLayout#onMeasure but not onLayout,
meaning that some state initialized for the handling of gravity may
not be valid in LinearLayout#onLayout. As this is an internal class
never used directly by apps, explicitly specify the default gravity of
start|top in @layout/alert_dialog_material to avoid this bug. Apps
that do things like set gravity in their theme (for whatever reason)
could otherwise change its behavior.
Bug
30494039
Change-Id: I71a8be1829a7fe24cf7714a3bd5ed732f85eb887
(cherry picked from commit
39e0bf23f50a3de112b232321c5e0a1013af70c7)
Tao Bao [Sat, 27 Aug 2016 03:52:41 +0000 (20:52 -0700)]
Bump up the uncrypt timeout to 30 min.
Bug:
30490464
Change-Id: I9b65afb10134d79b2f5b5275a6d81065a04e91b9
Yuichi Biwa [Mon, 30 Nov 2015 05:43:34 +0000 (14:43 +0900)]
ChooserActivity: Cannot start app that the icon overflows the layout
Symptom:
When sharing an image from Album, ChooserActivity can be shown.
But then the app to be located to the bottom part of the list may not
be started even if user tap it.
Root cause:
ChooserActivity uses ResolverDrawerLayout. And ResolverDrawerLayout
can display only some items on the list (known as "Collapse mode").
When the item clipping along the bottom edge is tapped by the user,
ResolverDrawerLayout tries to expand the list and scroll it to a
better position, instead of starting an application.
In this problem case, ResolverDrawerLayout continues to try to expand
the list whenever tapping, so an application will never start.
Solution:
Change a condition so that mOpenOnClick becomes true only when the list
has been collapsed (mCollapseOffset > 0).
Bug:
30153542
Change-Id: I576fb6c8b6a91d79c1e0d46d069146779f4dbd17
(cherry picked from commit
4f3a843ea9b6ffe2e29e6625ffb3d87fbf143623)
Abodunrinwa Toki [Fri, 15 Jul 2016 13:40:26 +0000 (14:40 +0100)]
FloatingActionMode: Fix screen coordinates.
Use application context to get the screen's display metrics.
Bug:
30127070
Change-Id: I2c453c494ef210c12d89fc7e3ff026728f9ecb0f
(cherry picked from commit
afb38c5cc4226ce82367015f4ce52765018226d6)
Alan Viverette [Thu, 7 Jul 2016 20:39:27 +0000 (16:39 -0400)]
Set up view state before attaching, jump drawables if needed
View attachment calls jumpDrawablesToCurrentState(), so the view state
needs to be set up prior to attachment. For views that are already
attached but are being moved to a new position, manually jump.
Cleans up comments in methods that were modified.
Bug:
29978498
Change-Id: Ica27b2c60ad7ee98b9d1e4912c4f8b8c248af88d
(cherry picked from commit
26489e1688633ee270ff1469d0df38c90bbdf674)
Daniel Chapin [Sat, 27 Aug 2016 01:14:33 +0000 (01:14 +0000)]
Merge "Fixes for ImageView drawable visibility dispatch" into nyc-dr1-dev
Selim Cinek [Wed, 20 Jul 2016 20:46:49 +0000 (13:46 -0700)]
Fixed a bug where notifications could reappear
With sensitive notifications a user could get into
a situation where the groupsummary would not be cleared
because its dismissability was never updated and based
on the visibility of the veto button. This is now corrected.
This Cl also cleans up the veto button handling overall and
ensures that there's no stale state arond it.
Change-Id: Ic7df8d382146d7863ee551c1daa8ba5ed384c7b5
Fixes:
30056258
(cherry picked from commit
9e624e732aa5646c83d203587be9c2c4e94c9266)
Selim Cinek [Wed, 13 Jul 2016 21:34:56 +0000 (14:34 -0700)]
Fixed a bug where the headsup would be stuck disappearing
Change-Id: I56d6be69f6e59c1bec647e7e70e50a36b793f895
Fixes:
30120962
Raph Levien [Mon, 25 Jul 2016 17:05:35 +0000 (10:05 -0700)]
Enforce consistent sizes for arrays in SpannableStringInternal
The grow logic in SpannableStringInternal#setSpan assumes that the
size of mSpanData is consistent with that of mSpans, in particular
that if the latter doesn't need to grow, neither does the former.
The copySpans() method didn't enforce this, creating an mSpanData
array only big enough to hold the data.
This patch documents the invariant in a comment and enforces it.
Bug:
30359314
Change-Id: Ie25db70a76836e97af8476a7f5c10cb4b976c1cf
(cherry picked from commit
83549088c643586aa6013d947ad2c21464a3878e)
smain@google.com [Fri, 26 Aug 2016 23:25:24 +0000 (16:25 -0700)]
add a notice that Work profiles are not compatible with Instant Run
Also includes the redirect for links from the Studio UI
bug:
31098748
Change-Id: Ief7296e512ccf387d738426026413dfe19785ff7
Chong Zhang [Fri, 26 Aug 2016 23:22:08 +0000 (23:22 +0000)]
Merge "DO NOT MERGE -- Only use saved surface if started by launcher or moved to front" into nyc-dr1-dev
Andrii Kulian [Thu, 21 Jul 2016 01:59:28 +0000 (18:59 -0700)]
DO NOT MERGE -- Correctly finish activity in non-focused stack
When activity is finished we first looked for next activity to
show in focused stack. If real next activity to show in place
of finishing one is in the same non-focused stack, we didn't
fully complete the dismissal process and activity was stuck in
FINISHING state.
This CL checks if we're trying to finish visible activity in
paused state and destroy it immediately if top running activity
is visible - same as we do for pinned activities.
Bug:
29458854
Change-Id: I0d5ceb2daa45c0628d89417c8456e132996bcea9
(cherry picked from commit
7318d63ba6dbb3042907d10d5369fcd5ac444d67)
Adam Powell [Thu, 25 Aug 2016 00:09:01 +0000 (17:09 -0700)]
Fixes for ImageView drawable visibility dispatch
Some apps rely on their drawables not getting not-visible hints via
setVisible when the window visibility changes. This manifests as
additional animations, such as crossfading from placeholders when the
window becomes visible again.
Apps should be able to handle this case in the future now that we have
more detailed reporting via onVisibilityAggregated, but to keep
existing apps working as-is, ImageView now operates in a compatibility
mode for targetSdkVersion < N and will only dispatch visibility
signals based on the same triggers used in M. New apps get the more
detailed signals.
Fix a bug where window visibility dispatch via onVisibilityAggregated
would double-dispatch "not visible" when the window is transitioning
from GONE => INVISIBLE or INVISIBLE => GONE.
Make the growing set of compatibility check fields in ImageView
static, matching the pattern from View.
Bug
30216207
Change-Id: I88875260bf6aaa23687c7d51353de8d633383531
Chong Zhang [Thu, 25 Aug 2016 19:12:33 +0000 (12:12 -0700)]
DO NOT MERGE -- Only use saved surface if started by launcher or moved to front
Restrict saved surface to launcher start (ACTION_MAIN&CATEGORY_
LAUNCHER), or there is no intent at all (eg. task being brought to
front). If the intent is something else, likely the app is going
to show some specific page or view, instead of what's left last time.
This solves problems like the launcher shortcuts on DeckClock,
each of them is a different intent and will show one specific
view regardless of last states. Another example is Chrome tab
opened directly by action VIEW to open some URL.
(Note that this doesn't solve the problem with Chrome homescreen
shortcuts, it will still start with saved surface (if Chrome
is already open). This is because the shortcut is a trampoline
activity that starts the real chrome tab activity, but when
the trampoline is started, the whole task is already brought
to front, and ChromeTab could become visible with the task
before we actually start it.)
bug:
31055479
bug:
27747315
Change-Id: Id3e61c61ef516b0edc1f174320f02661222f226b
(cherry picked from commit
ad24f96def42016049de05220593aa049b136def)
Vineeta Srivastava [Fri, 26 Aug 2016 21:10:54 +0000 (14:10 -0700)]
whitelist sms code for TMO-DE and TMO-MK.
For Germany (T-D) 73240 and 3011 is added to whitelist
For Macedonia (TMMK) 129005 and 122 added to whitelist
Bug:
30908153
Change-Id: I892a172994de62d90df313e9f7aaa17356092448
Dirk Dougherty [Fri, 26 Aug 2016 16:25:46 +0000 (16:25 +0000)]
Merge "Fetch ga script over https to avoid mixed content." into nyc-dev
am:
c2b9d55818
Change-Id: I921f581b8d418cc43d3ad50feaec8ddf233af945
Dirk Dougherty [Fri, 26 Aug 2016 16:25:43 +0000 (16:25 +0000)]
Fetch ga script over https to avoid mixed content.
am:
b5760c1fe7
Change-Id: I9cd19eac7a89c2ab5b5f1fd11a98bcdc7b7850ab
Dirk Dougherty [Fri, 26 Aug 2016 16:22:05 +0000 (16:22 +0000)]
Merge "Fetch ga script over https to avoid mixed content." into nyc-dev
Jason Monk [Fri, 26 Aug 2016 13:18:52 +0000 (13:18 +0000)]
Merge "Backup system QS tiles" into nyc-dr1-dev
Jason Monk [Thu, 25 Aug 2016 19:57:14 +0000 (15:57 -0400)]
Backup system QS tiles
Add QS tiles to the backup list. Non-system tiles will get removed
since they won't be installed when restore happens.
Change-Id: Iccf6e773384c45bd4d1f10c21aa8af356b3920d2
Bug:
28782938
Mark Lu [Fri, 26 Aug 2016 00:54:02 +0000 (00:54 +0000)]
Merge "docs: Fix typo and broken link in AsyncTask.java" into nyc-dev
am:
314d995ca1
Change-Id: Idf4e30a184c086f360db24b2360cef758e2ea36d